CVE-2011-1148: Use-after-free vulnerability in the substr_replace function in PHP 5.3.6 and earlier allows context-dependent attackers to cause a denial of…
Noroxi assessment
Priority: Monitor (action score 31/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: 4.7% (FIRST EPSS); higher than 92% of all records.
- No special conditions are required; it is repeatable.
- Fixed version: php5 (Debian:6.0) 5.3.3-7+squeeze8; php (Red Hat:enterprise_linux:5::client_workstation) 0:5.1.6-27.el5_7.4; php-bcmath (Red Hat:enterprise_linux:5::client_workstation) 0:5.1.6-27.el5_7.4.
Low priority for now. Upgrade to php5 (Debian:6.0) 5.3.3-7+squeeze8; php (Red Hat:enterprise_linux:5::client_workstation) 0:5.1.6-27.el5_7.4; php-bcmath (Red Hat:enterprise_linux:5::client_workstation) 0:5.1.6-27.el5_7.4 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
Use-after-free vulnerability in the substr_replace function in PHP 5.3.6 and earlier allows context-dependent attackers to cause a denial of service (memory corruption) or possibly have unspecified other impact by using the same variable for multiple arguments.
- Published
- Mar 18, 2011
- Updated
- Jun 16, 2026
- EPSS
- 4.7% · 92th percentile
- CWE
- CWE-399
Report tools
Action score
31
Low priority for now.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 4.7%
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.6 inclusive
- php php1.0
- php php2.0
- php php2.0b10
- php php3.0
- php php3.0.1
- php php3.0.10
- php php3.0.11
+12 more rows
- php php3.0.12
- php php3.0.13
- php php3.0.14
- php php3.0.15
- php php3.0.16
- php php3.0.17
- php php3.0.18
- php php3.0.2
- php php3.0.3
- php php3.0.4
- php php3.0.5
- php php3.0.6
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:6.0 | php5 | before 5.3.3-7+squeeze8 | 5.3.3-7+squeeze8 |
| Red Hat:enterprise_linux:5::client_workstation | php | before 0:5.1.6-27.el5_7.4 | 0:5.1.6-27.el5_7.4 |
| Red Hat:enterprise_linux:5::client_workstation | php-bcmath | before 0:5.1.6-27.el5_7.4 | 0:5.1.6-27.el5_7.4 |
| Red Hat:enterprise_linux:5::client_workstation | php-cli | before 0:5.1.6-27.el5_7.4 | 0:5.1.6-27.el5_7.4 |
| Red Hat:enterprise_linux:5::client_workstation | php-common | before 0:5.1.6-27.el5_7.4 | 0:5.1.6-27.el5_7.4 |
| Red Hat:enterprise_linux:5::client_workstation | php-dba | before 0:5.1.6-27.el5_7.4 | 0:5.1.6-27.el5_7.4 |
| Red Hat:enterprise_linux:5::client_workstation | php-debuginfo | before 0:5.1.6-27.el5_7.4 | 0:5.1.6-27.el5_7.4 |
| Red Hat:enterprise_linux:5::client_workstation | php-devel | before 0:5.1.6-27.el5_7.4 | 0:5.1.6-27.el5_7.4 |
| Red Hat:enterprise_linux:5::client_workstation | php-gd | before 0:5.1.6-27.el5_7.4 | 0:5.1.6-27.el5_7.4 |
| Red Hat:enterprise_linux:5::client_workstation | php-imap | before 0:5.1.6-27.el5_7.4 | 0:5.1.6-27.el5_7.4 |
| Red Hat:enterprise_linux:5::client_workstation | php-ldap | before 0:5.1.6-27.el5_7.4 | 0:5.1.6-27.el5_7.4 |
| Red Hat:enterprise_linux:5::client_workstation | php-mbstring | before 0:5.1.6-27.el5_7.4 | 0:5.1.6-27.el5_7.4 |
| Red Hat:enterprise_linux:5::client_workstation | php-mysql | before 0:5.1.6-27.el5_7.4 | 0:5.1.6-27.el5_7.4 |
| Red Hat:enterprise_linux:5::client_workstation | php-ncurses | before 0:5.1.6-27.el5_7.4 | 0:5.1.6-27.el5_7.4 |
| Red Hat:enterprise_linux:5::client_workstation | php-odbc | before 0:5.1.6-27.el5_7.4 | 0:5.1.6-27.el5_7.4 |
| Red Hat:enterprise_linux:5::client_workstation | php-pdo | before 0:5.1.6-27.el5_7.4 | 0:5.1.6-27.el5_7.4 |
| Red Hat:enterprise_linux:5::client_workstation | php-pgsql | before 0:5.1.6-27.el5_7.4 | 0:5.1.6-27.el5_7.4 |
| Red Hat:enterprise_linux:5::client_workstation | php-snmp | before 0:5.1.6-27.el5_7.4 | 0:5.1.6-27.el5_7.4 |
| Red Hat:enterprise_linux:5::client_workstation | php-soap | before 0:5.1.6-27.el5_7.4 | 0:5.1.6-27.el5_7.4 |
| Red Hat:enterprise_linux:5::client_workstation | php-xml | before 0:5.1.6-27.el5_7.4 | 0:5.1.6-27.el5_7.4 |
| Red Hat:enterprise_linux:5::client_workstation | php-xmlrpc | before 0:5.1.6-27.el5_7.4 | 0:5.1.6-27.el5_7.4 |
| Red Hat:enterprise_linux:5::client_workstation | php53 | before 0:5.3.3-1.el5_7.3 | 0:5.3.3-1.el5_7.3 |
| Red Hat:enterprise_linux:5::client_workstation | php53-bcmath | before 0:5.3.3-1.el5_7.3 | 0:5.3.3-1.el5_7.3 |
| Red Hat:enterprise_linux:5::client_workstation | php53-cli | before 0:5.3.3-1.el5_7.3 | 0:5.3.3-1.el5_7.3 |
+46
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-1092Mar 15, 2011 · Integer overflow in ext/shmop/shmop.c in PHP before 5.3.6 allows context-dependent attackers to cause a denial of service (crash) and…35Monitor
- ← EarlierCVE-2011-1153Mar 16, 2011 · Multiple format string vulnerabilities in phar_object.c in the phar extension in PHP 5.3.5 and earlier allow context-dependent attackers to…32Monitor
- Later →CVE-2011-0421Mar 19, 2011 · The _zip_name_locate function in zip_name_locate.c in the Zip extension in PHP before 5.3.6 does not properly handle a…21Monitor
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+squeeze8 · Debian:6.0 | Package registry (OSV) |
| red hat:php53 | 0:5.3.3-1.el5_7.3 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:php53-bcmath | 0:5.3.3-1.el5_7.3 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:php53-cli | 0:5.3.3-1.el5_7.3 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:php53-common | 0:5.3.3-1.el5_7.3 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:php53-dba | 0:5.3.3-1.el5_7.3 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:php53-debuginfo | 0:5.3.3-1.el5_7.3 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:php53-devel | 0:5.3.3-1.el5_7.3 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:php53-gd | 0:5.3.3-1.el5_7.3 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:php53-imap | 0:5.3.3-1.el5_7.3 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:php53-intl | 0:5.3.3-1.el5_7.3 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:php53-ldap | 0:5.3.3-1.el5_7.3 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:php53-mbstring | 0:5.3.3-1.el5_7.3 · 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
- P · the service can be disrupted
- Attack complexity
- Low
- Confidentiality impact
- P
- Integrity impact
- P
- Availability impact
- P
Weakness class (CWE)
CWE-399 · Resource Management ErrorsCVSS vector
AV:N/AC:L/Au:N/C:P/I:P/A:P
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 (13 more)Show less
- lists.apple.com/archives/security-announce/2012/Feb/msg00000.html
- marc.info/?l=bugtraq&m=133469208622507&w=2
- openwall.com/lists/oss-security/2011/03/13/2
- openwall.com/lists/oss-security/2011/03/13/3
- openwall.com/lists/oss-security/2011/03/13/9
- support.apple.com/kb/HT5130
- www.mandriva.com/security/advisories?name=MDVSA-2011:165
- www.php.net/ChangeLog-5.php#5.3.7
- www.php.net/archive/2011.php#id2011-08-18-1
- www.redhat.com/support/errata/RHSA-2011-1423.html
- www.securityfocus.com/bid/46843
- www.securityfocus.com/bid/49241
- exchange.xforce.ibmcloud.com/vulnerabilities/66080
Vendor advisories and official records. Exploit/PoC links are deliberately left out.