CVE-2012-0807
CVE-2012-0807 is a medium-severity vulnerability in Hardened-php Suhosin with a CVSS 2.0 base score of 5.1. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-119.
Key facts
- Severity: Medium (CVSS 2.0 base score 5.1)
- EPSS exploit prediction: 4% (88th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-119
- Affected product: Hardened-php Suhosin
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2012-0807?
- 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.
- How severe is CVE-2012-0807?
- CVE-2012-0807 has a CVSS 2.0 base score of 5.1, rated medium severity.
- Is CVE-2012-0807 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 4% (88th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2012-0807?
- CVE-2012-0807 primarily affects Hardened-php Suhosin. In total, 38 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2012-0807?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2012-0807 published?
- CVE-2012-0807 was published on 2012-01-27 and last updated on 2026-06-16.
References
- http://archives.neohapsis.com/archives/fulldisclosure/2012-01/0296.html
- 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://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
- https://github.com/stefanesser/suhosin/commit/73b1968ee30f6d9d2dae497544b910e68e114bfa
Affected products (38)
- cpe:2.3:a:hardened-php:suhosin:*:beta_2006.09.07:*:*:*:*:*:*
- cpe:2.3:a:hardened-php:suhosin:*:beta_2006.09.09:*:*:*:*:*:*
- cpe:2.3:a:hardened-php:suhosin:*:*:*:*:*:*:*:*
- cpe:2.3:a:hardened-php:suhosin:0.9.0:*:*:*:*:*:*:*
- cpe:2.3:a:hardened-php:suhosin:0.9.1:*:*:*:*:*:*:*
- cpe:2.3:a:hardened-php:suhosin:0.9.2:*:*:*:*:*:*:*
- cpe:2.3:a:hardened-php:suhosin:0.9.3:*:*:*:*:*:*:*
- cpe:2.3:a:hardened-php:suhosin:0.9.4:*:*:*:*:*:*:*
- cpe:2.3:a:hardened-php:suhosin:0.9.5:*:*:*:*:*:*:*
- cpe:2.3:a:hardened-php:suhosin:0.9.6:*:*:*:*:*:*:*
- cpe:2.3:a:hardened-php:suhosin:0.9.6.1:*:*:*:*:*:*:*
- cpe:2.3:a:hardened-php:suhosin:0.9.6.2:*:*:*:*:*:*:*
- cpe:2.3:a:hardened-php:suhosin:0.9.6.3:*:*:*:*:*:*:*
- cpe:2.3:a:hardened-php:suhosin:0.9.7:*:*:*:*:*:*:*
- cpe:2.3:a:hardened-php:suhosin:0.9.8:*:*:*:*:*:*:*
- cpe:2.3:a:hardened-php:suhosin:0.9.9:*:*:*:*:*:*:*
- cpe:2.3:a:hardened-php:suhosin:0.9.9.1:*:*:*:*:*:*:*
- cpe:2.3:a:hardened-php:suhosin:0.9.10:*:*:*:*:*:*:*
- cpe:2.3:a:hardened-php:suhosin:0.9.11:*:*:*:*:*:*:*
- cpe:2.3:a:hardened-php:suhosin:0.9.12:*:*:*:*:*:*:*
- cpe:2.3:a:hardened-php:suhosin:0.9.13:*:*:*:*:*:*:*
- cpe:2.3:a:hardened-php:suhosin:0.9.14:*:*:*:*:*:*:*
- cpe:2.3:a:hardened-php:suhosin:0.9.15:*:*:*:*:*:*:*
- cpe:2.3:a:hardened-php:suhosin:0.9.16:*:*:*:*:*:*:*
- cpe:2.3:a:hardened-php:suhosin:0.9.17:*:*:*:*:*:*:*
- cpe:2.3:a:hardened-php:suhosin:0.9.18:*:*:*:*:*:*:*
- cpe:2.3:a:hardened-php:suhosin:0.9.19:*:*:*:*:*:*:*
- cpe:2.3:a:hardened-php:suhosin:0.9.20:*:*:*:*:*:*:*
- cpe:2.3:a:hardened-php:suhosin:0.9.21:*:*:*:*:*:*:*
- cpe:2.3:a:hardened-php:suhosin:0.9.22:*:*:*:*:*:*:*
- cpe:2.3:a:hardened-php:suhosin:0.9.23:*:*:*:*:*:*:*
- cpe:2.3:a:hardened-php:suhosin:0.9.24:*:*:*:*:*:*:*
- cpe:2.3:a:hardened-php:suhosin:0.9.25:*:*:*:*:*:*:*
- cpe:2.3:a:hardened-php:suhosin:0.9.26:*:*:*:*:*:*:*
- cpe:2.3:a:hardened-php:suhosin:0.9.27:*:*:*:*:*:*:*
- cpe:2.3:a:hardened-php:suhosin:0.9.28:*:*:*:*:*:*:*
- cpe:2.3:a:hardened-php:suhosin:0.9.29:*:*:*:*:*:*:*
- cpe:2.3:a:hardened-php:suhosin:0.9.30:*:*:*:*:*:*:*
Other CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) vulnerabilities
- CVE-2026-2778 — Critical (CVSS 10.0): Sandbox escape due to incorrect boundary conditions in the DOM: Core & HTML component. This vulnerability was fixed in…
- CVE-2026-2776 — Critical (CVSS 10.0): Sandbox escape due to incorrect boundary conditions in the Telemetry component in External Software. This vulnerability…
- CVE-2025-1866 — Critical (CVSS 10.0): Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in warmcat libwebsockets allows…
- CVE-2022-27625 — Critical (CVSS 10.0): A vulnerability regarding improper restriction of operations within the bounds of a memory buffer is found in the…
- CVE-2022-27624 — Critical (CVSS 10.0): A vulnerability regarding improper restriction of operations within the bounds of a memory buffer is found in the…
- CVE-2020-11896 — Critical (CVSS 10.0): The Treck TCP/IP stack before 6.0.1.66 allows Remote Code Execution, related to IPv4 tunneling.