Security mailing lists by PureSourceCode

CVE-2009-0159

MEDIUM 6.8CVSS 2.0

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
14 Apr 2009
Last modified
16 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-119
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD ntp ntp
cpe:2.3:a:ntp:ntp:*:rc1:*:*:*:*:*:*
<= 4.2.4p7
NVD ntp ntp
cpe:2.3:a:ntp:ntp:4.0.72:*:*:*:*:*:*:*
= 4.0.72
NVD ntp ntp
cpe:2.3:a:ntp:ntp:4.0.73:*:*:*:*:*:*:*
= 4.0.73
NVD ntp ntp
cpe:2.3:a:ntp:ntp:4.0.90:*:*:*:*:*:*:*
= 4.0.90
NVD ntp ntp
cpe:2.3:a:ntp:ntp:4.0.91:*:*:*:*:*:*:*
= 4.0.91
NVD ntp ntp
cpe:2.3:a:ntp:ntp:4.0.92:*:*:*:*:*:*:*
= 4.0.92
NVD ntp ntp
cpe:2.3:a:ntp:ntp:4.0.93:*:*:*:*:*:*:*
= 4.0.93
NVD ntp ntp
cpe:2.3:a:ntp:ntp:4.0.94:*:*:*:*:*:*:*
= 4.0.94
NVD ntp ntp
cpe:2.3:a:ntp:ntp:4.0.95:*:*:*:*:*:*:*
= 4.0.95
NVD ntp ntp
cpe:2.3:a:ntp:ntp:4.0.96:*:*:*:*:*:*:*
= 4.0.96
NVD ntp ntp
cpe:2.3:a:ntp:ntp:4.0.97:*:*:*:*:*:*:*
= 4.0.97
NVD ntp ntp
cpe:2.3:a:ntp:ntp:4.0.98:*:*:*:*:*:*:*
= 4.0.98
NVD ntp ntp
cpe:2.3:a:ntp:ntp:4.0.99:*:*:*:*:*:*:*
= 4.0.99
NVD ntp ntp
cpe:2.3:a:ntp:ntp:4.1.0:*:*:*:*:*:*:*
= 4.1.0
NVD ntp ntp
cpe:2.3:a:ntp:ntp:4.1.2:*:*:*:*:*:*:*
= 4.1.2
NVD ntp ntp
cpe:2.3:a:ntp:ntp:4.2.0:*:*:*:*:*:*:*
= 4.2.0
NVD ntp ntp
cpe:2.3:a:ntp:ntp:4.2.2:*:*:*:*:*:*:*
= 4.2.2
NVD ntp ntp
cpe:2.3:a:ntp:ntp:4.2.2p1:*:*:*:*:*:*:*
= 4.2.2p1
NVD ntp ntp
cpe:2.3:a:ntp:ntp:4.2.2p2:*:*:*:*:*:*:*
= 4.2.2p2
NVD ntp ntp
cpe:2.3:a:ntp:ntp:4.2.2p3:*:*:*:*:*:*:*
= 4.2.2p3
NVD ntp ntp
cpe:2.3:a:ntp:ntp:4.2.2p4:*:*:*:*:*:*:*
= 4.2.2p4
NVD ntp ntp
cpe:2.3:a:ntp:ntp:4.2.4:*:*:*:*:*:*:*
= 4.2.4
NVD ntp ntp
cpe:2.3:a:ntp:ntp:4.2.4p0:*:*:*:*:*:*:*
= 4.2.4p0
NVD ntp ntp
cpe:2.3:a:ntp:ntp:4.2.4p1:*:*:*:*:*:*:*
= 4.2.4p1
NVD ntp ntp
cpe:2.3:a:ntp:ntp:4.2.4p2:*:*:*:*:*:*:*
= 4.2.4p2
NVD ntp ntp
cpe:2.3:a:ntp:ntp:4.2.4p3:*:*:*:*:*:*:*
= 4.2.4p3
NVD ntp ntp
cpe:2.3:a:ntp:ntp:4.2.4p4:*:*:*:*:*:*:*
= 4.2.4p4
NVD ntp ntp
cpe:2.3:a:ntp:ntp:4.2.4p5:*:*:*:*:*:*:*
= 4.2.4p5
NVD ntp ntp
cpe:2.3:a:ntp:ntp:4.2.4p6:*:*:*:*:*:*:*
= 4.2.4p6

References

History

  • 25 Nov 2026 20:15 UTC · NVD: first stored (published 14 Apr 2009)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.