01 Record
CVE-2009-4142
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
UnratedPUBLISHEDCNA: redhat
CNA base scoreUnratedNo CNA CVSS vector
02 Description
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
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 6.49% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 93.6% of scored records. A rank, not a probability.
- NVD base score
- The NVD has published no score for this record
- NVD CVSS vector
- No NVD score to derive
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-16.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2009-12-21 16:00Z16 YR AGO
- Last updated
- 2024-08-07 06:54Z2 YR AGO
- Reserved
- 2009-12-01
- Assigning CNA
- redhat
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- CWE-79Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')Base
- Data version
- 5.1
- Document digest
- 5b669aed45b3d9721fd1bf8aef70cc226031cadaff9d4fd865a880111e8c5bee
05 Affected products
06 References
- www.securityfocus.com37389http://www.securityfocus.com/bid/37389
- www.php.nethttp://www.php.net/releases/5_2_12.php
- bugs.php.nethttp://bugs.php.net/bug.php?id=49785
- secunia.com40262http://secunia.com/advisories/40262
- marc.infoHPSBUX02543http://marc.info/?l=bugtraq&m=127680701405735&w=2
- securitytracker.com1023372http://securitytracker.com/id?1023372
- secunia.com37821http://secunia.com/advisories/37821
- secunia.com38648http://secunia.com/advisories/38648
- lists.apple.comAPPLE-SA-2010-03-29-1http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html
- www.php.nethttp://www.php.net/ChangeLog-5.php
- oval.cisecurity.orgoval:org.mitre.oval:def:7085https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A7085
- oval.cisecurity.orgoval:org.mitre.oval:def:10005https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10005
- support.apple.comhttp://support.apple.com/kb/HT4077
- www.vupen.comADV-2009-3593http://www.vupen.com/english/advisories/2009/3593
- www.debian.orgDSA-2001http://www.debian.org/security/2010/dsa-2001