CVE-2007-1380: Information disclosure in PHP session php_binary serialization handler
- Vendor
- PHP Group
CVE-2007-1380 is an information disclosure vulnerability in the php_binary serialization handler of the PHP session extension. It affects PHP versions before 4.4.5 and PHP 5.x before 5.2.1. The flaw is triggered when the handler processes a serialized variable entry containing an excessively large length value, causing a buffer over-read. As a result, an attacker can cause PHP to read past the intended buffer boundary and disclose memory contents.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows disclosure of sensitive process memory contents. Based on the provided material, the impact is limited to confidentiality loss; there is no stated integrity or availability impact. NVD scored it CVSS v2 5.0 with vector AV:N/AC:L/Au:N/C:P/I:N/A:N.
Mitigation
If you can’t patch tonight, do this now.
Until patched, avoid processing untrusted or attacker-controlled serialized session data with the php_binary session serialization handler. Restrict exposure of applications that accept or manipulate session data from untrusted sources, and prefer safer configurations or handlers where feasible. Apply vendor-supplied security updates promptly.
Remediation
Patch, then assume compromise.
Upgrade PHP to a fixed release: PHP 4.4.5 or later, or PHP 5.2.1 or later. Where vendor packages are used, apply the relevant distribution security updates that backport the fix, such as the referenced SUSE and Red Hat advisories.
Exploits
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2007-1380 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2007-1380 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2007-1380?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2007-1380.
- Is there a patch for CVE-2007-1380?
- Upgrade PHP to a fixed release: PHP 4.4.5 or later, or PHP 5.2.1 or later. Where vendor packages are used, apply the relevant distribution security updates that backport the fix, such as the referenced SUSE and Red Hat advisories.
- What products are affected by CVE-2007-1380?
- PHP Group Php.
- How severe is CVE-2007-1380?
- CVE-2007-1380 has a CVSS v2 score of 5.0 (Medium) and an EPSS score of 9.4% (95th percentile) as of Oct 16, 2026.
Recent activity
2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.