CVE-2009-0159

Summary

CVECVE-2009-0159
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2009-04-14 15:30:00 UTC
Updated2026-04-23 00:35:47 UTC
DescriptionStack-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.

Risk And Classification

Primary CVSS: v2.0 6.8 from [email protected]

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

Problem Types: CWE-119 | n/a

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Medium
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial

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

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Ntp Ntp 4.0.72 All All All
Application Ntp Ntp 4.0.73 All All All
Application Ntp Ntp 4.0.90 All All All
Application Ntp Ntp 4.0.91 All All All
Application Ntp Ntp 4.0.92 All All All
Application Ntp Ntp 4.0.93 All All All
Application Ntp Ntp 4.0.94 All All All
Application Ntp Ntp 4.0.95 All All All
Application Ntp Ntp 4.0.96 All All All
Application Ntp Ntp 4.0.97 All All All
Application Ntp Ntp 4.0.98 All All All
Application Ntp Ntp 4.0.99 All All All
Application Ntp Ntp 4.1.0 All All All
Application Ntp Ntp 4.1.2 All All All
Application Ntp Ntp 4.2.0 All All All
Application Ntp Ntp 4.2.2 All All All
Application Ntp Ntp 4.2.2p1 All All All
Application Ntp Ntp 4.2.2p2 All All All
Application Ntp Ntp 4.2.2p3 All All All
Application Ntp Ntp 4.2.2p4 All All All
Application Ntp Ntp 4.2.4 All All All
Application Ntp Ntp 4.2.4p0 All All All
Application Ntp Ntp 4.2.4p1 All All All
Application Ntp Ntp 4.2.4p2 All All All
Application Ntp Ntp 4.2.4p3 All All All
Application Ntp Ntp 4.2.4p4 All All All
Application Ntp Ntp 4.2.4p5 All All All
Application Ntp Ntp 4.2.4p6 All All All
Application Ntp Ntp All rc1 All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
[SECURITY] Fedora 10 Update: ntp-4.2.4p7-1.fc10 af854a3a-2127-422b-91ae-364da2661108 www.redhat.com
Webmail : Solution de messagerie professionnelle - OVHcloud- OVH af854a3a-2127-422b-91ae-364da2661108 www.vupen.com Vendor Advisory
Repository / Oval Repository af854a3a-2127-422b-91ae-364da2661108 oval.cisecurity.org
NTP 'ntpq' Stack Buffer Overflow Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Patch
Support / Security / Advisories / / MDVSA-2009:092 | Mandriva af854a3a-2127-422b-91ae-364da2661108 www.mandriva.com
APPLE-SA-2009-05-12 Security Update 2009-002 / Mac OS X v10.5.7 af854a3a-2127-422b-91ae-364da2661108 lists.apple.com
[SECURITY] Fedora 9 Update: ntp-4.2.4p7-1.fc9 af854a3a-2127-422b-91ae-364da2661108 www.redhat.com
Repository / Oval Repository af854a3a-2127-422b-91ae-364da2661108 oval.cisecurity.org
NTP ntpq "cookedprint()" Buffer Overflow Vulnerability - Secunia Advisories - Vulnerability Information - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
About the security content of Security Update 2009-002 / Mac OS X v10.5.7 af854a3a-2127-422b-91ae-364da2661108 support.apple.com
Gentoo Linux Documentation -- NTP: Remote execution of arbitrary code af854a3a-2127-422b-91ae-364da2661108 www.gentoo.org
ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2009-006.txt.asc af854a3a-2127-422b-91ae-364da2661108 ftp.netbsd.org
[security-announce] SUSE Security Summary Report: SUSE-SR:2009:011 af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org
osvdb.org/53593 af854a3a-2127-422b-91ae-364da2661108 osvdb.org
'[security bulletin] HPSBUX02859 SSRT101144 rev.1 - HP-UX Running XNTP, Remote Denial of Service (DoS' - MARC af854a3a-2127-422b-91ae-364da2661108 marc.info
Bug 1144 – limited buffer overflow in ntpq. CVE-2009-0159 af854a3a-2127-422b-91ae-364da2661108 support.ntp.org Patch
VMware ESX and vMA Update for Multiple Packages - Secunia Advisories - Vulnerability Information - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
490617 – (CVE-2009-0159) CVE-2009-0159 ntp: buffer overflow in ntpq af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com
Webmail : Solution de messagerie professionnelle - OVHcloud- OVH af854a3a-2127-422b-91ae-364da2661108 www.vupen.com Vendor Advisory
Apple Mac OS X Security Update Fixes Multiple Vulnerabilities - Secunia Advisories - Vulnerability Information - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
SecurityFocus af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
rhn.redhat.com | Red Hat Support af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
Webmail : Solution de messagerie professionnelle - OVHcloud- OVH af854a3a-2127-422b-91ae-364da2661108 www.vupen.com Vendor Advisory
rhn.redhat.com | Red Hat Support af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
Repository / Oval Repository af854a3a-2127-422b-91ae-364da2661108 oval.cisecurity.org
Fedora update for ntp - Secunia Advisories - Vulnerability Information - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
The Slackware Linux Project: Slackware Security Advisories af854a3a-2127-422b-91ae-364da2661108 slackware.com
USN-777-1: Ntp vulnerabilities | Ubuntu security notices af854a3a-2127-422b-91ae-364da2661108 usn.ubuntu.com
Red hat update for ntp - Secunia Advisories - Vulnerability Information - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
rhn.redhat.com | Red Hat Support af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
Ubuntu update for ntp - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
ntp.bkbits.net/ntp-stable af854a3a-2127-422b-91ae-364da2661108 ntp.bkbits.net
Debian -- Security Information -- DSA-1801-1 ntp af854a3a-2127-422b-91ae-364da2661108 www.debian.org
IBM X-Force Exchange af854a3a-2127-422b-91ae-364da2661108 exchange.xforce.ibmcloud.com
bugs.pardus.org.tr/show_bug.cgi af854a3a-2127-422b-91ae-364da2661108 bugs.pardus.org.tr
VMSA-2009-0016.1 af854a3a-2127-422b-91ae-364da2661108 www.vmware.com
Repository / Oval Repository af854a3a-2127-422b-91ae-364da2661108 oval.cisecurity.org
SUSE Update for Multiple Packages - Advisories - Community af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
NetBSD update for ntp - Secunia Advisories - Vulnerability Information - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
Repository / Oval Repository af854a3a-2127-422b-91ae-364da2661108 oval.cisecurity.org
Slackware update for ntp - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
Gentoo update for ntp - Secunia Advisories - Vulnerability Information - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
Red Hat update for ntp - Secunia Advisories - Vulnerability Information - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
US-CERT Technical Cyber Security Alert TA09-133A -- Apple Updates for Multiple Vulnerabilities af854a3a-2127-422b-91ae-364da2661108 www.us-cert.gov US Government Resource
Debian update for ntp - Secunia Advisories - Vulnerability Information - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
ntp Buffer Overflow in ntpq cookedprint() Lets Remote Users Execute Arbitrary Code - SecurityTracker af854a3a-2127-422b-91ae-364da2661108 www.securitytracker.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report