Skip to content
Noroxi
NVD / CVE Program· CNA mitre

CVE-2007-1286: Integer overflow in PHP 4.4.4 and earlier allows remote context-dependent attackers to execute arbitrary code via a long string to the…

MediumCVSS 6.8 · v2.0—Weaponized Fix available

Noroxi assessment

Priority: Plan (action score 40/100)

  • A ready-made attack module is public (Metasploit); exploiting it takes no special expertise.
  • Because a ready-made attack tool exists, priority is at least “Plan”.
  • Probability of exploitation in the next 30 days: 40.8% (FIRST EPSS); higher than 98.6% of all records.
  • Fixed version: php4 (Debian:3.1) 4:4.3.10-20; php4 (Debian:4.0) 6:4.4.4-8+etch2; php5 (Debian:4.0) 5.2.0-8+etch3.

Add it to your regular patch cycle. Upgrade to php4 (Debian:3.1) 4:4.3.10-20; php4 (Debian:4.0) 6:4.4.4-8+etch2; php5 (Debian:4.0) 5.2.0-8+etch3 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

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 6, 2007
Updated
Jun 16, 2026
EPSS
40.8% · 98th percentile
CWE
—

Report tools

JSON

Action score

40

Plan

Add it to your regular patch cycle.

CVSS
27 / 40 · 6.8 / 10
CISA KEV
0 / 30 · Not listed
EPSS
12 / 30 · 40.8%
Ready-made attack tool
1 / 40 · floor: at least 40

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • Weaponized exploit exists
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2007-1286

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits every 10 minutes on paid plans, on the hour on the free plan.

