{"id":"CVE-2009-0159","url":"https://www.cyber-defence.io/tools/cve/CVE-2009-0159","generatedAt":"2026-10-27T18:47:44.737Z","title":"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.","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.","published":"2009-04-14T15:30:01.000Z","lastModified":"2026-06-16T23:04:23.000Z","status":"Modified","sourceIdentifier":"cve@mitre.org","cvss":{"version":"2.0","score":6.8,"severity":"MEDIUM","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P"},"cwe":["CWE-119"],"affected":["ntp/ntp"],"epss":{"score":0.13228,"percentile":0.9635,"date":"2026-10-26","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"urgent","text":"EPSS puts the probability of exploitation in the next 30 days at 13.2%, higher than 96% of all known CVEs. Patch or mitigate before the next change window."},"changes":[],"references":[{"url":"ftp://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2009-006.txt.asc","source":"cve@mitre.org"},{"url":"http://bugs.pardus.org.tr/show_bug.cgi?id=9532","source":"cve@mitre.org"},{"url":"http://lists.apple.com/archives/security-announce/2009/May/msg00002.html","source":"cve@mitre.org"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2009-06/msg00003.html","source":"cve@mitre.org"},{"url":"http://marc.info/?l=bugtraq&m=136482797910018&w=2","source":"cve@mitre.org"},{"url":"http://ntp.bkbits.net:8080/ntp-stable/?PAGE=gnupatch&REV=1.1565","source":"cve@mitre.org"},{"url":"http://osvdb.org/53593","source":"cve@mitre.org"},{"url":"http://rhn.redhat.com/errata/RHSA-2009-1039.html","source":"cve@mitre.org"},{"url":"http://rhn.redhat.com/errata/RHSA-2009-1040.html","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/34608","tags":["Vendor Advisory"],"source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/35074","tags":["Vendor Advisory"],"source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/35137","tags":["Vendor Advisory"],"source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/35138","tags":["Vendor Advisory"],"source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/35166","tags":["Vendor Advisory"],"source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/35169","tags":["Vendor Advisory"],"source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/35253","tags":["Vendor Advisory"],"source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/35308","tags":["Vendor Advisory"],"source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/35336","tags":["Vendor Advisory"],"source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/35416","tags":["Vendor Advisory"],"source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/35630","tags":["Vendor Advisory"],"source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/37471","tags":["Vendor Advisory"],"source":"cve@mitre.org"},{"url":"http://slackware.com/security/viewer.php?l=slackware-security&y=2009&m=slackware-security.566238","source":"cve@mitre.org"},{"url":"http://support.apple.com/kb/HT3549","source":"cve@mitre.org"},{"url":"http://www.debian.org/security/2009/dsa-1801","source":"cve@mitre.org"},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200905-08.xml","source":"cve@mitre.org"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2009:092","source":"cve@mitre.org"},{"url":"http://www.securityfocus.com/archive/1/507985/100/0/threaded","source":"cve@mitre.org"},{"url":"http://www.securityfocus.com/bid/34481","tags":["Patch"],"source":"cve@mitre.org"},{"url":"http://www.securitytracker.com/id?1022033","source":"cve@mitre.org"},{"url":"http://www.us-cert.gov/cas/techalerts/TA09-133A.html","tags":["US Government Resource"],"source":"cve@mitre.org"},{"url":"http://www.vmware.com/security/advisories/VMSA-2009-0016.html","source":"cve@mitre.org"},{"url":"http://www.vupen.com/english/advisories/2009/0999","tags":["Vendor Advisory"],"source":"cve@mitre.org"},{"url":"http://www.vupen.com/english/advisories/2009/1297","tags":["Vendor Advisory"],"source":"cve@mitre.org"},{"url":"http://www.vupen.com/english/advisories/2009/3316","tags":["Vendor Advisory"],"source":"cve@mitre.org"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=490617","source":"cve@mitre.org"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/49838","source":"cve@mitre.org"},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A19392","source":"cve@mitre.org"},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5411","source":"cve@mitre.org"},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A8386","source":"cve@mitre.org"},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A8665","source":"cve@mitre.org"},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9634","source":"cve@mitre.org"},{"url":"https://rhn.redhat.com/errata/RHSA-2009-1651.html","source":"cve@mitre.org"},{"url":"https://support.ntp.org/bugs/show_bug.cgi?id=1144","tags":["Patch"],"source":"cve@mitre.org"},{"url":"https://usn.ubuntu.com/777-1/","source":"cve@mitre.org"},{"url":"https://www.redhat.com/archives/fedora-package-announce/2009-May/msg01414.html","source":"cve@mitre.org"},{"url":"https://www.redhat.com/archives/fedora-package-announce/2009-May/msg01449.html","source":"cve@mitre.org"},{"url":"ftp://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2009-006.txt.asc","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://bugs.pardus.org.tr/show_bug.cgi?id=9532","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.apple.com/archives/security-announce/2009/May/msg00002.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2009-06/msg00003.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://marc.info/?l=bugtraq&m=136482797910018&w=2","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://ntp.bkbits.net:8080/ntp-stable/?PAGE=gnupatch&REV=1.1565","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://osvdb.org/53593","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://rhn.redhat.com/errata/RHSA-2009-1039.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://rhn.redhat.com/errata/RHSA-2009-1040.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/34608","tags":["Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/35074","tags":["Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/35137","tags":["Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/35138","tags":["Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/35166","tags":["Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2009-0159","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}