{"id":"CVE-2011-3182","aliases":["DSA-2408-1","EUVD-2011-3149","GHSA-778p-3h84-7r8x"],"status":"published","title":"PHP before 5.3.7 does not properly check the return values of the malloc, calloc, and realloc...","description":"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.","severity":{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.19152,"percentile":0.97343,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"published":"2011-08-25T14:00:00Z","modified":"2026-06-16T23:32:49Z","exploits":[{"source":"exploitdb","id":"EDB-36070","title":"PHP \u003c 5.3.7 - Multiple Null Pointer Dereference Denial of Service Vulnerabilities","type":"dos","platform":"php","date":"2011-08-19","verified":true,"url":"https://www.exploit-db.com/exploits/36070"}],"affected":[{"source":"osv","ecosystem":"Debian:6.0","package":"php5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.3.3-7+squeeze8"}]}],"versions":["5.3.3-7","5.3.3-7+squeeze1","5.3.3-7+squeeze2","5.3.3-7+squeeze3","5.3.3-7+squeeze5","5.3.3-7+squeeze6","5.3.3-7+squeeze7"],"bundled":16}],"products":[{"vendor":"php","product":"php"}],"references":[{"url":"http://support.apple.com/kb/HT5130","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2011:165","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"]},{"url":"http://lists.apple.com/archives/security-announce/2012/Feb/msg00000.html","tags":["vendor-advisory","x_refsource_APPLE","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/69430","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://securityreason.com/achievement_securityalert/101","tags":["third-party-advisory","x_refsource_SREASONRES","x_transferred","Exploit"]},{"url":"http://www.openwall.com/lists/oss-security/2011/08/22/9","tags":["mailing-list","x_refsource_MLIST","x_transferred","Exploit"]},{"url":"http://www.securityfocus.com/bid/49249","tags":["vdb-entry","x_refsource_BID","x_transferred","Exploit"]},{"url":"http://marc.info/?l=full-disclosure\u0026m=131373057621672\u0026w=2","tags":["mailing-list","x_refsource_FULLDISC","x_transferred","Exploit"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2011-3182"},{"url":"https://github.com/advisories/GHSA-778p-3h84-7r8x"}],"sources":{"cve":[{"id":"CVE-2011-3182","description":"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.","status":"published","published":"2011-08-25T14:00:00Z","modified":"2024-08-06T23:22:27.671Z","updated_at":"2026-11-02T14:35:37.324501Z"}],"euvd":[{"id":"EUVD-2011-3149","description":"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.","status":"published","published":"2011-08-25T14:00:00Z","modified":"2024-08-06T23:22:27Z","updated_at":"2026-11-03T01:39:52.582864Z"}],"ghsa":[{"id":"GHSA-778p-3h84-7r8x","title":"PHP before 5.3.7 does not properly check the return values of the malloc, calloc, and realloc...","description":"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.","status":"published","published":"2022-05-17T01:53:53Z","modified":"2023-02-03T05:05:59Z","updated_at":"2026-11-02T14:53:49.735091Z"}],"nvd":[{"id":"CVE-2011-3182","description":"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.","status":"published","published":"2011-08-25T14:22:47.553Z","modified":"2026-06-16T23:32:49.127Z","cvss":[{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"updated_at":"2026-11-02T14:02:09.988332Z"}],"osv":[{"id":"DSA-2408-1","title":"php5 - several","status":"published","published":"2012-02-13T00:00:00Z","modified":"2026-03-09T01:21:29.481692Z","updated_at":"2026-11-02T15:46:15.489951Z"}]}}
