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 mechan
CVE-2004-0396 is a high-severity flaw (CVSS 7.5) affecting cvs. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
- EPSS top 1%: very likely to be exploited
- Public exploit reference
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 7.5 (High) |
| EPSS exploit chance | 67.5% (top 1%) |
| CISA exploited list | No |
| Published | 2004-06-14 |
| Last modified | 2026-06-16 |
Last updated 2026-06-16 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- Exploit-DB: CVS (Linux/FreeBSD) - Remote Entry Line Heap Overflow
- Exploit-DB: CVS - Remote Entry Line Root Heap Overflow
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2004-0396?
cvs: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2004-0396 being exploited?
CVE-2004-0396 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2004-0396 affect?
CVE-2004-0396 affects cvs. Severity is high (CVSS 7.5). 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.
How urgent is CVE-2004-0396?
Priority 56/100. High severity; EPSS top 1%: very likely to be exploited; Public exploit reference
Related CVEs
- CVE-2022-29037 MEDIUM 5.4 UPGRADE Jenkins CVS Plugin 2.19 and earlier does not escape the name and description of CVS Symbolic Name parameters o
- CVE-2020-2324 HIGH 7.5 UPGRADE Jenkins CVS Plugin 2.16 and earlier does not configure its XML parser to prevent XML external entity (XXE) att
- CVE-2017-12836 HIGH 7.5 DOWNGRADE MITIGATE CVS 1.12.x, when configured to use SSH for remote repositories, might allow remote attackers to execute arbitr
- CVE-2012-0804 HIGH 10.0 DOWNGRADE Heap-based buffer overflow in the proxy_connect function in src/client.c in CVS 1.11 and 1.12 allows remote HT
- CVE-2010-3846 MEDIUM 6.9 DOWNGRADE Array index error in the apply_rcs_change function in rcs.c in CVS 1.11.23 allows local users to gain privileg