CVE-2004-0396
Heap-based buffer overflow in CVS 1.11.x up to 1.11.15, and 1.12.x up to 1.12.7, when using the pserver mechanism allows remote…
Check your servers for CVE-2004-0396
The Vulnpocalypse agent sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2004-0396 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
Heap-based buffer overflow in CVS 1.11.x up to 1.11.15, and 1.12.x up to 1.12.7, when using the pserver mechanism allows remote attackers to execute arbitrary code via Entry lines.
Exploitation
EPSS 67.5%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 99.4% of all scored CVEs. Scores of 27 Nov 2026.
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-0396 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2004-0396RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2004-0396Alpine
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-0396
trivy image --scanners vuln IMAGE | grep CVE-2004-0396
Vulnpocalypse 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. Start free with one server and one domain or read how to install the agent.
References
26 of 28 references. The list leaves out addresses that are not web links and those after the first 300; all of them are in the record on cve.org.
Advisories
- 11641 secunia.com · third party advisory
- 11652 secunia.com · third party advisory
- MDKSA-2004:048 mandriva.com · vendor advisory
- 20040520 cvs server buffer overflow vulnerability marc.info · vendor advisory
- RHSA-2004:190 redhat.com · vendor advisory
- 11674 secunia.com · third party advisory
- GLSA-200405-12 security.gentoo.org · vendor advisory
- 11651 secunia.com · third party advisory
- TA04-147A us-cert.gov · third party advisory
- O-147 ciac.org · third party advisory, government resource
- 11647 secunia.com · third party advisory
- FEDORA-2004-1620 marc.info · vendor advisory
4 more
- VU#192038 kb.cert.org · third party advisory
- DSA-505 debian.org · vendor advisory
- SSA:2004-140-01 slackware.com · vendor advisory
- SuSE-SA:2004:013 lists.grok.org.uk · vendor advisory
Other references
- oval:org.mitre.oval:def:970 oval.cisecurity.org · vdb entry, signature
- 20040519 [OpenPKG-SA-2004.022] OpenPKG Security Advisory (cvs) marc.info · mailing list
- oval:org.mitre.oval:def:9058 oval.cisecurity.org · vdb entry, signature
- 20040519 Advisory 07/2004: CVS remote vulnerability cert.uni-stuttgart.de · mailing list
- 6305 osvdb.org · vdb entry
- 20040519 Advisory 07/2004: CVS remote vulnerability marc.info · mailing list
- 20040519 Advisory 07/2004: CVS remote vulnerability archives.neohapsis.com · mailing list
- cvs-entry-line-bo(16193) exchange.xforce.ibmcloud.com · vdb entry
- http://security.e-matters.de/advisories/072004.html security.e-matters.de
- 10384 securityfocus.com · vdb entry
Source: the record CVE-2004-0396 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse