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…
- Published
- Updated
- Reserved
- Assigned by
- redhat
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
- EPSS (exploitation in 30 days)
- 19.2% · top 2.7% of all CVEs (2 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.0.
Weakness
- n/a
Affected products
n/a
- affected n/a
References (8)
- http://support.apple.com/kb/HT5130 (opens in a new tab)x_refsource_CONFIRMx_transferred
- MDVSA-2011:165 (opens in a new tab)vendor-advisoryx_refsource_MANDRIVAx_transferred
- APPLE-SA-2012-02-01-1 (opens in a new tab)vendor-advisoryx_refsource_APPLEx_transferred
- php-library-functions-dos(69430) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- 20110819 PHP 5.3.6 multiple null pointer dereference (opens in a new tab)third-party-advisoryx_refsource_SREASONRESx_transferred
- [oss-security] 20110822 CVE assignment php NULL pointer dereference - CVE-2011-3182 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- 49249 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- 20110819 PHP 5.3.6 multiple null pointer dereference (opens in a new tab)mailing-listx_refsource_FULLDISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Record last updated .