Home / Ntp / Ntp / CVE-2009-0159
CVE-2009-0159: is it exploited, and which versions of Ntp are affected and fixed?
CVE-2009-0159 is a memory corruption (buffer overflow) vulnerability in Ntp. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 09:08 UTC). Affected: ntp through 4.2.4p7, ntp 4.0.72, ntp 4.0.73 and 26 more (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (6.8, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 09:08 UTC, CVE record November 19, 2026, 07:20 UTC and NVD November 19, 2026, 08:51 UTC.
What is CVE-2009-0159?
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.
From the CVE record by mitre, last updated August 7, 2024, 04:24 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| ntp | ntp | through 4.2.4p7 | application |
| ntp | ntp | 4.0.72 | application |
| ntp | ntp | 4.0.73 | application |
| ntp | ntp | 4.0.90 | application |
| ntp | ntp | 4.0.91 | application |
| ntp | ntp | 4.0.92 | application |
| ntp | ntp | 4.0.93 | application |
| ntp | ntp | 4.0.94 | application |
| ntp | ntp | 4.0.95 | application |
| ntp | ntp | 4.0.96 | application |
| ntp | ntp | 4.0.97 | application |
| ntp | ntp | 4.0.98 | application |
| ntp | ntp | 4.0.99 | application |
| ntp | ntp | 4.1.0 | application |
| ntp | ntp | 4.1.2 | application |
| ntp | ntp | 4.2.0 | application |
| ntp | ntp | 4.2.2 | application |
| ntp | ntp | 4.2.2p1 | application |
| ntp | ntp | 4.2.2p2 | application |
| ntp | ntp | 4.2.2p3 | application |
| ntp | ntp | 4.2.2p4 | application |
| ntp | ntp | 4.2.4 | application |
| ntp | ntp | 4.2.4p0 | application |
| ntp | ntp | 4.2.4p1 | application |
| ntp | ntp | 4.2.4p2 | application |
NVD analysis (status Modified), last modified June 16, 2026, 23:04 UTC.
How severe is CVE-2009-0159?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.8 | CVSS 2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2009-0159 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 13.2% probability of exploitation activity in the next 30 days, percentile 96.5 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Where are the vendor advisories and references?
- USN-777-1 vendor-advisory, x_refsource_UBUNTU
- oval:org.mitre.oval:def:9634 vdb-entry, signature, x_refsource_OVAL
- 35137 third-party-advisory, x_refsource_SECUNIA
- 34608 third-party-advisory, x_refsource_SECUNIA
- 35166 third-party-advisory, x_refsource_SECUNIA
- https://bugzilla.redhat.com/show_bug.cgi?id=490617 x_refsource_CONFIRM
- http://support.apple.com/kb/HT3549 x_refsource_CONFIRM
- 37471 third-party-advisory, x_refsource_SECUNIA
- DSA-1801 vendor-advisory, x_refsource_DEBIAN
- FEDORA-2009-5275 vendor-advisory, x_refsource_FEDORA
- 35308 third-party-advisory, x_refsource_SECUNIA
- http://bugs.pardus.org.tr/show_bug.cgi?id=9532 x_refsource_CONFIRM
- 35253 third-party-advisory, x_refsource_SECUNIA
- http://www.vmware.com/security/advisories/VMSA-2009-0016.html x_refsource_CONFIRM
- 35074 third-party-advisory, x_refsource_SECUNIA
- 34481 vdb-entry, x_refsource_BID
- 35138 third-party-advisory, x_refsource_SECUNIA
- APPLE-SA-2009-05-12 vendor-advisory, x_refsource_APPLE
- oval:org.mitre.oval:def:8386 vdb-entry, signature, x_refsource_OVAL
- SSA:2009-154-01 vendor-advisory, x_refsource_SLACKWARE
- SSRT101144 vendor-advisory, x_refsource_HP
- FEDORA-2009-5273 vendor-advisory, x_refsource_FEDORA
- SUSE-SR:2009:011 vendor-advisory, x_refsource_SUSE
- oval:org.mitre.oval:def:19392 vdb-entry, signature, x_refsource_OVAL
- 35630 third-party-advisory, x_refsource_SECUNIA
- 20091120 VMSA-2009-0016 VMware vCenter and ESX update release and vMA patch release address multiple security issue in third party components mailing-list, x_refsource_BUGTRAQ
- ntp-cookedprint-bo(49838) vdb-entry, x_refsource_XF
- 53593 vdb-entry, x_refsource_OSVDB
- 1022033 vdb-entry, x_refsource_SECTRACK
- oval:org.mitre.oval:def:8665 vdb-entry, signature, x_refsource_OVAL
- TA09-133A third-party-advisory, x_refsource_CERT
- RHSA-2009:1651 vendor-advisory, x_refsource_REDHAT
- ADV-2009-1297 vdb-entry, x_refsource_VUPEN
- oval:org.mitre.oval:def:5411 vdb-entry, signature, x_refsource_OVAL
- RHSA-2009:1040 vendor-advisory, x_refsource_REDHAT
- MDVSA-2009:092 vendor-advisory, x_refsource_MANDRIVA
- 35416 third-party-advisory, x_refsource_SECUNIA
- https://support.ntp.org/bugs/show_bug.cgi?id=1144 x_refsource_CONFIRM
- 35336 third-party-advisory, x_refsource_SECUNIA
- NetBSD-SA2009-006 vendor-advisory, x_refsource_NETBSD
- RHSA-2009:1039 vendor-advisory, x_refsource_REDHAT
- 35169 third-party-advisory, x_refsource_SECUNIA
- GLSA-200905-08 vendor-advisory, x_refsource_GENTOO
- ADV-2009-0999 vdb-entry, x_refsource_VUPEN
- ADV-2009-3316 vdb-entry, x_refsource_VUPEN
- http://ntp.bkbits.net:8080/ntp-stable/?PAGE=gnupatch&REV=1.1565 x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- January 16, 2009
- Published
- April 14, 2009, 15:00 UTC
- CVE record updated
- August 7, 2024, 04:24 UTC by mitre
- NVD
- Modified, last modified June 16, 2026, 23:04 UTC
- Last checked
- CVE list November 19, 2026, 07:20 UTC; NVD November 19, 2026, 08:51 UTC; KEV December 3, 2026, 09:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Ntp?
- Apr 11, 2023CVE-2023-26555 Ntp: out-of-bounds write (memory corruption)
- Apr 11, 2023CVE-2023-26554 Ntp: out-of-bounds write (memory corruption)
- Apr 11, 2023CVE-2023-26553 Ntp: out-of-bounds write (memory corruption)
- Apr 11, 2023CVE-2023-26552 Ntp: out-of-bounds write (memory corruption)
- Apr 11, 2023CVE-2023-26551 Ntp: out-of-bounds write (memory corruption)
- Jun 24, 2020CVE-2020-15025 Ntp: memory leak
- Jun 4, 2020CVE-2020-13817 Ntp: weak randomness
- May 6, 2020CVE-2018-8956 Ntp: improper input validation
Questions about CVE-2009-0159
Is CVE-2009-0159 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 09:08 UTC. FIRST's EPSS gives it a 13.2% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Ntp are affected by CVE-2009-0159?
ntp through 4.2.4p7, ntp 4.0.72, ntp 4.0.73, ntp 4.0.90, ntp 4.0.91, ntp 4.0.92 and 23 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2009-0159?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2009-0159?
Medium (6.8, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2009-0159?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.