
CVE catalog
CVE-2009-4142
php5 - multiple vulnerabilities
- 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.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | php5 | 5.0 | 5.2.6.dfsg.1-1+lenny2 | vulnerable |
| Debian | php5 | 5.0 | 5.2.6.dfsg.1-1+lenny3 | vulnerable |
| Debian | php5 | 5.0 | 5.2.6.dfsg.1-1+lenny4 | vulnerable |
| Debian | php5 | 5.0 | 5.2.6.dfsg.1-1+lenny6 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | php5 | deb | 5.0 | 5.2.6.dfsg.1-1+lenny6 | Not reported | DSA-2001-1 | Not reported |
OpenFactory catalog packages
No matching packages in this catalog.
Observed: