{"id":"CVE-2011-3182","published":"2011-08-25T14:00:00Z","modified":"2024-08-06T23:22:27Z","title":"PHP before 5.3.7 does not properly check the return values of the malloc, calloc, and realloc library functions, which…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.19152,"percentile":0.97392,"provenance":"source"},"cwes":[],"references":[{"url":"http://support.apple.com/kb/HT5130","tags":["x_refsource_CONFIRM"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2011:165","tags":["vendor-advisory","x_refsource_MANDRIVA"]},{"url":"http://lists.apple.com/archives/security-announce/2012/Feb/msg00000.html","tags":["vendor-advisory","x_refsource_APPLE"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/69430","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://securityreason.com/achievement_securityalert/101","tags":["third-party-advisory","x_refsource_SREASONRES"]},{"url":"http://www.openwall.com/lists/oss-security/2011/08/22/9","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.securityfocus.com/bid/49249","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://marc.info/?l=full-disclosure&m=131373057621672&w=2","tags":["mailing-list","x_refsource_FULLDISC"]}],"priority":{"score":24.5,"factors":[{"name":"EPSS percentile","points":19.48},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2011-08-19"},"first":{"date":"2011-08-19","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/36070"},"provenance":"source"},"summary":{"text":"The flaw is in PHP versions before 5.3.7, where the return values of the malloc, calloc, and realloc library functions are not properly checked across several components, including ext/curl, ext/date, ext/pdo_odbc, ext/reflection, ext/soap, ext/xmlrpc, TSRM, and the strtotime function. An attacker able to supply an arbitrary value for a function argument in one of these code paths can cause a denial of service through a NULL pointer dereference and crash, or trigger a buffer overflow, with no access conditions beyond that ability to influence the argument.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:46:10Z"},"euvd":{"id":"EUVD-2011-3149","exploited":false,"provenance":"source"},"exploits":[{"id":36070,"url":"https://www.exploit-db.com/exploits/36070","title":"PHP < 5.3.7 - Multiple Null Pointer Dereference Denial of Service Vulnerabilities","date":"2011-08-19","verified":true,"provenance":"source"}]}