CVE-2012-0807 json
Stack-based buffer overflow in the suhosin_encrypt_single_cookie function in the transparent cookie-encryption feature in the Suhosin exten…
published 2012-01-27 14 y ago modified 2026-06-16 4 mo ago also EUVD-2012-0834
- cvss
- 5.1
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.5%
- EPSS 3.5% chance of exploitation in 30 days, percentile 89%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2012-0807 updated cvss 5.1
php-suhosin: stack based buffer overflow in transparent cookie encryption
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
3.47% chance of exploitation in the next 30 days, higher than 89% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/stefanesser/suhosin/commit/73b1968ee30f6d9d2dae497544b910e68e114bfa referenced PoC, tagged "exploit" by a source, unverified
- archives.neohapsis.com http://archives.neohapsis.com/archives/fulldisclosure/2012-01/0296.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 5.1 | AV:N/AC:H/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
-
github.com
/stefanesser/suhosin/commit/73b1968ee30f6d9d2dae497544b910e68e114bfa
exploit, patch
-
archives.neohapsis.com
/archives/fulldisclosure/2012-01/0296.html
mailing-list, exploit
-
lists.opensuse.org
/opensuse-security-announce/2012-03/msg00013.html
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2012-03/msg00016.html
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2012-04/msg00001.html
vendor-advisory
- bugzilla.redhat.com /show_bug.cgi?id=783350
-
openwall.com
/lists/oss-security/2012/01/24/11
mailing-list
-
openwall.com
/lists/oss-security/2012/01/24/7
mailing-list
-
secunia.com
/advisories/48668
third-party-advisory
Sources
- CVE List CVE-2012-0807
- NVD CVE-2012-0807
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.