CVE catalog

CVE-2009-4142

php5 - multiple vulnerabilities

[CVE catalog]

Severity
Unknown
Published
Updated
Source
[NVD] · [CVE record]
EPSS
6.50% · Oct 25, 2026

The htmlspecialchars function in PHP before 5.2.12 does not properly handle (1) overlong UTF-8 sequences, (2) invalid Shift_JIS sequences, and (3) invalid EUC-JP sequences, which allows remote attackers to conduct cross-site scripting (XSS) attacks by placing a crafted byte sequence before a special character. php: htmlspecialchars() insufficient checking of input for multi-byte encodings The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianphp55.05.2.6.dfsg.1-1+lenny2vulnerable
Debianphp55.05.2.6.dfsg.1-1+lenny3vulnerable
Debianphp55.05.2.6.dfsg.1-1+lenny4vulnerable
Debianphp55.05.2.6.dfsg.1-1+lenny6fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianphp5deb5.05.2.6.dfsg.1-1+lenny6Not reportedDSA-2001-1Not reported

OpenFactory catalog packages

No matching packages in this catalog.

Observed:

References