Skip to content
Fencer Vulns
medium 6.8

CVE-2009-0159 json

Stack-based buffer overflow in the cookedprint function in ntpq/ntpq.c in ntpq in NTP before 4.2.4p7-RC2 allows remote NTP servers to execu…

published 2009-04-14 17 y ago modified 2026-06-16 4 mo ago also EUVD-2009-0168

cvss
6.8
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
13.2%
EPSS 13.2% chance of exploitation in 30 days, percentile 96%
public exploits
0
none known

Summary

Stack-based buffer overflow in the cookedprint function in ntpq/ntpq.c in ntpq in NTP before 4.2.4p7-RC2 allows remote NTP servers to execute arbitrary code via a crafted response.

Patch / fix

  • ntp Debian 11 1:4.2.4p6+dfsg-2

debian advisories DEBIAN-CVE-2009-0159

  • ntp RHEL 3 4.1.2-6.el3
  • ntp RHEL 4.7 EUS, RHEL 4 4.2.0.a.20040617-8.el4_7.2
  • ntp RHEL 5 4.2.2p1-9.el5_3.2

red hat advisories RHSA-2009:1651RHSA-2009:1040RHSA-2009:1039

  • ntp openSUSE Tumbleweed 4.2.8p9-1.1

opensuse advisories openSUSE-SU-2024:10181-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2009-0159 updated cvss 5.1

ntp: buffer overflow in ntpq

  • Red Hat Desktop version 3 ntp 4.1.2-6.el3
    fixed: vendor fix RHSA-2009:1651
  • Red Hat Enterprise Linux (v. 5 server) ntp 4.2.2p1-9.el5_3.2
    fixed: vendor fix RHSA-2009:1039
  • Red Hat Enterprise Linux AS EUS (v. 4.7) ntp 4.2.0.a.20040617-8.el4_7.2
    fixed: vendor fix RHSA-2009:1040
  • Red Hat Enterprise Linux AS version 3 ntp 4.1.2-6.el3
    fixed: vendor fix RHSA-2009:1651
  • Red Hat Enterprise Linux AS version 4 ntp 4.2.0.a.20040617-8.el4_7.2
    fixed: vendor fix RHSA-2009:1040
  • Red Hat Enterprise Linux Desktop (v. 5 client) ntp 4.2.2p1-9.el5_3.2
    fixed: vendor fix RHSA-2009:1039
  • Red Hat Enterprise Linux Desktop version 4 ntp 4.2.0.a.20040617-8.el4_7.2 Red Hat Enterprise Linux ES EUS (v. 4.7) ntp 4.2.0.a.20040617-8.el4_7.2
    fixed: vendor fix RHSA-2009:1040
  • Red Hat Enterprise Linux ES version 3 ntp 4.1.2-6.el3
    fixed: vendor fix RHSA-2009:1651
show 3 more
  • Red Hat Enterprise Linux ES version 4 ntp 4.2.0.a.20040617-8.el4_7.2
    fixed: vendor fix RHSA-2009:1040
  • Red Hat Enterprise Linux WS version 3 ntp 4.1.2-6.el3
    fixed: vendor fix RHSA-2009:1651
  • Red Hat Enterprise Linux WS version 4 ntp 4.2.0.a.20040617-8.el4_7.2
    fixed: vendor fix RHSA-2009:1040

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

13.23% chance of exploitation in the next 30 days, higher than 96% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 2.0 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Classification

Weakness
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.