CVE-2011-3182

medium
Published 2011-08-25 ยท Modified 2026-04-29
CVSS v3
โ€”
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
6.0

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.

Predictions

Exploit likelihood
20%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

Exploits

Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.

Exploit-DB

EDB-36070 dos php verified
Maksymilian Arciemowicz ยท 2011-08-19

PHP < 5.3.7 - Multiple Null Pointer Dereference Denial of Service Vulnerabilities

Source code queued for fetch โ€” refresh in a moment.

Application impact

VendorProductVersionsFixed
php phpphp{"endIncluding":"5.3.6"}
php phpphp1.0
php phpphp2.0
php phpphp2.0b10
php phpphp3.0
php phpphp3.0.1
php phpphp3.0.2
php phpphp3.0.3
php phpphp3.0.4
php phpphp3.0.5
php phpphp3.0.6
php phpphp3.0.7
php phpphp3.0.8
php phpphp3.0.9
php phpphp3.0.10
php phpphp3.0.11
php phpphp3.0.12
php phpphp3.0.13
php phpphp3.0.14
php phpphp3.0.15
php phpphp3.0.16
php phpphp3.0.17
php phpphp3.0.18
php phpphp4.0
php phpphp4.0.0
php phpphp4.0.1
php phpphp4.0.2
php phpphp4.0.3
php phpphp4.0.4
php phpphp4.0.5
php phpphp4.0.6
php phpphp4.0.7
php phpphp4.1.0
php phpphp4.1.1
php phpphp4.1.2
php phpphp4.2.0
php phpphp4.2.1
php phpphp4.2.2
php phpphp4.2.3
php phpphp4.3.0
php phpphp4.3.1
php phpphp4.3.2
php phpphp4.3.3
php phpphp4.3.4
php phpphp4.3.5
php phpphp4.3.6
php phpphp4.3.7
php phpphp4.3.8
php phpphp4.3.9
php phpphp4.3.10
php phpphp4.3.11
php phpphp4.4.0
php phpphp4.4.1
php phpphp4.4.2
php phpphp4.4.3
php phpphp4.4.4
php phpphp4.4.5
php phpphp4.4.6
php phpphp4.4.7
php phpphp4.4.8
php phpphp4.4.9
php phpphp5.0.0
php phpphp5.0.1
php phpphp5.0.2
php phpphp5.0.3
php phpphp5.0.4
php phpphp5.0.5
php phpphp5.1.0
php phpphp5.1.1
php phpphp5.1.2
php phpphp5.1.3
php phpphp5.1.4
php phpphp5.1.5
php phpphp5.1.6
php phpphp5.2.0
php phpphp5.2.1
php phpphp5.2.2
php phpphp5.2.3
php phpphp5.2.4
php phpphp5.2.5
php phpphp5.2.6
php phpphp5.2.8
php phpphp5.2.9
php phpphp5.2.10
php phpphp5.2.11
php phpphp5.2.12
php phpphp5.2.13
php phpphp5.2.14
php phpphp5.3.0
php phpphp5.3.1
php phpphp5.3.2
php phpphp5.3.3
php phpphp5.3.4
php phpphp5.3.5

References

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.