Your free account also gets you

  • CVE alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools, at most 30 a day (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools
Is your version affected? Check it

Noroxi 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 help

Affected 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.

VendorProduct
phpphp

Using php? Add it to your stack and be the first to know about CVEs like this one. (PHP)

Watch new CVEs for php

When you'll hear from us

  • when a new CVE affecting this product is published
  • when a record in your stack enters KEV or is weaponized

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits every 10 minutes on paid plans, on the hour on the free plan.

Your free account also gets you

  • CVE alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools, at most 30 a day (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • php phpup to 4.4.4 inclusive

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:3.1php4before 4:4.3.10-204:4.3.10-20
Debian:4.0php4before 6:4.4.4-8+etch26:4.4.4-8+etch2
Debian:4.0php5before 5.2.0-8+etch35.2.0-8+etch3
Debian:5.0php4before 6:4.4.4-9+lenny16:4.4.4-9+lenny1
Debian:5.0php5before 5.2.0-10+lenny15.2.0-10+lenny1
Red Hat:enterprise_linux:2.1::asphpbefore 0:4.1.2-2.170:4.1.2-2.17
Red Hat:enterprise_linux:2.1::asphp-develbefore 0:4.1.2-2.170:4.1.2-2.17
Red Hat:enterprise_linux:2.1::asphp-imapbefore 0:4.1.2-2.170:4.1.2-2.17
Red Hat:enterprise_linux:2.1::asphp-ldapbefore 0:4.1.2-2.170:4.1.2-2.17
Red Hat:enterprise_linux:2.1::asphp-manualbefore 0:4.1.2-2.170:4.1.2-2.17
Red Hat:enterprise_linux:2.1::asphp-mysqlbefore 0:4.1.2-2.170:4.1.2-2.17
Red Hat:enterprise_linux:2.1::asphp-odbcbefore 0:4.1.2-2.170:4.1.2-2.17
Red Hat:enterprise_linux:2.1::asphp-pgsqlbefore 0:4.1.2-2.170:4.1.2-2.17
Red Hat:enterprise_linux:3::asphpbefore 0:4.3.2-40.ent0:4.3.2-40.ent
Red Hat:enterprise_linux:3::asphp-debuginfobefore 0:4.3.2-40.ent0:4.3.2-40.ent
Red Hat:enterprise_linux:3::asphp-develbefore 0:4.3.2-40.ent0:4.3.2-40.ent
Red Hat:enterprise_linux:3::asphp-imapbefore 0:4.3.2-40.ent0:4.3.2-40.ent
Red Hat:enterprise_linux:3::asphp-ldapbefore 0:4.3.2-40.ent0:4.3.2-40.ent
Red Hat:enterprise_linux:3::asphp-mysqlbefore 0:4.3.2-40.ent0:4.3.2-40.ent
Red Hat:enterprise_linux:3::asphp-odbcbefore 0:4.3.2-40.ent0:4.3.2-40.ent
Red Hat:enterprise_linux:3::asphp-pgsqlbefore 0:4.3.2-40.ent0:4.3.2-40.ent
Red Hat:enterprise_linux:4::asphpbefore 0:4.3.9-3.22.40:4.3.9-3.22.4
Red Hat:enterprise_linux:4::asphp-debuginfobefore 0:4.3.9-3.22.40:4.3.9-3.22.4
Red Hat:enterprise_linux:4::asphp-develbefore 0:4.3.9-3.22.40:4.3.9-3.22.4

+21

Same product

php: all records

Other highest-scoring records for the same primary product.

  • CVE-2024-4577Argument Injection in PHP-CGIKEV
    99Now
  • CVE-2019-11043Underflow in PHP-FPM can lead to RCEKEV
    99Now
  • 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…KEV
    99Now

Published before and after this one in the same product

  • ← EarlierCVE-2007-0988Feb 20, 2007 · The zend_hash_init function in PHP 5 before 5.2.1 and PHP 4 before 4.4.5, when running on a 64-bit platform, allows context-dependent…
    18Monitor
  • ← EarlierCVE-2007-1285Mar 6, 2007 · The Zend Engine in PHP 4.x before 4.4.7, and 5.x before 5.2.2, allows remote attackers to cause a denial of service (stack exhaustion and…
    36Monitor
  • Later →CVE-2007-1287Mar 6, 2007 · A regression error in the phpinfo function in PHP 4.4.3 to 4.4.6, and PHP 6.0 in CVS, allows remote attackers to conduct cross-site…
    18Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:php44:4.3.10-20 · Debian:3.1Package registry (OSV)
debian:php55.2.0-8+etch3 · Debian:4.0Package registry (OSV)
red hat:php0:4.1.2-2.17 · Red Hat:enterprise_linux:2.1::asPackage registry (OSV)
red hat:php-debuginfo0:4.3.2-40.ent · Red Hat:enterprise_linux:3::asPackage registry (OSV)
red hat:php-devel0:4.1.2-2.17 · Red Hat:enterprise_linux:2.1::asPackage registry (OSV)
red hat:php-domxml0:4.3.9-3.22.4 · Red Hat:enterprise_linux:4::asPackage registry (OSV)
red hat:php-gd0:4.3.9-3.22.4 · Red Hat:enterprise_linux:4::asPackage registry (OSV)
red hat:php-imap0:4.1.2-2.17 · Red Hat:enterprise_linux:2.1::asPackage registry (OSV)
red hat:php-ldap0:4.1.2-2.17 · Red Hat:enterprise_linux:2.1::asPackage registry (OSV)
red hat:php-manual0:4.1.2-2.17 · Red Hat:enterprise_linux:2.1::asPackage registry (OSV)
red hat:php-mbstring0:4.3.9-3.22.4 · Red Hat:enterprise_linux:4::asPackage registry (OSV)
red hat:php-mysql0:4.1.2-2.17 · Red Hat:enterprise_linux:2.1::asPackage registry (OSV)
red hat:php-odbc0:4.1.2-2.17 · Red Hat:enterprise_linux:2.1::asPackage registry (OSV)
red hat:php-pgsql0:4.1.2-2.17 · Red Hat:enterprise_linux:2.1::asPackage registry (OSV)

Exploit status

Weaponized

A ready exploit tool or active in-the-wild use is known for this vulnerability. This should be your top priority.

Evidence

  • Metasploit module ×1
  • Exploit-DB entry ×3

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Exploit-DB entrydos2007-03-02
Exploit-DB entryremote2010-09-20
Exploit-DB entryremote2007-03-01
Metasploit moduleexploit/multi/php/php_unserialize_zval_cookiePHP 4 unserialize() ZVAL Reference Counter Overflow (Cookie)exploit2007-03-04

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.

  1. First PoC-6 d
  2. Metasploit-3 d
  3. Published
  4. TodayNov 16, 2026+7194 d

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

    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
    M
    Confidentiality impact
    P
    Integrity impact
    P
    Availability impact
    P

    Weakness class (CWE)

    —

    CVSS vector

    AV:N/AC:M/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.

    References

    All records