Home / Hardened-php / Suhosin / CVE-2012-0807
CVE-2012-0807: is it exploited, and which versions of Hardened-php Suhosin are affected and fixed?
CVE-2012-0807 is a memory corruption (buffer overflow) vulnerability in Hardened-php Suhosin. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 06:38 UTC). Affected: suhosin all versions, suhosin through 0.9.31, suhosin 0.9.0 and 34 more (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (5.1, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 06:38 UTC, CVE record November 19, 2026, 07:20 UTC and NVD November 19, 2026, 08:49 UTC.
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.
From the CVE record by redhat, last updated August 6, 2024, 18:38 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| hardened-php | suhosin | all versions | application |
| hardened-php | suhosin | through 0.9.31 | application |
| hardened-php | suhosin | 0.9.0 | application |
| hardened-php | suhosin | 0.9.1 | application |
| hardened-php | suhosin | 0.9.2 | application |
| hardened-php | suhosin | 0.9.3 | application |
| hardened-php | suhosin | 0.9.4 | application |
| hardened-php | suhosin | 0.9.5 | application |
| hardened-php | suhosin | 0.9.6 | application |
| hardened-php | suhosin | 0.9.6.1 | application |
| hardened-php | suhosin | 0.9.6.2 | application |
| hardened-php | suhosin | 0.9.6.3 | application |
| hardened-php | suhosin | 0.9.7 | application |
| hardened-php | suhosin | 0.9.8 | application |
| hardened-php | suhosin | 0.9.9 | application |
| hardened-php | suhosin | 0.9.9.1 | application |
| hardened-php | suhosin | 0.9.10 | application |
| hardened-php | suhosin | 0.9.11 | application |
| hardened-php | suhosin | 0.9.12 | application |
| hardened-php | suhosin | 0.9.13 | application |
| hardened-php | suhosin | 0.9.14 | application |
| hardened-php | suhosin | 0.9.15 | application |
| hardened-php | suhosin | 0.9.16 | application |
| hardened-php | suhosin | 0.9.17 | application |
| hardened-php | suhosin | 0.9.18 | application |
NVD analysis (status Modified), last modified June 16, 2026, 23:38 UTC.
How severe is CVE-2012-0807?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.1 | CVSS 2.0 | AV:N/AC:H/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2012-0807 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 3.47% probability of exploitation activity in the next 30 days, percentile 89.4 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Where are the vendor advisories and references?
- https://bugzilla.redhat.com/show_bug.cgi?id=783350 x_refsource_CONFIRM
- [oss-security] 20120124 Re: CVE requests: Suhosin extension / as31 mailing-list, x_refsource_MLIST
- SUSE-SU-2012:0411 vendor-advisory, x_refsource_SUSE
- openSUSE-SU-2012:0426 vendor-advisory, x_refsource_SUSE
- [oss-security] 20120124 CVE requests: Suhosin extension / as31 mailing-list, x_refsource_MLIST
- SUSE-SU-2012:0472 vendor-advisory, x_refsource_SUSE
- 48668 third-party-advisory, x_refsource_SECUNIA
- 20120119 Advisory 01/2012: Suhosin PHP Extension Transparent Cookie Encryption Stack Buffer Overflow mailing-list, x_refsource_FULLDISC
- https://github.com/stefanesser/suhosin/commit/73b1968ee30f6d9d2dae497544b910e68e114bfa x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- January 19, 2012
- Published
- January 27, 2012, 00:00 UTC
- CVE record updated
- August 6, 2024, 18:38 UTC by redhat
- NVD
- Modified, last modified June 16, 2026, 23:38 UTC
- Last checked
- CVE list November 19, 2026, 07:20 UTC; NVD November 19, 2026, 08:49 UTC; KEV December 3, 2026, 06:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Questions about CVE-2012-0807
Is CVE-2012-0807 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 06:38 UTC. FIRST's EPSS gives it a 3.47% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Hardened-php Suhosin are affected by CVE-2012-0807?
suhosin all versions, suhosin through 0.9.31, suhosin 0.9.0, suhosin 0.9.1, suhosin 0.9.2, suhosin 0.9.3 and 31 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2012-0807?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2012-0807?
Medium (5.1, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2012-0807?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.