CVE-2007-1286 json
Integer overflow in PHP 4.4.4 and earlier allows remote context-dependent attackers to execute arbitrary code via a long string to the unse…
published 2007-03-06 19 y ago modified 2026-06-16 4 mo ago also EUVD-2007-1283
- cvss
- 6.8
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 40.9%
- EPSS 40.9% chance of exploitation in 30 days, percentile 98%
- public exploits
- 4
- Metasploit, Exploit-DB
Summary
Integer overflow in PHP 4.4.4 and earlier allows remote context-dependent attackers to execute arbitrary code via a long string to the unserialize function, which triggers the overflow in the ZVAL reference counter.
Patch / fix
- php RHEL 3 4.3.2-40.ent
- php RHEL 4 4.3.9-3.22.4
- php-gd RHEL 4 4.3.9-3.22.4
- php-imap RHEL 3 4.3.2-40.ent
- php-imap RHEL 4 4.3.9-3.22.4
- php-ldap RHEL 3 4.3.2-40.ent
- php-ldap RHEL 4 4.3.9-3.22.4
- php-odbc RHEL 3 4.3.2-40.ent
red hat advisories RHSA-2007:0155RHSA-2007:0163RHSA-2007:0154
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2007-1286 updated
security flaw
-
Red Hat Desktop version 3 php 4.3.2-40.ent, php-imap 4.3.2-40.ent, php-ldap 4.3.2-40.ent, php-odbc 4.3.2-40.ent, php-mysql 4.3.2-40.ent, php-pgsql 4.3.2-40.entfixed: vendor fix RHSA-2007:0155
-
Red Hat Enterprise Linux AS (Advanced Server) version 2.1 php 4.1.2-2.17, php-imap 4.1.2-2.17, php-ldap 4.1.2-2.17, php-odbc 4.1.2-2.17, php-mysql 4.1.2-2.17, php-pgsql 4.1.2-2.17, +1 morefixed: vendor fix RHSA-2007:0154
-
Red Hat Enterprise Linux AS version 3 php 4.3.2-40.ent, php-imap 4.3.2-40.ent, php-ldap 4.3.2-40.ent, php-odbc 4.3.2-40.ent, php-mysql 4.3.2-40.ent, php-pgsql 4.3.2-40.ent Red Hat Enterprise Linux AS version 4 php 4.3.9-3.22.4, php-gd 4.3.9-3.22.4, php-imap 4.3.9-3.22.4, php-ldap 4.3.9-3.22.4, php-odbc 4.3.9-3.22.4, php-pear 4.3.9-3.22.4, +7 more Red Hat Enterprise Linux Desktop version 4 php 4.3.9-3.22.4, php-gd 4.3.9-3.22.4, php-imap 4.3.9-3.22.4, php-ldap 4.3.9-3.22.4, php-odbc 4.3.9-3.22.4, php-pear 4.3.9-3.22.4, +7 morefixed: vendor fix RHSA-2007:0155
-
Red Hat Enterprise Linux ES version 2.1 php 4.1.2-2.17, php-imap 4.1.2-2.17, php-ldap 4.1.2-2.17, php-odbc 4.1.2-2.17, php-mysql 4.1.2-2.17, php-pgsql 4.1.2-2.17, +1 morefixed: vendor fix RHSA-2007:0154
-
Red Hat Enterprise Linux ES version 3 php 4.3.2-40.ent, php-imap 4.3.2-40.ent, php-ldap 4.3.2-40.ent, php-odbc 4.3.2-40.ent, php-mysql 4.3.2-40.ent, php-pgsql 4.3.2-40.ent Red Hat Enterprise Linux ES version 4 php 4.3.9-3.22.4, php-gd 4.3.9-3.22.4, php-imap 4.3.9-3.22.4, php-ldap 4.3.9-3.22.4, php-odbc 4.3.9-3.22.4, php-pear 4.3.9-3.22.4, +7 morefixed: vendor fix RHSA-2007:0155
-
Red Hat Enterprise Linux WS version 2.1 php 4.1.2-2.17, php-imap 4.1.2-2.17, php-ldap 4.1.2-2.17, php-odbc 4.1.2-2.17, php-mysql 4.1.2-2.17, php-pgsql 4.1.2-2.17, +1 morefixed: vendor fix RHSA-2007:0154
-
Red Hat Enterprise Linux WS version 3 php 4.3.2-40.ent, php-imap 4.3.2-40.ent, php-ldap 4.3.2-40.ent, php-odbc 4.3.2-40.ent, php-mysql 4.3.2-40.ent, php-pgsql 4.3.2-40.ent Red Hat Enterprise Linux WS version 4 php 4.3.9-3.22.4, php-gd 4.3.9-3.22.4, php-imap 4.3.9-3.22.4, php-ldap 4.3.9-3.22.4, php-odbc 4.3.9-3.22.4, php-pear 4.3.9-3.22.4, +7 morefixed: vendor fix RHSA-2007:0155
-
Red Hat Linux Advanced Workstation 2.1 php 4.1.2-2.17, php-imap 4.1.2-2.17, php-ldap 4.1.2-2.17, php-odbc 4.1.2-2.17, php-mysql 4.1.2-2.17, php-pgsql 4.1.2-2.17, +1 morefixed: vendor fix RHSA-2007:0154
show 1 moreshow fewer
-
Red Hat Stronghold 4.0 for Red Hat Enterprise Linux AS (version 2.1) stronghold-php 4.1.2-15, stronghold-php-imap 4.1.2-15, stronghold-php-ldap 4.1.2-15, stronghold-php-odbc 4.1.2-15, stronghold-php-snmp 4.1.2-15, stronghold-php-mysql 4.1.2-15, +2 morefixed: vendor fix RHSA-2007:0163
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- First public exploit (EDB-9939)
- Published
Exploit prediction
40.89% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Metasploit exploit/multi/php/php_unserialize_zval_cookie PHP 4 unserialize() ZVAL Reference Counter Overflow (Cookie) metasploit exploit, average rank, 2007-03-04
- EDB-16310 PHP 4 - Unserialize() ZVAL Reference Counter Overflow (Cookie) (Metasploit) remote, 2010-09-20
- EDB-9939 PHP < 4.5.0 - Unserialize Overflow (Metasploit) remote, 2007-03-01
- EDB-3396 PHP 4.4.4 - 'Unserialize()' ZVAL Reference Counter Overflow (PoC) dos, 2007-03-02
- php-security.org http://www.php-security.org/MOPB/MOPB-04-2007.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
- Technology feeds
References
-
php-security.org
/MOPB/MOPB-04-2007.html
exploit, patch, vendor-advisory
-
trustix.org
/errata/2007/0009/
vendor-advisory
-
debian.org
/security/2007/dsa-1283
vendor-advisory
-
h20000.www2.hp.com
/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01056506
vendor-advisory
-
rhn.redhat.com
/errata/RHSA-2007-0154.html
vendor-advisory
-
security.gentoo.org
/glsa/glsa-200705-19.xml
vendor-advisory
-
h20000.www2.hp.com
/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01086137
vendor-advisory
-
security.gentoo.org
/glsa/glsa-200703-21.xml
vendor-advisory
-
mandriva.com
/security/advisories?name=MDKSA-2007:087
vendor-advisory
-
debian.org
/security/2007/dsa-1282
vendor-advisory
-
rhn.redhat.com
/errata/RHSA-2007-0155.html
vendor-advisory
-
rhn.redhat.com
/errata/RHSA-2007-0163.html
vendor-advisory
-
mandriva.com
/security/advisories?name=MDKSA-2007:088
vendor-advisory
-
vupen.com
/english/advisories/2007/1991
vdb-entry
-
secunia.com
/advisories/24606
third-party-advisory
-
securityfocus.com
/archive/1/466166/100/0/threaded
mailing-list
-
secunia.com
/advisories/24941
third-party-advisory
-
exchange.xforce.ibmcloud.com
/vulnerabilities/32796
vdb-entry
-
secunia.com
/advisories/25062
third-party-advisory
-
vupen.com
/english/advisories/2007/2374
vdb-entry
-
secunia.com
/advisories/25423
third-party-advisory
-
secunia.com
/advisories/24419
third-party-advisory
-
secunia.com
/advisories/24945
third-party-advisory
- issues.rpath.com /browse/RPL-1268
-
secunia.com
/advisories/24924
third-party-advisory
-
secunia.com
/advisories/24910
third-party-advisory
-
secunia.com
/advisories/25850
third-party-advisory
-
secunia.com
/advisories/25445
third-party-advisory
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11575
vdb-entry, signature
-
securityfocus.com
/bid/22765
vdb-entry
-
secunia.com
/advisories/25025
third-party-advisory
-
osvdb.org
/32771
vdb-entry
Sources
- CVE List CVE-2007-1286
- NVD CVE-2007-1286
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.