Resource management error in PHP - CVE-2006-1991

 

Resource management error in PHP - CVE-2006-1991

Published: July 20, 2017 / Updated: June 8, 2025


Vulnerability identifier: #VU110485
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2006-1991
CWE-ID: CWE-399
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to manipulate or delete data.

The substr_compare function in string.c in PHP 5.1.2 allows context-dependent attackers to cause a denial of service (memory access violation) via an out-of-bounds offset argument.


Affected software

PHP
Gentoo Linux
dev-lang/php

How to mitigate CVE-2006-1991

Install update from vendor's website.

PHP - update to 5.1.3
dev-lang/php - addressed in versions 5.1.4-r4, 5.1.4-r6

External References

Related Security Bulletins