What’s Vulnerable › Vulnerabilities
CVE-2012-6113
- Severity: medium (CVSS 5.0 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2013-01-19 · updated 2026-06-16
- Weakness: CWE-200
Description
The openssl_encrypt function in ext/openssl/openssl.c in PHP 5.3.9 through 5.3.13 does not initialize a certain variable, which allows remote attackers to obtain sensitive information from process memory by providing zero bytes of input data.
Affected products
- PHP: 5.3.9, 5.3.10, 5.3.11, 5.3.12, 5.3.13
References
- http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=270a406ac94b5fc5cc9ef59fc61e3b4b95648a3e
- http://openwall.com/lists/oss-security/2013/01/18/6
- http://www.ubuntu.com/usn/USN-1702-1
- https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1099793
- https://bugs.php.net/bug.php?id=61413
- http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=270a406ac94b5fc5cc9ef59fc61e3b4b95648a3e
- http://openwall.com/lists/oss-security/2013/01/18/6
- http://www.ubuntu.com/usn/USN-1702-1
- https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1099793
- https://bugs.php.net/bug.php?id=61413
Get alerted when CVE-2012-6113 or the next vulnerability affects your stack