CVE-2004-0396 Memory corruption in n/a

High 7.5 Published Updated

Remote attackers can execute arbitrary code on CVS servers using the pserver mechanism via a heap-based buffer overflow in Entry lines.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2004-0396?

CVE-2004-0396 is a high-severity memory corruption vulnerability in n/a, published on 20 May 2004. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Which versions are affected by CVE-2004-0396?

It affects 1 product.

Linux distribution packages (8)
cvs Red Hat:enterprise_linux:3::asAll versions0:1.11.2-22
cvs-debuginfo Red Hat:enterprise_linux:3::asAll versions0:1.11.2-22
cvs Red Hat:enterprise_linux:3::desktopAll versions0:1.11.2-22
cvs-debuginfo Red Hat:enterprise_linux:3::desktopAll versions0:1.11.2-22
cvs Red Hat:enterprise_linux:3::esAll versions0:1.11.2-22
cvs-debuginfo Red Hat:enterprise_linux:3::esAll versions0:1.11.2-22
cvs Red Hat:enterprise_linux:3::wsAll versions0:1.11.2-22
cvs-debuginfo Red Hat:enterprise_linux:3::wsAll versions0:1.11.2-22

Products include Cvs Cvs.

How do I fix CVE-2004-0396?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2004-0396 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2004-0396 exists.

Public exploit code: 2 Exploit-DB entries.

Sources

Also known as DEBIAN-CVE-2004-0396, DSA-505, GHSA-qvjj-23hg-238h, RHSA-2004:190.

Is CVE-2004-0396 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free