Vulnerability record · CVE-2001-0414 · published 18 June 2001
CVE-2001-0414: ntpd readvar buffer overflow allows remote code execution
Dave Mills · Ntpd
ntpd (xntpd/xntp3) 4.0.99k and earlier contains a buffer overflow reachable through a long readvar argument. A remote attacker can crash the daemon and potentially execute arbitrary commands, making this a serious flaw for any exposed NTP service.
Description
Buffer overflow in ntpd ntp daemon 4.0.99k and earlier (aka xntpd and xntp3) allows remote attackers to cause a denial of service and possibly execute arbitrary commands via a long readvar argument.
AV:N/AC:L/Au:N/C:C/I:C/A:C
Automated analysis
critical priorityCVSS 2.0 base score of 10 with network reachability, no authentication, and full confidentiality, integrity and availability impact.
What it is
ntpd (xntpd/xntp3) 4.0.99k and earlier contains a buffer overflow reachable through a long readvar argument. A remote attacker can crash the daemon and potentially execute arbitrary commands, making this a serious flaw for any exposed NTP service.
Impact
An attacker gains the ability to cause a denial of service and, per the description, possibly execute arbitrary commands on the affected host.
Attack surface
Reachable over the network via the NTP service with no authentication required, as reflected by the AV:N/AC:L/Au:N vector. No user interaction is indicated.
Exploitation
Not listed in CISA KEV, but EPSS is very high (0.91679, 99.8th percentile) and a SecurityFocus reference is tagged Exploit, indicating public exploit material exists.
What to do
- Upgrade ntpd to a version later than 4.0.99k or apply the vendor patch for your distribution.
- Restrict NTP access to trusted networks with firewall rules and ntpd restrict directives.
- Disable or block the readvar/mode 6 query interface where not required.
- Monitor vendor advisories (FreeBSD, NetBSD, Red Hat, Debian, Mandrake, Caldera, SCO) for the fixed build.
- Run ntpd with least privilege and isolate it from sensitive hosts.
Detection
- Alert on ntpd crashes or restarts and core dumps on NTP servers.
- Inspect NTP mode 6 (readvar) traffic for unusually long or malformed payloads.
- Log and review remote NTP queries from unexpected or external sources.
- Correlate IDS/IPS signatures for ntpd readvar overflow attempts.
This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.
Affected products
2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
Track CVE-2001-0414 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2001-0414), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.