{"id":"CVE-2012-0807","aliases":[],"kind":"cve","tier":"cold","status":"published","title":"Stack-based buffer overflow in the suhosin_encrypt_single_cookie function in the transparent cookie-encryption feature…","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.","ai_summary":null,"severity":"medium","cvss":{"score":5.1,"version":"2.0","vector":"AV:N/AC:H/Au:N/C:P/I:P/A:P","source":"NVD"},"scores":[{"score":5.1,"version":"2.0","vector":"AV:N/AC:H/Au:N/C:P/I:P/A:P","source":"nvd"}],"cwe":["CWE-119"],"remote":true,"remote_unauth":true,"epss":{"score":0.03466,"percentile":0.8983,"date":"2026-11-26"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":true,"exploitdb_ids":[]},"affected":[],"affected_products":[{"vendor":"n/a","product":"n/a","versions":"","source":"nvd"}],"ai_versions":null,"mitigation":"No fix listed yet: follow the vendor advisory.","technologies":[],"references":[{"url":"http://lists.opensuse.org/opensuse-security-announce/2012-03/msg00013.html","kind":"vendor"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2012-03/msg00016.html","kind":"vendor"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2012-04/msg00001.html","kind":"vendor"},{"url":"https://github.com/stefanesser/suhosin/commit/73b1968ee30f6d9d2dae497544b910e68e114bfa","kind":"patch"},{"url":"http://archives.neohapsis.com/archives/fulldisclosure/2012-01/0296.html","kind":"exploit"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=783350","kind":"other"},{"url":"http://www.openwall.com/lists/oss-security/2012/01/24/11","kind":"other"},{"url":"http://www.openwall.com/lists/oss-security/2012/01/24/7","kind":"other"},{"url":"http://secunia.com/advisories/48668","kind":"other"}],"workarounds":null,"vendors":["hardened-php"],"products":["suhosin"],"cpes":["cpe:2.3:a:hardened-php:suhosin:*:*:*:*:*:*:*:*","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:0.9.0:*:*:*:*:*:*:*","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.1:*:*:*:*:*:*:*","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.2:*:*:*:*:*:*:*","cpe:2.3:a:hardened-php:suhosin:0.9.30:*:*:*:*:*:*:*","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.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.6:*:*:*:*:*:*:*","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.1:*:*:*:*:*:*:*","cpe:2.3:a:hardened-php:suhosin:0.9.9:*:*:*:*:*:*:*"],"published_at":"2012-01-27T00:00:00.000Z","modified_at":"2026-06-16T23:38:17.877Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2012-0807"}],"links":{"html":"https://flawdb.com/CVE-2012-0807","markdown":"https://flawdb.com/CVE-2012-0807.md","json":"https://flawdb.com/api/v1/entries/CVE-2012-0807"}}