Out-of-bounds write in libtASN1 - CVE-2006-0645

 

Out-of-bounds write in libtASN1 - CVE-2006-0645

Published: April 30, 2026


Vulnerability identifier: #VU128533
CSH Severity: Critical
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2006-0645
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in DER decoder when processing SSL traffic. A remote attacker can send specially crafted packets to the application, trigger an out-of-bounds write and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

libtASN1
GnuTLS
Debian Linux
libtasn1-2 (Debian package)
gnutls11 (Debian package)

How to mitigate CVE-2006-0645

Install updates from vendor's website.

libtASN1 - update to 0.2.18
GnuTLS - addressed in versions 1.2.10, 1.3.4
libtasn1-2 (Debian package) - update to 0.2.10-3sarge1
gnutls11 (Debian package) - update to 1.0.16-13.2

External References

Related Security Bulletins