CVE-2011-3182
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 19.2% chance of exploitation in the next 30 days (EPSS). Higher than most.
- Fix
- No patch or advisory is linked yet. Look at mitigations or restrict exposure.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 19.2% in the next 30 days (EPSS).
- Severity: 5.0 MEDIUM (CVSS).
- Fix: none linked yet, which raises it.
Details
- Published
- Last modified
- Exploit probability
- 19.2% · EPSS, next 30 days
- Record status
- Modified
Affected
- PHP ≤ 5.3.6
- PHP 1.0
- PHP 2.0
- PHP 2.0b10
- PHP 3.0
- PHP 3.0.1
- PHP 3.0.2
- PHP 3.0.3
Attack profile CVSS 2.0 · 5.0
- Attack vector
- Network
- Complexity
- Low
- Authentication
- None
- Confidentiality
- None
- Integrity
- None
- Availability
- Partial
Raw vector
AV:N/AC:L/Au:N/C:N/I:N/A:P
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2011-3182.md and follow it. Check whether this project is affected by CVE-2011-3182. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
References
- http://lists.apple.com/archives/security-announce/2012/Feb/msg00000.html
- http://marc.info/?l=full-disclosure&m=131373057621672&w=2
- http://securityreason.com/achievement_securityalert/101
- http://support.apple.com/kb/HT5130
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:165
- http://www.openwall.com/lists/oss-security/2011/08/22/9
- http://www.securityfocus.com/bid/49249
- https://exchange.xforce.ibmcloud.com/vulnerabilities/69430
- http://lists.apple.com/archives/security-announce/2012/Feb/msg00000.html
- http://marc.info/?l=full-disclosure&m=131373057621672&w=2
- http://securityreason.com/achievement_securityalert/101
- http://support.apple.com/kb/HT5130
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:165
- http://www.openwall.com/lists/oss-security/2011/08/22/9
- http://www.securityfocus.com/bid/49249
- https://exchange.xforce.ibmcloud.com/vulnerabilities/69430