CVE-2009-0159
Stack-based buffer overflow in the cookedprint function in ntpq/ntpq.c in ntpq in NTP before 4.2...
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.
Exploit likelihood
What each source reports
NVD Score used
6.8
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.
- Record
CVE-2009-0159- CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-119
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2009-0159- Updated
- 2026-11-02
EUVDEUVD-2009-0168 No score
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.
- Record
EUVD-2009-0168- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-wg77-pm57-j6rv No score
Stack-based buffer overflow in the cookedprint function in ntpq/ntpq.c in ntpq in NTP before 4.2...
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.
- Record
GHSA-wg77-pm57-j6rv- Weakness
- CWE-119
- Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2009-0159- Updated
- 2026-11-02
OSVDEBIAN-CVE-2009-0159 No score
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.
- Record
DEBIAN-CVE-2009-0159- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10181-1 No score
ntp-4.2.8p9-1.1 on GA media
These are all security issues fixed in the ntp-4.2.8p9-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10181-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
ntpDebian:11 |
before 1:4.2.4p6+dfsg-2 | 1:4.2.4p6+dfsg-2 |
ntpDebian:4.0 From an advisory covering 2 CVEs |
before 1:4.2.2.p4+dfsg-2etch3, plus listed versions 1:4.2.2.p4+dfsg-21:4.2.2.p4+dfsg-2etch11:4.2.2.p4+dfsg-2etch2 |
1:4.2.2.p4+dfsg-2etch3 |
ntpDebian:5.0 From an advisory covering 2 CVEs |
before 1:4.2.4p4+dfsg-8lenny2, plus listed versions 1:4.2.4p4+dfsg-8 |
1:4.2.4p4+dfsg-8lenny2 |
ntpRed Hat:enterprise_linux:5::client From an advisory covering 2 CVEs |
before 0:4.2.2p1-9.el5_3.2 | 0:4.2.2p1-9.el5_3.2 |
ntp-debuginfoRed Hat:enterprise_linux:5::client From an advisory covering 2 CVEs |
before 0:4.2.2p1-9.el5_3.2 | 0:4.2.2p1-9.el5_3.2 |
ntpRed Hat:enterprise_linux:5::server From an advisory covering 2 CVEs |
before 0:4.2.2p1-9.el5_3.2 | 0:4.2.2p1-9.el5_3.2 |
ntp-debuginfoRed Hat:enterprise_linux:5::server From an advisory covering 2 CVEs |
before 0:4.2.2p1-9.el5_3.2 | 0:4.2.2p1-9.el5_3.2 |
ntpRed Hat:rhel_eus:4.7::as From an advisory covering 2 CVEs |
before 0:4.2.0.a.20040617-8.el4_7.2 | 0:4.2.0.a.20040617-8.el4_7.2 |
ntp-debuginfoRed Hat:rhel_eus:4.7::as From an advisory covering 2 CVEs |
before 0:4.2.0.a.20040617-8.el4_7.2 | 0:4.2.0.a.20040617-8.el4_7.2 |
ntpRed Hat:enterprise_linux:4::as From an advisory covering 2 CVEs |
before 0:4.2.0.a.20040617-8.el4_7.2 | 0:4.2.0.a.20040617-8.el4_7.2 |
Show 18 moreShow less
| Package | Affected | Fixed |
|---|---|---|
ntp-debuginfoRed Hat:enterprise_linux:4::as From an advisory covering 2 CVEs |
before 0:4.2.0.a.20040617-8.el4_7.2 | 0:4.2.0.a.20040617-8.el4_7.2 |
ntpRed Hat:enterprise_linux:4::desktop From an advisory covering 2 CVEs |
before 0:4.2.0.a.20040617-8.el4_7.2 | 0:4.2.0.a.20040617-8.el4_7.2 |
ntp-debuginfoRed Hat:enterprise_linux:4::desktop From an advisory covering 2 CVEs |
before 0:4.2.0.a.20040617-8.el4_7.2 | 0:4.2.0.a.20040617-8.el4_7.2 |
ntpRed Hat:rhel_eus:4.7::es From an advisory covering 2 CVEs |
before 0:4.2.0.a.20040617-8.el4_7.2 | 0:4.2.0.a.20040617-8.el4_7.2 |
ntp-debuginfoRed Hat:rhel_eus:4.7::es From an advisory covering 2 CVEs |
before 0:4.2.0.a.20040617-8.el4_7.2 | 0:4.2.0.a.20040617-8.el4_7.2 |
ntpRed Hat:enterprise_linux:4::es From an advisory covering 2 CVEs |
before 0:4.2.0.a.20040617-8.el4_7.2 | 0:4.2.0.a.20040617-8.el4_7.2 |
ntp-debuginfoRed Hat:enterprise_linux:4::es From an advisory covering 2 CVEs |
before 0:4.2.0.a.20040617-8.el4_7.2 | 0:4.2.0.a.20040617-8.el4_7.2 |
ntpRed Hat:enterprise_linux:4::ws From an advisory covering 2 CVEs |
before 0:4.2.0.a.20040617-8.el4_7.2 | 0:4.2.0.a.20040617-8.el4_7.2 |
ntp-debuginfoRed Hat:enterprise_linux:4::ws From an advisory covering 2 CVEs |
before 0:4.2.0.a.20040617-8.el4_7.2 | 0:4.2.0.a.20040617-8.el4_7.2 |
ntpRed Hat:enterprise_linux:3::as From an advisory covering 2 CVEs |
before 0:4.1.2-6.el3 | 0:4.1.2-6.el3 |
ntp-debuginfoRed Hat:enterprise_linux:3::as From an advisory covering 2 CVEs |
before 0:4.1.2-6.el3 | 0:4.1.2-6.el3 |
ntpRed Hat:enterprise_linux:3::desktop From an advisory covering 2 CVEs |
before 0:4.1.2-6.el3 | 0:4.1.2-6.el3 |
ntp-debuginfoRed Hat:enterprise_linux:3::desktop From an advisory covering 2 CVEs |
before 0:4.1.2-6.el3 | 0:4.1.2-6.el3 |
ntpRed Hat:enterprise_linux:3::es From an advisory covering 2 CVEs |
before 0:4.1.2-6.el3 | 0:4.1.2-6.el3 |
ntp-debuginfoRed Hat:enterprise_linux:3::es From an advisory covering 2 CVEs |
before 0:4.1.2-6.el3 | 0:4.1.2-6.el3 |
ntpRed Hat:enterprise_linux:3::ws From an advisory covering 2 CVEs |
before 0:4.1.2-6.el3 | 0:4.1.2-6.el3 |
ntp-debuginfoRed Hat:enterprise_linux:3::ws From an advisory covering 2 CVEs |
before 0:4.1.2-6.el3 | 0:4.1.2-6.el3 |
ntpopenSUSE:Tumbleweed From an advisory covering 60 CVEs |
before 4.2.8p9-1.1 | 4.2.8p9-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2009-0159 is a medium vulnerability (CVSS 6.8) in Ntp, published April 14, 2009. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 13.2%, the 96th percentile. Fixed in ntp 1:4.2.4p6+dfsg-2.
References
usn.ubuntu.com/777-1
oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9634
secunia.com/advisories/35137
secunia.com/advisories/34608
secunia.com/advisories/35166
bugzilla.redhat.com/show_bug.cgi?id=490617
Show 119 moreShow less
support.apple.com/kb/HT3549
secunia.com/advisories/37471
debian.org/security/2009/dsa-1801
redhat.com/archives/fedora-package-announce/2009-May/msg01449.html
secunia.com/advisories/35308
bugs.pardus.org.tr/show_bug.cgi?id=9532
secunia.com/advisories/35253
vmware.com/security/advisories/VMSA-2009-0016.html
secunia.com/advisories/35074
securityfocus.com/bid/34481
secunia.com/advisories/35138
lists.apple.com/archives/security-announce/2009/May/msg00002.html
oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A8386
slackware.com/security/viewer.php?l=slackware-security&y=2009&m=slackware-security.566238
marc.info?l=bugtraq&m=136482797910018&w=2
redhat.com/archives/fedora-package-announce/2009-May/msg01414.html
lists.opensuse.org/opensuse-security-announce/2009-06/msg00003.html
oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A19392
secunia.com/advisories/35630
securityfocus.com/archive/1/507985/100/0/threaded
exchange.xforce.ibmcloud.com/vulnerabilities/49838
osvdb.org/53593
securitytracker.com/id?1022033
oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A8665
us-cert.gov/cas/techalerts/TA09-133A.html
rhn.redhat.com/errata/RHSA-2009-1651.html
vupen.com/english/advisories/2009/1297
oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5411
rhn.redhat.com/errata/RHSA-2009-1040.html
mandriva.com/security/advisories?name=MDVSA-2009:092
secunia.com/advisories/35416
support.ntp.org/bugs/show_bug.cgi?id=1144
secunia.com/advisories/35336
rhn.redhat.com/errata/RHSA-2009-1039.html
secunia.com/advisories/35169
gentoo.org/security/en/glsa/glsa-200905-08.xml
vupen.com/english/advisories/2009/0999
vupen.com/english/advisories/2009/3316
ntp.bkbits.net/ntp-stable?PAGE=gnupatch&REV=1.1565
nvd.nist.gov/vuln/detail/CVE-2009-0159
github.com/advisories/GHSA-wg77-pm57-j6rv
security-tracker.debian.org/tracker/CVE-2009-0159
access.redhat.com/errata/RHSA-2009:1039
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=499694
security.access.redhat.com/data/csaf/v2/advisories/2009/rhsa-2009_1039.json
access.redhat.com/security/cve/CVE-2009-0159
cve.org/CVERecord?id=CVE-2009-0159
access.redhat.com/security/cve/CVE-2009-1252
cve.org/CVERecord?id=CVE-2009-1252
nvd.nist.gov/vuln/detail/CVE-2009-1252
access.redhat.com/errata/RHSA-2009:1040
security.access.redhat.com/data/csaf/v2/advisories/2009/rhsa-2009_1040.json
access.redhat.com/errata/RHSA-2009:1651
bugzilla.redhat.com/show_bug.cgi?id=531213
security.access.redhat.com/data/csaf/v2/advisories/2009/rhsa-2009_1651.json
access.redhat.com/security/cve/CVE-2009-3563
cve.org/CVERecord?id=CVE-2009-3563
nvd.nist.gov/vuln/detail/CVE-2009-3563
suse.com/security/cve/CVE-2009-0159
suse.com/security/cve/CVE-2009-1252
suse.com/security/cve/CVE-2013-5211
suse.com/security/cve/CVE-2014-9293
suse.com/security/cve/CVE-2014-9294
suse.com/security/cve/CVE-2014-9295
suse.com/security/cve/CVE-2014-9296
suse.com/security/cve/CVE-2014-9297
suse.com/security/cve/CVE-2014-9298
suse.com/security/cve/CVE-2015-1798
suse.com/security/cve/CVE-2015-1799
suse.com/security/cve/CVE-2015-5300
suse.com/security/cve/CVE-2015-7691
suse.com/security/cve/CVE-2015-7692
suse.com/security/cve/CVE-2015-7701
suse.com/security/cve/CVE-2015-7702
suse.com/security/cve/CVE-2015-7703
suse.com/security/cve/CVE-2015-7704
suse.com/security/cve/CVE-2015-7705
suse.com/security/cve/CVE-2015-7848
suse.com/security/cve/CVE-2015-7849
suse.com/security/cve/CVE-2015-7850
suse.com/security/cve/CVE-2015-7851
suse.com/security/cve/CVE-2015-7852
suse.com/security/cve/CVE-2015-7853
suse.com/security/cve/CVE-2015-7854
suse.com/security/cve/CVE-2015-7855
suse.com/security/cve/CVE-2015-7871
suse.com/security/cve/CVE-2015-7973
suse.com/security/cve/CVE-2015-7974
suse.com/security/cve/CVE-2015-7975
suse.com/security/cve/CVE-2015-7976
suse.com/security/cve/CVE-2015-7977
suse.com/security/cve/CVE-2015-7978
suse.com/security/cve/CVE-2015-7979
suse.com/security/cve/CVE-2015-8138
suse.com/security/cve/CVE-2015-8158
suse.com/security/cve/CVE-2016-1547
suse.com/security/cve/CVE-2016-1548
suse.com/security/cve/CVE-2016-1549
suse.com/security/cve/CVE-2016-1550
suse.com/security/cve/CVE-2016-1551
suse.com/security/cve/CVE-2016-2516
suse.com/security/cve/CVE-2016-2517
suse.com/security/cve/CVE-2016-2518
suse.com/security/cve/CVE-2016-2519
suse.com/security/cve/CVE-2016-4953
suse.com/security/cve/CVE-2016-4954
suse.com/security/cve/CVE-2016-4955
suse.com/security/cve/CVE-2016-4956
suse.com/security/cve/CVE-2016-4957
suse.com/security/cve/CVE-2016-7426
suse.com/security/cve/CVE-2016-7427
suse.com/security/cve/CVE-2016-7428
suse.com/security/cve/CVE-2016-7429
suse.com/security/cve/CVE-2016-7431
suse.com/security/cve/CVE-2016-7433
suse.com/security/cve/CVE-2016-7434
suse.com/security/cve/CVE-2016-9310
suse.com/security/cve/CVE-2016-9311