Vulnerability in PHP
CVE-2011-3182
PHP before 5.3.7 does not properly check the return values of the malloc, calloc, and realloc library functions, which allows context-dependent attackers to cause a denial of service (NULL pointer dereference and application crash) or trigger a buffer overflow by leveraging the ability to provide an arbitrary value for a function argument, related to (1) ext/curl/interface.c, (2) ext/date/lib/parse_date.c, (3) ext/date/lib/parse_iso_intervals.c, (4) ext/date/lib/parse_tz.c, (5) ext/date/lib/timelib.c, (6) ext/pdo_odbc/pdo_odbc.c, (7) ext/reflection/php_reflection.c, (8) ext/soap/php_sdl.c, (9) ext/xmlrpc/libxmlrpc/base64.c, (10) TSRM/tsrm_win32.c, and (11) the strtotime function.
Published · last modified .
CVSS v2 metric
CVSS v2 base score 5.0 (Medium). Vector: AV:N/AC:L/Au:N/C:N/I:N/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.192, 97.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- PHP — versions 1.0, 2.0, 2.0b10
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (ARPSyndicate/cve-scores). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- support.apple.com/kb/HT5130
- MDVSA-2011:165 (vendor-advisory)
- APPLE-SA-2012-02-01-1 (vendor-advisory)
- php-library-functions-dos(69430) (vdb-entry)
- 20110819 PHP 5.3.6 multiple null pointer dereference (Exploit, third-party-advisory)
- [oss-security] 20110822 CVE assignment php NULL pointer dereference - CVE-2011-3182 (mailing-list, Exploit)
- www.securityfocus.com/bid/49249 (Exploit, vdb-entry)
- 20110819 PHP 5.3.6 multiple null pointer dereference (mailing-list, Exploit)