Skip to main content
No exploitation reportedFix available

CVE-2004-0657

No exploitation reported by the sources we read.

  • Published2004-08-06
  • Fixed in4.0
  • WeaknessCWE-190

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

Integer overflow in the NTP daemon (NTPd) before 4.0 causes the NTP server to return the wrong date/time offset when a client requests a date/time that is more than 34 years away from the server's time.

Timeline

dates in UTC
  1. 2004-08-0604:00CVE publishedNVD

Versions per branch

NVD
Ntp
BranchAffectedFixed in
4.0< 4.04.0
Hp tru64 unix
BranchAffectedFixed in
4.0= 4.0fno fix published
4.0= 4.0gno fix published
5.1= 5.1bno fix published
51.1= 51.1ano fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • ntpDebian:11all versions · fixed in 4.0

Vendor advisories

  • CVE-2004-0657 Red Hat Product Security

    ntp: wrong date/time offset return could lead to integer overflow

Full record on NVD

Fix

  1. Update Ntp to 4.0

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H
Published
2004-08-06
Last Modified
2026-04-16
NVD status
Modified
GitHub Advisory
GHSA-gf48-63xq-mhpr

Frequently asked questions

What is CVE-2004-0657?

Integer overflow in the NTP daemon (NTPd) before 4.0 causes the NTP server to return the wrong date/time offset when a client requests a date/time that is more than 34 years away from the server's time.

Is CVE-2004-0657 actively exploited?

Active exploitation of CVE-2004-0657 has not been confirmed. Its EPSS score was 2.9% on 2026-11-08, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2004-0657?

CVE-2004-0657 has a CVSS v3 base score of 7.1 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H.

Running ntp? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record