CVE-2012-0057: PHP before 5.3.9 has improper libxslt security settings, which allows remote attackers to create arbitrary files via a crafted XSLT…
Noroxi assessment
Priority: Monitor (action score 26/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 3% (FIRST EPSS); higher than 87.7% of all records.
- No special conditions are required; it is repeatable.
- Fixed version: php5 (Debian:5.0) 5.2.6.dfsg.1-1+lenny14; php5 (Debian:6.0) 5.3.3-7+squeeze5; php (Red Hat:enterprise_linux:5::client_workstation) 0:5.1.6-39.el5_8.
Low priority for now. Upgrade to php5 (Debian:5.0) 5.2.6.dfsg.1-1+lenny14; php5 (Debian:6.0) 5.3.3-7+squeeze5; php (Red Hat:enterprise_linux:5::client_workstation) 0:5.1.6-39.el5_8 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
PHP before 5.3.9 has improper libxslt security settings, which allows remote attackers to create arbitrary files via a crafted XSLT stylesheet that uses the libxslt output extension.
- Published
- Feb 1, 2012
- Updated
- Jun 16, 2026
- EPSS
- 3.0% · 87th percentile
- CWE
- CWE-264
Report tools
Action score
26
Low priority for now.
- CVSS
- 25 / 40 · 6.4 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 3.0%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| php | php | cpe:2.3:a:php:php |
Using php? Add it to your stack and be the first to know about CVEs like this one. (PHP)
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- php phpup to 5.3.8 inclusive
- php php5.0.0
- php php5.0.1
- php php5.0.2
- php php5.0.3
- php php5.0.4
- php php5.0.5
- php php5.1.0
+12 more rows
- php php5.1.1
- php php5.1.2
- php php5.1.3
- php php5.1.4
- php php5.1.5
- php php5.1.6
- php php5.2.0
- php php5.2.1
- php php5.2.10
- php php5.2.11
- php php5.2.12
- php php5.2.13
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:5.0 | php5 | before 5.2.6.dfsg.1-1+lenny14 | 5.2.6.dfsg.1-1+lenny14 |
| Debian:6.0 | php5 | before 5.3.3-7+squeeze5 | 5.3.3-7+squeeze5 |
| Red Hat:enterprise_linux:5::client_workstation | php | before 0:5.1.6-39.el5_8 | 0:5.1.6-39.el5_8 |
| Red Hat:enterprise_linux:5::client_workstation | php-bcmath | before 0:5.1.6-39.el5_8 | 0:5.1.6-39.el5_8 |
| Red Hat:enterprise_linux:5::client_workstation | php-cli | before 0:5.1.6-39.el5_8 | 0:5.1.6-39.el5_8 |
| Red Hat:enterprise_linux:5::client_workstation | php-common | before 0:5.1.6-39.el5_8 | 0:5.1.6-39.el5_8 |
| Red Hat:enterprise_linux:5::client_workstation | php-dba | before 0:5.1.6-39.el5_8 | 0:5.1.6-39.el5_8 |
| Red Hat:enterprise_linux:5::client_workstation | php-debuginfo | before 0:5.1.6-39.el5_8 | 0:5.1.6-39.el5_8 |
| Red Hat:enterprise_linux:5::client_workstation | php-devel | before 0:5.1.6-39.el5_8 | 0:5.1.6-39.el5_8 |
| Red Hat:enterprise_linux:5::client_workstation | php-gd | before 0:5.1.6-39.el5_8 | 0:5.1.6-39.el5_8 |
| Red Hat:enterprise_linux:5::client_workstation | php-imap | before 0:5.1.6-39.el5_8 | 0:5.1.6-39.el5_8 |
| Red Hat:enterprise_linux:5::client_workstation | php-ldap | before 0:5.1.6-39.el5_8 | 0:5.1.6-39.el5_8 |
| Red Hat:enterprise_linux:5::client_workstation | php-mbstring | before 0:5.1.6-39.el5_8 | 0:5.1.6-39.el5_8 |
| Red Hat:enterprise_linux:5::client_workstation | php-mysql | before 0:5.1.6-39.el5_8 | 0:5.1.6-39.el5_8 |
| Red Hat:enterprise_linux:5::client_workstation | php-ncurses | before 0:5.1.6-39.el5_8 | 0:5.1.6-39.el5_8 |
| Red Hat:enterprise_linux:5::client_workstation | php-odbc | before 0:5.1.6-39.el5_8 | 0:5.1.6-39.el5_8 |
| Red Hat:enterprise_linux:5::client_workstation | php-pdo | before 0:5.1.6-39.el5_8 | 0:5.1.6-39.el5_8 |
| Red Hat:enterprise_linux:5::client_workstation | php-pgsql | before 0:5.1.6-39.el5_8 | 0:5.1.6-39.el5_8 |
| Red Hat:enterprise_linux:5::client_workstation | php-snmp | before 0:5.1.6-39.el5_8 | 0:5.1.6-39.el5_8 |
| Red Hat:enterprise_linux:5::client_workstation | php-soap | before 0:5.1.6-39.el5_8 | 0:5.1.6-39.el5_8 |
| Red Hat:enterprise_linux:5::client_workstation | php-xml | before 0:5.1.6-39.el5_8 | 0:5.1.6-39.el5_8 |
| Red Hat:enterprise_linux:5::client_workstation | php-xmlrpc | before 0:5.1.6-39.el5_8 | 0:5.1.6-39.el5_8 |
| Red Hat:enterprise_linux:5::client_workstation | php53 | before 0:5.3.3-13.el5_8 | 0:5.3.3-13.el5_8 |
| Red Hat:enterprise_linux:5::client_workstation | php53-bcmath | before 0:5.3.3-13.el5_8 | 0:5.3.3-13.el5_8 |
+47
Same product
php: all recordsOther highest-scoring records for the same primary product.
- CVE-2024-4577Argument Injection in PHP-CGIKEV99Now
- CVE-2019-11043Underflow in PHP-FPM can lead to RCEKEV99Now
- CVE-2012-1823sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not properly handle…KEV99Now
Published before and after this one in the same product
- ← EarlierCVE-2011-4153Jan 18, 2012 · PHP 5.3.8 does not always check the return value of the zend_strndup function, which might allow remote attackers to cause a denial of…24Monitor
- ← EarlierCVE-2012-0781Jan 18, 2012 · The tidy_diagnose function in PHP 5.3.8 might allow remote attackers to cause a denial of service (NULL pointer dereference and application…23Monitor
- Later →CVE-2012-0830Feb 6, 2012 · The php_register_variable_ex function in php_variables.c in PHP 5.3.9 allows remote attackers to execute arbitrary code via a request…39Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:php5 | 5.3.3-7+squeeze5 · Debian:6.0 | Package registry (OSV) |
| red hat:php | 0:5.1.6-39.el5_8 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:php-bcmath | 0:5.1.6-39.el5_8 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:php-cli | 0:5.1.6-39.el5_8 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:php-common | 0:5.1.6-39.el5_8 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:php-dba | 0:5.1.6-39.el5_8 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:php-debuginfo | 0:5.1.6-39.el5_8 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:php-devel | 0:5.1.6-39.el5_8 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:php-gd | 0:5.1.6-39.el5_8 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:php-imap | 0:5.1.6-39.el5_8 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:php-ldap | 0:5.1.6-39.el5_8 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:php-mbstring | 0:5.1.6-39.el5_8 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:php-mysql | 0:5.1.6-39.el5_8 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- P · data can be read
- Integrity
- P · data or configuration can be modified
- Availability
- none
- Attack complexity
- Low
- Confidentiality impact
- P
- Integrity impact
- P
- Availability impact
- None
Weakness class (CWE)
CWE-264 · Permissions, Privileges, and Access ControlsCVSS vector
AV:N/AC:L/Au:N/C:P/I:P/A:N
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (19 more)Show less
- lists.opensuse.org/opensuse-security-announce/2012-03/msg00013.html
- lists.opensuse.org/opensuse-security-announce/2012-03/msg00016.html
- lists.opensuse.org/opensuse-security-announce/2012-04/msg00001.html
- openwall.com/lists/oss-security/2012/01/13/10
- openwall.com/lists/oss-security/2012/01/13/4
- openwall.com/lists/oss-security/2012/01/13/5
- openwall.com/lists/oss-security/2012/01/13/6
- openwall.com/lists/oss-security/2012/01/13/7
- openwall.com/lists/oss-security/2012/01/14/1
- openwall.com/lists/oss-security/2012/01/14/2
- openwall.com/lists/oss-security/2012/01/14/3
- openwall.com/lists/oss-security/2012/01/15/1
- openwall.com/lists/oss-security/2012/01/15/10
- openwall.com/lists/oss-security/2012/01/15/2
- openwall.com/lists/oss-security/2012/01/18/3
- php.net/ChangeLog-5.php#5.3.9
- secunia.com/advisories/48668
- www.debian.org/security/2012/dsa-2399
- bugs.php.net/bug.php?id=54446
Vendor advisories and official records. Exploit/PoC links are deliberately left out.