ntp: buffer overflow in ntpq
Published Apr 14, 2009
6.8
MEDIUMCVSS 2.0
EPSS 13.23%
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.
Affected products
No data.
- ≤ 4.2.4p7
- 4.0.72
- 4.0.73
- 4.0.90
- 4.0.91
- 4.0.92
- 4.0.93
- 4.0.94
- 4.0.95
- 4.0.96
- 4.0.97
- 4.0.98
- 4.0.99
- 4.1.0
- 4.1.2
- 4.2.0
- 4.2.2
- 4.2.2p1
- 4.2.2p2
- 4.2.2p3
- 4.2.2p4
- 4.2.4
- 4.2.4p0
- 4.2.4p1
- 4.2.4p2
- 4.2.4p3
- 4.2.4p4
- 4.2.4p5
- 4.2.4p6
No data.
Red Hat Enterprise Linux 3
ntp-0:4.1.2-6.el3
Fixed · RHSA-2009:1651
Red Hat Enterprise Linux 4
ntp-0:4.2.0.a.20040617-8.el4_7.2
Fixed · RHSA-2009:1040
Red Hat Enterprise Linux 4.7 Z Stream
ntp-0:4.2.0.a.20040617-8.el4_7.2
Fixed · RHSA-2009:1040
Red Hat Enterprise Linux 5
ntp-0:4.2.2p1-9.el5_3.2
Fixed · RHSA-2009:1039
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 3 | ntp-0:4.1.2-6.el3 | Fixed | RHSA-2009:1651 |
| Red Hat Enterprise Linux 4 | ntp-0:4.2.0.a.20040617-8.el4_7.2 | Fixed | RHSA-2009:1040 |
| Red Hat Enterprise Linux 4.7 Z Stream | ntp-0:4.2.0.a.20040617-8.el4_7.2 | Fixed | RHSA-2009:1040 |
| Red Hat Enterprise Linux 5 | ntp-0:4.2.2p1-9.el5_3.2 | Fixed | RHSA-2009:1039 |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:M/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (17 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 13.23% (0.13228) | 96.27th | v5 (v2026.06.15) |
| Jul 29, 2026 | 13.23% (0.13228) | 95.98th | v5 (v2026.06.15) |
| Jul 24, 2026 | 10.61% (0.10611) | 95.31th | v5 (v2026.06.15) |
| Jun 15, 2026 | 13.33% (0.13334) | 95.90th | v5 (v2026.06.15) |
| Dec 28, 2025 | 20.30% (0.20296) | 95.32th | v4 (v2025.03.14) |
| Dec 27, 2025 | 13.08% (0.13083) | 93.92th | v4 (v2025.03.14) |
| Dec 14, 2025 | 20.30% (0.20296) | 95.31th | v4 (v2025.03.14) |
| Dec 13, 2025 | 16.66% (0.16658) | 94.69th | v4 (v2025.03.14) |
| Mar 30, 2025 | 13.08% (0.13083) | 93.49th | v4 (v2025.03.14) |
| Mar 29, 2025 | 20.31% (0.20308) | 92.70th | v4 (v2025.03.14) |
| Mar 17, 2025 | 13.08% (0.13083) | 93.55th | v4 (v2025.03.14) |
| Jan 3, 2025 | 4.59% (0.04590) | 92.45th | v3 (v2023.03.01) |
| Dec 17, 2024 | 5.98% (0.05984) | 93.39th | v3 (v2023.03.01) |
| Mar 7, 2023 | 4.30% (0.04305) | 90.99th | v3 (v2023.03.01) |
| Mar 6, 2023 | 4.42% (0.04421) | 88.21th | v2 (v2022.01.01) |
| Apr 1, 2022 | 4.42% (0.04421) | 87.03th | v2 (v2022.01.01) |
| Feb 4, 2022 | 4.42% (0.04421) | 70.83th | v2 (v2022.01.01) |
References (49)
- ftp://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2009-006.txt.asc vendor-advisoryx_refsource_NETBSD
- http://bugs.pardus.org.tr/show_bug.cgi?id=9532 x_refsource_CONFIRM
- http://lists.apple.com/archives/security-announce/2009/May/msg00002.html vendor-advisoryx_refsource_APPLE
- http://lists.opensuse.org/opensuse-security-announce/2009-06/msg00003.html vendor-advisoryx_refsource_SUSE
- http://marc.info/?l=bugtraq&m=136482797910018&w=2 vendor-advisoryx_refsource_HP
- http://ntp.bkbits.net:8080/ntp-stable/?PAGE=gnupatch&REV=1.1565 x_refsource_CONFIRM
- http://osvdb.org/53593 vdb-entryx_refsource_OSVDB
- http://rhn.redhat.com/errata/RHSA-2009-1039.html vendor-advisoryx_refsource_REDHAT
- http://rhn.redhat.com/errata/RHSA-2009-1040.html vendor-advisoryx_refsource_REDHAT
- http://secunia.com/advisories/34608 third-party-advisoryx_refsource_SECUNIAVendor Advisory
- http://secunia.com/advisories/35074 third-party-advisoryx_refsource_SECUNIAVendor Advisory
- http://secunia.com/advisories/35137 third-party-advisoryx_refsource_SECUNIAVendor Advisory
- http://secunia.com/advisories/35138 third-party-advisoryx_refsource_SECUNIAVendor Advisory
- http://secunia.com/advisories/35166 third-party-advisoryx_refsource_SECUNIAVendor Advisory
- http://secunia.com/advisories/35169 third-party-advisoryx_refsource_SECUNIAVendor Advisory
- http://secunia.com/advisories/35253 third-party-advisoryx_refsource_SECUNIAVendor Advisory
- http://secunia.com/advisories/35308 third-party-advisoryx_refsource_SECUNIAVendor Advisory
- http://secunia.com/advisories/35336 third-party-advisoryx_refsource_SECUNIAVendor Advisory
- http://secunia.com/advisories/35416 third-party-advisoryx_refsource_SECUNIAVendor Advisory
- http://secunia.com/advisories/35630 third-party-advisoryx_refsource_SECUNIAVendor Advisory
- http://secunia.com/advisories/37471 third-party-advisoryx_refsource_SECUNIAVendor Advisory
- http://slackware.com/security/viewer.php?l=slackware-security&y=2009&m=slackware-security.566238 vendor-advisoryx_refsource_SLACKWARE
- http://support.apple.com/kb/HT3549 x_refsource_CONFIRM
- http://www.debian.org/security/2009/dsa-1801 vendor-advisoryx_refsource_DEBIAN
- http://www.gentoo.org/security/en/glsa/glsa-200905-08.xml vendor-advisoryx_refsource_GENTOO
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:092 vendor-advisoryx_refsource_MANDRIVA
- http://www.securityfocus.com/archive/1/507985/100/0/threaded mailing-listx_refsource_BUGTRAQ
- http://www.securityfocus.com/bid/34481 vdb-entryx_refsource_BIDPatch
- http://www.securitytracker.com/id?1022033 vdb-entryx_refsource_SECTRACK
- http://www.us-cert.gov/cas/techalerts/TA09-133A.html third-party-advisoryx_refsource_CERTUS Government Resource
- http://www.vmware.com/security/advisories/VMSA-2009-0016.html x_refsource_CONFIRM
- http://www.vupen.com/english/advisories/2009/0999 vdb-entryx_refsource_VUPENVendor Advisory
- http://www.vupen.com/english/advisories/2009/1297 vdb-entryx_refsource_VUPENVendor Advisory
- http://www.vupen.com/english/advisories/2009/3316 vdb-entryx_refsource_VUPENVendor Advisory
- https://access.redhat.com/security/cve/CVE-2009-0159 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=490617 x_refsource_CONFIRMIssue Tracking
- https://exchange.xforce.ibmcloud.com/vulnerabilities/49838 vdb-entryx_refsource_XF
- https://nvd.nist.gov/vuln/detail/CVE-2009-0159
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A19392 vdb-entrysignaturex_refsource_OVAL
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5411 vdb-entrysignaturex_refsource_OVAL
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A8386 vdb-entrysignaturex_refsource_OVAL
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A8665 vdb-entrysignaturex_refsource_OVAL
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9634 vdb-entrysignaturex_refsource_OVAL
- https://rhn.redhat.com/errata/RHSA-2009-1651.html vendor-advisoryx_refsource_REDHAT
- https://support.ntp.org/bugs/show_bug.cgi?id=1144 x_refsource_CONFIRMPatch
- https://usn.ubuntu.com/777-1/ vendor-advisoryx_refsource_UBUNTU
- https://www.cve.org/CVERecord?id=CVE-2009-0159
- https://www.redhat.com/archives/fedora-package-announce/2009-May/msg01414.html vendor-advisoryx_refsource_FEDORA
- https://www.redhat.com/archives/fedora-package-announce/2009-May/msg01449.html vendor-advisoryx_refsource_FEDORA
Change history (0)
No recorded changes yet.