Every CVE Search/ Get API key

CVE-2011-1148

Use-after-free vulnerability in the substr_replace function in PHP 5.3.6 and earlier allows...

7.5 HighFix available

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.

Exploit likelihood

4.74%Up 2.1 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 7.5

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.

Record
CVE-2011-1148
CVSS 2.0
7.5 HighAV:N/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-399
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2011-1148
Updated
2026-11-02
EUVDEUVD-2011-1162 No score

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.

Record
EUVD-2011-1162
Updated
2026-11-03
GitHub AdvisoriesGHSA-w6xh-r634-49c8 No score

Use-after-free vulnerability in the substr_replace function in PHP 5.3.6 and earlier allows...

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.

Record
GHSA-w6xh-r634-49c8
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
php5
Debian:6.0
before 5.3.3-7+squeeze8, plus listed versions
5.3.3-75.3.3-7+squeeze15.3.3-7+squeeze25.3.3-7+squeeze35.3.3-7+squeeze55.3.3-7+squeeze65.3.3-7+squeeze7
5.3.3-7+squeeze8
php53
Red Hat:enterprise_linux:5::client_workstation
before 0:5.3.3-1.el5_7.3
0:5.3.3-1.el5_7.3
php53-bcmath
Red Hat:enterprise_linux:5::client_workstation
before 0:5.3.3-1.el5_7.3
0:5.3.3-1.el5_7.3
php53-cli
Red Hat:enterprise_linux:5::client_workstation
before 0:5.3.3-1.el5_7.3
0:5.3.3-1.el5_7.3
php53-common
Red Hat:enterprise_linux:5::client_workstation
before 0:5.3.3-1.el5_7.3
0:5.3.3-1.el5_7.3
php53-dba
Red Hat:enterprise_linux:5::client_workstation
before 0:5.3.3-1.el5_7.3
0:5.3.3-1.el5_7.3
php53-debuginfo
Red Hat:enterprise_linux:5::client_workstation
before 0:5.3.3-1.el5_7.3
0:5.3.3-1.el5_7.3
php53-devel
Red Hat:enterprise_linux:5::client_workstation
before 0:5.3.3-1.el5_7.3
0:5.3.3-1.el5_7.3
php53-gd
Red Hat:enterprise_linux:5::client_workstation
before 0:5.3.3-1.el5_7.3
0:5.3.3-1.el5_7.3
php53-imap
Red Hat:enterprise_linux:5::client_workstation
before 0:5.3.3-1.el5_7.3
0:5.3.3-1.el5_7.3
Show 102 moreShow less
Affected packages
PackageAffectedFixed
php53-intl
Red Hat:enterprise_linux:5::client_workstation
before 0:5.3.3-1.el5_7.3
0:5.3.3-1.el5_7.3
php53-ldap
Red Hat:enterprise_linux:5::client_workstation
before 0:5.3.3-1.el5_7.3
0:5.3.3-1.el5_7.3
php53-mbstring
Red Hat:enterprise_linux:5::client_workstation
before 0:5.3.3-1.el5_7.3
0:5.3.3-1.el5_7.3
php53-mysql
Red Hat:enterprise_linux:5::client_workstation
before 0:5.3.3-1.el5_7.3
0:5.3.3-1.el5_7.3
php53-odbc
Red Hat:enterprise_linux:5::client_workstation
before 0:5.3.3-1.el5_7.3
0:5.3.3-1.el5_7.3
php53-pdo
Red Hat:enterprise_linux:5::client_workstation
before 0:5.3.3-1.el5_7.3
0:5.3.3-1.el5_7.3
php53-pgsql
Red Hat:enterprise_linux:5::client_workstation
before 0:5.3.3-1.el5_7.3
0:5.3.3-1.el5_7.3
php53-process
Red Hat:enterprise_linux:5::client_workstation
before 0:5.3.3-1.el5_7.3
0:5.3.3-1.el5_7.3
php53-pspell
Red Hat:enterprise_linux:5::client_workstation
before 0:5.3.3-1.el5_7.3
0:5.3.3-1.el5_7.3
php53-snmp
Red Hat:enterprise_linux:5::client_workstation
before 0:5.3.3-1.el5_7.3
0:5.3.3-1.el5_7.3
php53-soap
Red Hat:enterprise_linux:5::client_workstation
before 0:5.3.3-1.el5_7.3
0:5.3.3-1.el5_7.3
php53-xml
Red Hat:enterprise_linux:5::client_workstation
before 0:5.3.3-1.el5_7.3
0:5.3.3-1.el5_7.3
php53-xmlrpc
Red Hat:enterprise_linux:5::client_workstation
before 0:5.3.3-1.el5_7.3
0:5.3.3-1.el5_7.3
php53
Red Hat:enterprise_linux:5::server
before 0:5.3.3-1.el5_7.3
0:5.3.3-1.el5_7.3
php53-bcmath
Red Hat:enterprise_linux:5::server
before 0:5.3.3-1.el5_7.3
0:5.3.3-1.el5_7.3
php53-cli
Red Hat:enterprise_linux:5::server
before 0:5.3.3-1.el5_7.3
0:5.3.3-1.el5_7.3
php53-common
Red Hat:enterprise_linux:5::server
before 0:5.3.3-1.el5_7.3
0:5.3.3-1.el5_7.3
php53-dba
Red Hat:enterprise_linux:5::server
before 0:5.3.3-1.el5_7.3
0:5.3.3-1.el5_7.3
php53-debuginfo
Red Hat:enterprise_linux:5::server
before 0:5.3.3-1.el5_7.3
0:5.3.3-1.el5_7.3
php53-devel
Red Hat:enterprise_linux:5::server
before 0:5.3.3-1.el5_7.3
0:5.3.3-1.el5_7.3
php53-gd
Red Hat:enterprise_linux:5::server
before 0:5.3.3-1.el5_7.3
0:5.3.3-1.el5_7.3
php53-imap
Red Hat:enterprise_linux:5::server
before 0:5.3.3-1.el5_7.3
0:5.3.3-1.el5_7.3
php53-intl
Red Hat:enterprise_linux:5::server
before 0:5.3.3-1.el5_7.3
0:5.3.3-1.el5_7.3
php53-ldap
Red Hat:enterprise_linux:5::server
before 0:5.3.3-1.el5_7.3
0:5.3.3-1.el5_7.3
php53-mbstring
Red Hat:enterprise_linux:5::server
before 0:5.3.3-1.el5_7.3
0:5.3.3-1.el5_7.3
php53-mysql
Red Hat:enterprise_linux:5::server
before 0:5.3.3-1.el5_7.3
0:5.3.3-1.el5_7.3
php53-odbc
Red Hat:enterprise_linux:5::server
before 0:5.3.3-1.el5_7.3
0:5.3.3-1.el5_7.3
php53-pdo
Red Hat:enterprise_linux:5::server
before 0:5.3.3-1.el5_7.3
0:5.3.3-1.el5_7.3
php53-pgsql
Red Hat:enterprise_linux:5::server
before 0:5.3.3-1.el5_7.3
0:5.3.3-1.el5_7.3
php53-process
Red Hat:enterprise_linux:5::server
before 0:5.3.3-1.el5_7.3
0:5.3.3-1.el5_7.3
php53-pspell
Red Hat:enterprise_linux:5::server
before 0:5.3.3-1.el5_7.3
0:5.3.3-1.el5_7.3
php53-snmp
Red Hat:enterprise_linux:5::server
before 0:5.3.3-1.el5_7.3
0:5.3.3-1.el5_7.3
php53-soap
Red Hat:enterprise_linux:5::server
before 0:5.3.3-1.el5_7.3
0:5.3.3-1.el5_7.3
php53-xml
Red Hat:enterprise_linux:5::server
before 0:5.3.3-1.el5_7.3
0:5.3.3-1.el5_7.3
php53-xmlrpc
Red Hat:enterprise_linux:5::server
before 0:5.3.3-1.el5_7.3
0:5.3.3-1.el5_7.3
php
Red Hat:enterprise_linux:6::server
before 0:5.3.3-3.el6_1.3
0:5.3.3-3.el6_1.3
php-cli
Red Hat:enterprise_linux:6::server
before 0:5.3.3-3.el6_1.3
0:5.3.3-3.el6_1.3
php-common
Red Hat:enterprise_linux:6::server
before 0:5.3.3-3.el6_1.3
0:5.3.3-3.el6_1.3
php-debuginfo
Red Hat:enterprise_linux:6::server
before 0:5.3.3-3.el6_1.3
0:5.3.3-3.el6_1.3
php-gd
Red Hat:enterprise_linux:6::server
before 0:5.3.3-3.el6_1.3
0:5.3.3-3.el6_1.3
php-ldap
Red Hat:enterprise_linux:6::server
before 0:5.3.3-3.el6_1.3
0:5.3.3-3.el6_1.3
php-mysql
Red Hat:enterprise_linux:6::server
before 0:5.3.3-3.el6_1.3
0:5.3.3-3.el6_1.3
php-odbc
Red Hat:enterprise_linux:6::server
before 0:5.3.3-3.el6_1.3
0:5.3.3-3.el6_1.3
php-pdo
Red Hat:enterprise_linux:6::server
before 0:5.3.3-3.el6_1.3
0:5.3.3-3.el6_1.3
php-pgsql
Red Hat:enterprise_linux:6::server
before 0:5.3.3-3.el6_1.3
0:5.3.3-3.el6_1.3
php-soap
Red Hat:enterprise_linux:6::server
before 0:5.3.3-3.el6_1.3
0:5.3.3-3.el6_1.3
php-xml
Red Hat:enterprise_linux:6::server
before 0:5.3.3-3.el6_1.3
0:5.3.3-3.el6_1.3
php-xmlrpc
Red Hat:enterprise_linux:6::server
before 0:5.3.3-3.el6_1.3
0:5.3.3-3.el6_1.3
php-bcmath
Red Hat:enterprise_linux:6::server
before 0:5.3.3-3.el6_1.3
0:5.3.3-3.el6_1.3
php-dba
Red Hat:enterprise_linux:6::server
before 0:5.3.3-3.el6_1.3
0:5.3.3-3.el6_1.3
php-devel
Red Hat:enterprise_linux:6::server
before 0:5.3.3-3.el6_1.3
0:5.3.3-3.el6_1.3
php-embedded
Red Hat:enterprise_linux:6::server
before 0:5.3.3-3.el6_1.3
0:5.3.3-3.el6_1.3
php-enchant
Red Hat:enterprise_linux:6::server
before 0:5.3.3-3.el6_1.3
0:5.3.3-3.el6_1.3
php-imap
Red Hat:enterprise_linux:6::server
before 0:5.3.3-3.el6_1.3
0:5.3.3-3.el6_1.3
php-intl
Red Hat:enterprise_linux:6::server
before 0:5.3.3-3.el6_1.3
0:5.3.3-3.el6_1.3
php-mbstring
Red Hat:enterprise_linux:6::server
before 0:5.3.3-3.el6_1.3
0:5.3.3-3.el6_1.3
php-process
Red Hat:enterprise_linux:6::server
before 0:5.3.3-3.el6_1.3
0:5.3.3-3.el6_1.3
php-pspell
Red Hat:enterprise_linux:6::server
before 0:5.3.3-3.el6_1.3
0:5.3.3-3.el6_1.3
php-recode
Red Hat:enterprise_linux:6::server
before 0:5.3.3-3.el6_1.3
0:5.3.3-3.el6_1.3
php-snmp
Red Hat:enterprise_linux:6::server
before 0:5.3.3-3.el6_1.3
0:5.3.3-3.el6_1.3
php-tidy
Red Hat:enterprise_linux:6::server
before 0:5.3.3-3.el6_1.3
0:5.3.3-3.el6_1.3
php-zts
Red Hat:enterprise_linux:6::server
before 0:5.3.3-3.el6_1.3
0:5.3.3-3.el6_1.3
php
Red Hat:enterprise_linux:5::client_workstation
before 0:5.1.6-27.el5_7.4
0:5.1.6-27.el5_7.4
php-bcmath
Red Hat:enterprise_linux:5::client_workstation
before 0:5.1.6-27.el5_7.4
0:5.1.6-27.el5_7.4
php-cli
Red Hat:enterprise_linux:5::client_workstation
before 0:5.1.6-27.el5_7.4
0:5.1.6-27.el5_7.4
php-common
Red Hat:enterprise_linux:5::client_workstation
before 0:5.1.6-27.el5_7.4
0:5.1.6-27.el5_7.4
php-dba
Red Hat:enterprise_linux:5::client_workstation
before 0:5.1.6-27.el5_7.4
0:5.1.6-27.el5_7.4
php-debuginfo
Red Hat:enterprise_linux:5::client_workstation
before 0:5.1.6-27.el5_7.4
0:5.1.6-27.el5_7.4
php-devel
Red Hat:enterprise_linux:5::client_workstation
before 0:5.1.6-27.el5_7.4
0:5.1.6-27.el5_7.4
php-gd
Red Hat:enterprise_linux:5::client_workstation
before 0:5.1.6-27.el5_7.4
0:5.1.6-27.el5_7.4
php-imap
Red Hat:enterprise_linux:5::client_workstation
before 0:5.1.6-27.el5_7.4
0:5.1.6-27.el5_7.4
php-ldap
Red Hat:enterprise_linux:5::client_workstation
before 0:5.1.6-27.el5_7.4
0:5.1.6-27.el5_7.4
php-mbstring
Red Hat:enterprise_linux:5::client_workstation
before 0:5.1.6-27.el5_7.4
0:5.1.6-27.el5_7.4
php-mysql
Red Hat:enterprise_linux:5::client_workstation
before 0:5.1.6-27.el5_7.4
0:5.1.6-27.el5_7.4
php-ncurses
Red Hat:enterprise_linux:5::client_workstation
before 0:5.1.6-27.el5_7.4
0:5.1.6-27.el5_7.4
php-odbc
Red Hat:enterprise_linux:5::client_workstation
before 0:5.1.6-27.el5_7.4
0:5.1.6-27.el5_7.4
php-pdo
Red Hat:enterprise_linux:5::client_workstation
before 0:5.1.6-27.el5_7.4
0:5.1.6-27.el5_7.4
php-pgsql
Red Hat:enterprise_linux:5::client_workstation
before 0:5.1.6-27.el5_7.4
0:5.1.6-27.el5_7.4
php-snmp
Red Hat:enterprise_linux:5::client_workstation
before 0:5.1.6-27.el5_7.4
0:5.1.6-27.el5_7.4
php-soap
Red Hat:enterprise_linux:5::client_workstation
before 0:5.1.6-27.el5_7.4
0:5.1.6-27.el5_7.4
php-xml
Red Hat:enterprise_linux:5::client_workstation
before 0:5.1.6-27.el5_7.4
0:5.1.6-27.el5_7.4
php-xmlrpc
Red Hat:enterprise_linux:5::client_workstation
before 0:5.1.6-27.el5_7.4
0:5.1.6-27.el5_7.4
php
Red Hat:enterprise_linux:5::server
before 0:5.1.6-27.el5_7.4
0:5.1.6-27.el5_7.4
php-bcmath
Red Hat:enterprise_linux:5::server
before 0:5.1.6-27.el5_7.4
0:5.1.6-27.el5_7.4
php-cli
Red Hat:enterprise_linux:5::server
before 0:5.1.6-27.el5_7.4
0:5.1.6-27.el5_7.4
php-common
Red Hat:enterprise_linux:5::server
before 0:5.1.6-27.el5_7.4
0:5.1.6-27.el5_7.4
php-dba
Red Hat:enterprise_linux:5::server
before 0:5.1.6-27.el5_7.4
0:5.1.6-27.el5_7.4
php-debuginfo
Red Hat:enterprise_linux:5::server
before 0:5.1.6-27.el5_7.4
0:5.1.6-27.el5_7.4
php-devel
Red Hat:enterprise_linux:5::server
before 0:5.1.6-27.el5_7.4
0:5.1.6-27.el5_7.4
php-gd
Red Hat:enterprise_linux:5::server
before 0:5.1.6-27.el5_7.4
0:5.1.6-27.el5_7.4
php-imap
Red Hat:enterprise_linux:5::server
before 0:5.1.6-27.el5_7.4
0:5.1.6-27.el5_7.4
php-ldap
Red Hat:enterprise_linux:5::server
before 0:5.1.6-27.el5_7.4
0:5.1.6-27.el5_7.4
php-mbstring
Red Hat:enterprise_linux:5::server
before 0:5.1.6-27.el5_7.4
0:5.1.6-27.el5_7.4
php-mysql
Red Hat:enterprise_linux:5::server
before 0:5.1.6-27.el5_7.4
0:5.1.6-27.el5_7.4
php-ncurses
Red Hat:enterprise_linux:5::server
before 0:5.1.6-27.el5_7.4
0:5.1.6-27.el5_7.4
php-odbc
Red Hat:enterprise_linux:5::server
before 0:5.1.6-27.el5_7.4
0:5.1.6-27.el5_7.4
php-pdo
Red Hat:enterprise_linux:5::server
before 0:5.1.6-27.el5_7.4
0:5.1.6-27.el5_7.4
php-pgsql
Red Hat:enterprise_linux:5::server
before 0:5.1.6-27.el5_7.4
0:5.1.6-27.el5_7.4
php-snmp
Red Hat:enterprise_linux:5::server
before 0:5.1.6-27.el5_7.4
0:5.1.6-27.el5_7.4
php-soap
Red Hat:enterprise_linux:5::server
before 0:5.1.6-27.el5_7.4
0:5.1.6-27.el5_7.4
php-xml
Red Hat:enterprise_linux:5::server
before 0:5.1.6-27.el5_7.4
0:5.1.6-27.el5_7.4
php-xmlrpc
Red Hat:enterprise_linux:5::server
before 0:5.1.6-27.el5_7.4
0:5.1.6-27.el5_7.4

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2011-1148 is a high vulnerability (CVSS 7.5) in Php, published March 18, 2011. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 4.74%, the 91st percentile. Fixed in php5 5.3.3-7+squeeze8.

References

Show 59 moreShow less
MoveEnter Open