Input validation error in PHP - CVE-2007-6039

 

Input validation error in PHP - CVE-2007-6039

Published: October 15, 2018 / Updated: June 12, 2025


Vulnerability identifier: #VU110353
CSH Severity: Low
CVSS v4.0:
CVE-ID: CVE-2007-6039
CWE-ID: CWE-20
Exploitation vector: Local access
Exploit availability: Public exploit is available
Vendor: PHP Group
Affected software:
PHP

Detailed vulnerability description

The vulnerability allows context-dependent attackers to perform a denial of service (DoS) attack.

The vulnerability exists due to insufficient validation of user-supplied input. A remote attacker can cause a denial of service (application crash) via a long string in (1) the domain parameter to the dgettext function, the message parameter to the (2) dcgettext or (3) gettext function, the msgid1 parameter to the (4) dngettext or (5) ngettext function, or (6) the classname parameter to the stream_wrapper_register function.


How to mitigate CVE-2007-6039

Install update from vendor's website.

Sources