CVE-2004-2761
The MD5 Message-Digest Algorithm is not collision resistant, which makes it easier for context-dependent attackers to conduct spoofing…
Description
The MD5 Message-Digest Algorithm is not collision resistant, which makes it easier for context-dependent attackers to conduct spoofing attacks, as demonstrated by attacks on the use of MD5 in the signature algorithm of an X.509 certificate.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 10.1%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 96.3% of all scored CVEs. Scores of 26 Nov 2026.
The assessment of CISA (SSVC, 28 May 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- yes: an attacker can automate the attack across many targets
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-328 Use of Weak Hash
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2004-2761 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2004-2761RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2004-2761Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2004-2761
trivy image --scanners vuln IMAGE | grep CVE-2004-2761
PatchBrief makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Install the agent.
References
Advisories
- RHSA-2010:0837 rhn.redhat.com · vendor advisory
- VU#836068 kb.cert.org · third party advisory
- 4866 securityreason.com · third party advisory
- 20090115 MD5 Hashes May Allow for Certificate Spoofing cisco.com · vendor advisory
- 33826 secunia.com · third party advisory
- 34281 secunia.com · third party advisory
- https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbhf03814en_us support.hpe.com
- RHSA-2010:0838 rhn.redhat.com · vendor advisory
- USN-740-1 ubuntu.com · vendor advisory
- FEDORA-2009-1276 redhat.com · vendor advisory
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05336888 h20566.www2.hpe.com
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05289935 h20566.www2.hpe.com
- 42181 secunia.com · third party advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=648886 bugzilla.redhat.com
Other references
- 33065 securityfocus.com · vdb entry
- http://www.phreedom.org/research/rogue-ca/ phreedom.org
- http://blog.mozilla.com/security/2008/12/30/md5-weaknesses-could-lead-to-certificate-forgery/ blog.mozilla.com
- http://www.win.tue.nl/hashclash/SoftIntCodeSign/ win.tue.nl
- http://www.microsoft.com/technet/security/advisory/961509.mspx microsoft.com
- http://blogs.technet.com/swi/archive/2008/12/30/information-regarding-md5-collisions-problem.aspx blogs.technet.com
- http://www.doxpara.com/research/md5/md5_someday.pdf doxpara.com
- https://ics-cert.us-cert.gov/advisories/ICSMA-18-058-02 ics-cert.us-cert.gov
- https://blogs.verisign.com/ssl-blog/2008/12/on_md5_vulnerabilities_and_mit.php blogs.verisign.com
- 1024697 securitytracker.com · vdb entry
- 20081230 MD5 Considered Harmful Today: Creating a rogue CA certificate securityfocus.com · mailing list
- http://www.win.tue.nl/hashclash/rogue-ca/ win.tue.nl
Source: the record CVE-2004-2761 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.