← Vulnerability feed

Vulnerability record · CVE-2009-0159 · published 14 April 2009

CVE-2009-0159: Ntp memory buffer overflow vulnerability

Ntp · Ntp

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.

6.8 CVSS 2.0 Medium EPSS 13% · top 3.7% CWE-119 · Memory buffer overflow
6.8CVSS 2.0 base score
13%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
92References
16 Jun 2026Last modified by NVD

Description

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.

AV:N/AC:M/Au:N/C:P/I:P/A:P

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
ftp://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2009-006.txt.asc
http://bugs.pardus.org.tr/show_bug.cgi?id=9532
http://lists.apple.com/archives/security-announce/2009/May/msg00002.html
http://lists.opensuse.org/opensuse-security-announce/2009-06/msg00003.html
http://marc.info/?l=bugtraq&m=136482797910018&w=2
http://ntp.bkbits.net:8080/ntp-stable/?PAGE=gnupatch&REV=1.1565
http://osvdb.org/53593
http://rhn.redhat.com/errata/RHSA-2009-1039.html
http://rhn.redhat.com/errata/RHSA-2009-1040.html
http://secunia.com/advisories/34608 Vendor Advisory
http://secunia.com/advisories/35074 Vendor Advisory
http://secunia.com/advisories/35137 Vendor Advisory
http://secunia.com/advisories/35138 Vendor Advisory
http://secunia.com/advisories/35166 Vendor Advisory
http://secunia.com/advisories/35169 Vendor Advisory
http://secunia.com/advisories/35253 Vendor Advisory
http://secunia.com/advisories/35308 Vendor Advisory
http://secunia.com/advisories/35336 Vendor Advisory
http://secunia.com/advisories/35416 Vendor Advisory
http://secunia.com/advisories/35630 Vendor Advisory
http://secunia.com/advisories/37471 Vendor Advisory
http://slackware.com/security/viewer.php?l=slackware-security&y=2009&m=slackware-security.566238
http://support.apple.com/kb/HT3549
http://www.debian.org/security/2009/dsa-1801
http://www.gentoo.org/security/en/glsa/glsa-200905-08.xml
http://www.mandriva.com/security/advisories?name=MDVSA-2009:092
http://www.securityfocus.com/archive/1/507985/100/0/threaded
http://www.securityfocus.com/bid/34481 Patch
http://www.securitytracker.com/id?1022033
http://www.us-cert.gov/cas/techalerts/TA09-133A.html US Government Resource
http://www.vmware.com/security/advisories/VMSA-2009-0016.html
http://www.vupen.com/english/advisories/2009/0999 Vendor Advisory
http://www.vupen.com/english/advisories/2009/1297 Vendor Advisory
http://www.vupen.com/english/advisories/2009/3316 Vendor Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=490617
https://exchange.xforce.ibmcloud.com/vulnerabilities/49838
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A19392
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5411
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A8386
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A8665

Track CVE-2009-0159 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2018-12327Ntp out-of-bounds write vulnerabilityStack-based buffer overflow in ntpq and ntpdc of NTP version 4.2.8p11 allows an attacker to achieve code execution or escalate to higher privileges v…EPSS 28%9.8CVE-2018-7183Ntp out-of-bounds write vulnerabilityBuffer overflow in the decodearr function in ntpq in ntp 4.2.8p6 through 4.2.8p10 allows remote attackers to execute arbitrary code by leveraging an …EPSS 10%9.8CVE-2015-7705Ntp improper input validation vulnerabilityThe rate limiting feature in NTP 4.x before 4.2.8p4 and 4.3.x before 4.3.77 allows remote attackers to have unspecified impact via a large number of …EPSS 12%9.8CVE-2015-7853Ntp classic buffer overflow vulnerabilityThe datalen parameter in the refclock driver in NTP 4.2.x before 4.2.8p4, and 4.3.x before 4.3.77 allows remote attackers to execute arbitrary code o…EPSS 12%9.8CVE-2015-7871ntpd Crypto-NAK packets bypass authenticationntpd in NTP 4.2.x before 4.2.8p4 and 4.3.x before 4.3.77 mishandles Crypto-NAK packets, allowing remote attackers to bypass authentication. Because N…EPSS 82%analysed8.8CVE-2015-7849Ntp use after free vulnerabilityUse-after-free vulnerability in ntpd in NTP 4.2.x before 4.2.8p4, and 4.3.x before 4.3.77 allows remote authenticated users to possibly execute arbit…EPSS 17%8.8CVE-2015-7854Ntp classic buffer overflow vulnerabilityBuffer overflow in the password management functionality in NTP 4.2.x before 4.2.8p4, and 4.3.x before 4.3.77 allows remote authenticated users to ca…EPSS 15%8.8CVE-2017-6458Ntp memory buffer overflow vulnerabilityMultiple buffer overflows in the ctl_put* functions in NTP before 4.2.8p10 and 4.3.x before 4.3.94 allow remote authenticated users to have unspecifi…EPSS 6.5%

Source: NIST National Vulnerability Database (record CVE-2009-0159), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.