CVE-2007-1286PHP Vulnerability
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.
Published Mar 2, 2007 · Updated Mar 9, 2026 · Also known as DEBIAN-CVE-2007-1286, DEBIAN-CVE-2007-1375, DEBIAN-CVE-2007-1376, DEBIAN-CVE-2007-1380, DEBIAN-CVE-2007-1453, DEBIAN-CVE-2007-1454, DEBIAN-CVE-2007-1521, DEBIAN-CVE-2007-1522, DEBIAN-CVE-2007-1583, DEBIAN-CVE-2007-1700, DEBIAN-CVE-2007-1711, DEBIAN-CVE-2007-1718, DEBIAN-CVE-2007-1777, DEBIAN-CVE-2007-1824, DEBIAN-CVE-2007-1887, DEBIAN-CVE-2007-1889, DEBIAN-CVE-2007-1900, DEBIAN-CVE-2007-2511, DSA-1282-1, DSA-1283-1, DTSA-39-1, DTSA-40-1
Key Facts
Routine patching- CVE-2007-1286 is a medium-severity vulnerability (CVSS 6.8 v2) affecting PHP, php4 (debian), php5 (debian) and 1 more product.
- It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
- EPSS estimates a 41% probability of exploitation in the next 30 days.
- Fixed versions are available, including PHP 0:4.3.2-40.ent, PHP 4.4.4, php4 4:4.3.10-20.
- Brandefense priority: routine patching, as no exploitation is known and its severity is moderate or low.
Scores
CVSS v2
6.8
AV:N/AC:M/Au:N/C:P/I:P/A:P
EPSS (30-day exploit likelihood)
41%
Higher than 98.6% of all scored CVEs
Exploit maturity
Weaponized
ATLAS score
55/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Weaponized
Public exploit code
4
Proof-of-concept links
In-the-wild evidence
0
Reports of active use
Advisories And Exploit References
- advisoryRHSA-2007:0154
- advisoryRHSA-2007:0155
- advisoryRHSA-2007:0163
- patchhttp://www.php-security.org/MOPB/MOPB-04-2007.html
Description
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.
Affected Products
5 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| PHPPHP | See advisory | 4.4.4 |
| php4debian | See advisory | 4:4.3.10-20 |
| php5debian | See advisory | 5.2.0-8+etch3 |
| stronghold-phpredhat | See advisory | 0:4.1.2-15 |
Patched Releases
PHP
0:4.3.2-40.ent, 4.4.4
php4
4:4.3.10-20, 6:4.4.4-8+etch2, 6:4.4.4-9+lenny1
php5
5.2.0-10+lenny1, 5.2.0-8+etch3
stronghold-php
0:4.1.2-15
Timeline
Publicly disclosed
Mar 2, 2007
Last updated
Mar 9, 2026
References
- advisoryRHSA-2007:0154
- advisoryRHSA-2007:0155
- advisoryRHSA-2007:0163
- patchphp-security.org · MOPB-04-2007.html
- exploitMSF php_unserialize_zval_cookie.rb
FAQ
Common Questions.
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.
Affected: PHP; php4 (debian); php5 (debian), among others. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
Fixed versions are available, including PHP 0:4.3.2-40.ent, PHP 4.4.4, php4 4:4.3.10-20.
Brandefense priority: routine patching, as no exploitation is known and its severity is moderate or low.
Is CVE-2007-1286 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo