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.el3fixed: vendor fix RHSA-2009:1651
-
Red Hat Enterprise Linux (v. 5 server) ntp 4.2.2p1-9.el5_3.2fixed: vendor fix RHSA-2009:1039
-
Red Hat Enterprise Linux AS EUS (v. 4.7) ntp 4.2.0.a.20040617-8.el4_7.2fixed: vendor fix RHSA-2009:1040
-
Red Hat Enterprise Linux AS version 3 ntp 4.1.2-6.el3fixed: vendor fix RHSA-2009:1651
-
Red Hat Enterprise Linux AS version 4 ntp 4.2.0.a.20040617-8.el4_7.2fixed: vendor fix RHSA-2009:1040
-
Red Hat Enterprise Linux Desktop (v. 5 client) ntp 4.2.2p1-9.el5_3.2fixed: 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.2fixed: vendor fix RHSA-2009:1040
-
Red Hat Enterprise Linux ES version 3 ntp 4.1.2-6.el3fixed: vendor fix RHSA-2009:1651
show 3 moreshow fewer
-
Red Hat Enterprise Linux ES version 4 ntp 4.2.0.a.20040617-8.el4_7.2fixed: vendor fix RHSA-2009:1040
-
Red Hat Enterprise Linux WS version 3 ntp 4.1.2-6.el3fixed: vendor fix RHSA-2009:1651
-
Red Hat Enterprise Linux WS version 4 ntp 4.2.0.a.20040617-8.el4_7.2fixed: 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
-
securityfocus.com
/bid/34481
vdb-entry, patch
-
support.ntp.org
/bugs/show_bug.cgi?id=1144
patch
-
usn.ubuntu.com
/777-1/
vendor-advisory
-
debian.org
/security/2009/dsa-1801
vendor-advisory
-
redhat.com
/archives/fedora-package-announce/2009-May/msg01449.html
vendor-advisory
-
lists.apple.com
/archives/security-announce/2009/May/msg00002.html
vendor-advisory
-
slackware.com
/security/viewer.php?l=slackware-security&y=2009&m=slackware-security.566238
vendor-advisory
-
marc.info
/?l=bugtraq&m=136482797910018&w=2
vendor-advisory
-
redhat.com
/archives/fedora-package-announce/2009-May/msg01414.html
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2009-06/msg00003.html
vendor-advisory
-
rhn.redhat.com
/errata/RHSA-2009-1651.html
vendor-advisory
-
rhn.redhat.com
/errata/RHSA-2009-1040.html
vendor-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2009:092
vendor-advisory
-
rhn.redhat.com
/errata/RHSA-2009-1039.html
vendor-advisory
-
gentoo.org
/security/en/glsa/glsa-200905-08.xml
vendor-advisory
-
secunia.com
/advisories/35137
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/34608
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/35166
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/37471
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/35308
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/35253
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/35074
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/35138
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/35630
third-party-advisory, vendor-advisory
-
vupen.com
/english/advisories/2009/1297
vdb-entry, vendor-advisory
-
secunia.com
/advisories/35416
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/35169
vendor-advisory
-
secunia.com
/advisories/35336
vendor-advisory
-
vupen.com
/english/advisories/2009/0999
vendor-advisory
-
vupen.com
/english/advisories/2009/3316
vendor-advisory
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9634
vdb-entry, signature
- bugzilla.redhat.com /show_bug.cgi?id=490617
- support.apple.com /kb/HT3549
- bugs.pardus.org.tr /show_bug.cgi?id=9532
- vmware.com /security/advisories/VMSA-2009-0016.html
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A8386
vdb-entry, signature
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A19392
vdb-entry, signature
-
securityfocus.com
/archive/1/507985/100/0/threaded
mailing-list
-
exchange.xforce.ibmcloud.com
/vulnerabilities/49838
vdb-entry
-
osvdb.org
/53593
vdb-entry
-
securitytracker.com
/id?1022033
vdb-entry
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A8665
vdb-entry, signature
-
us-cert.gov
/cas/techalerts/TA09-133A.html
third-party-advisory, us-government-resource
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5411
vdb-entry, signature
- ntp.bkbits.net /ntp-stable/?PAGE=gnupatch&REV=1.1565
Sources
- CVE List CVE-2009-0159
- NVD CVE-2009-0159
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.