CVE-2012-0807
Description
Stack-based buffer overflow in the suhosin_encrypt_single_cookie function in the transparent cookie-encryption feature in the Suhosin extension before 0.9.33 for PHP, when suhosin.cookie.encrypt and suhosin.multiheader are enabled, might allow remote attackers to execute arbitrary code via a long string that is used in a Set-Cookie HTTP header.
Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
3.466%
chance of exploitation in the next 30 days
higher than 89.3% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 2
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
Timeline
- 2012-01-27Published by the CNA00:00 UTC
Affected products
| Vendor | Product |
|---|---|
| hardened-php | suhosin |
References
- https://github.com/stefanesser/suhosin/commit/73b1968ee30f6d9d2dae497544b910e68e114bfa
- http://lists.opensuse.org/opensuse-security-announce/2012-03/msg00013.html
- http://lists.opensuse.org/opensuse-security-announce/2012-03/msg00016.html
- http://lists.opensuse.org/opensuse-security-announce/2012-04/msg00001.html
- http://archives.neohapsis.com/archives/fulldisclosure/2012-01/0296.html
- http://secunia.com/advisories/48668
- http://www.openwall.com/lists/oss-security/2012/01/24/11
- http://www.openwall.com/lists/oss-security/2012/01/24/7
- https://bugzilla.redhat.com/show_bug.cgi?id=783350
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2012-0807'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2012-0807'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2012-0807'curl 'https://api.contrastcyber.com/cve_products/CVE-2012-0807'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).