CVE-2004-0642 Use after free in n/a

High 7.5 Published Updated

Remote attackers can execute arbitrary code via double free vulnerabilities in MIT Kerberos ASN.1 decoders.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2004-0642?

CVE-2004-0642 is a high-severity use after free vulnerability in Debian Debian Linux, published on 10 Sep 2004. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Double free vulnerabilities in the error handling code for ASN.1 decoders in the (1) Key Distribution Center (KDC) library and (2) client library for MIT Kerberos 5 (krb5) 1.3.4 and earlier may allow remote attackers to execute arbitrary code.

Weakness: CWE-415

Which versions are affected by CVE-2004-0642?

It affects 5 products.

Products include Debian Debian Linux, Mit Kerberos 5, Redhat Enterprise Linux Desktop, Redhat Enterprise Linux Server, Redhat Enterprise Linux Workstation.

How do I fix CVE-2004-0642?

Upgrade to a fixed version.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2004-0642 being exploited?

There is no known exploitation of CVE-2004-0642 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2004-0642, GHSA-9vx5-gccr-9gr3.

Is CVE-2004-0642 in your software?

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

Check your SBOMs for free