CVE Vulnerabilities

CVE-2004-0642

Double Free

Published: Sep 28, 2004 | Modified: Apr 16, 2026
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
7.5 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM

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

The product calls free() twice on the same memory address.

Affected Software

NameVendorStart VersionEnd Version
Kerberos_5Mit*1.3.4 (including)
Red Hat Enterprise Linux 3RedHatkrb5-0:1.2.7-28*
Red Hat Enterprise Linux AS (Advanced Server) version 2.1RedHat*
Red Hat Enterprise Linux ES version 2.1RedHat*
Red Hat Enterprise Linux WS version 2.1RedHat*
Red Hat Linux Advanced Workstation 2.1RedHat*
Krb5Ubuntudapper*
Krb5Ubuntudevel*
Krb5Ubuntuedgy*
Krb5Ubuntufeisty*

Potential Mitigations

References