Back to CVE catalog
CVE-2011-3182

PHP before 5.3.7 does not properly check return values of malloc, calloc, and realloc

Multiple products

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityNone
IntegrityNone
AvailabilityPartial

CVSS summary v2.0

5.0Medium
Published:
Updated:
EPSS:
19.152%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:phpphpAffected versions:
≤ 5.3.6Show full version range for php
1.02.02.0b103.03.0.13.0.103.0.113.0.123.0.133.0.143.0.153.0.163.0.173.0.183.0.23.0.33.0.43.0.53.0.63.0.73.0.83.0.94.04.0.04.0.14.0.24.0.34.0.44.0.54.0.64.0.74.1.04.1.14.1.24.2.04.2.14.2.24.2.34.3.04.3.14.3.104.3.114.3.24.3.34.3.44.3.54.3.64.3.74.3.84.3.94.4.04.4.14.4.24.4.34.4.44.4.54.4.64.4.74.4.84.4.95.0.05.0.15.0.25.0.35.0.45.0.55.1.05.1.15.1.25.1.35.1.45.1.55.1.65.2.05.2.15.2.105.2.115.2.125.2.135.2.145.2.25.2.35.2.45.2.55.2.65.2.85.2.95.3.05.3.15.3.25.3.35.3.45.3.5
Vendor:SUSEapache2-mod php5
Environments (1)
  • cpe:/o:suse:sles:11:sp1
Affected versions:
< 0:5.2.14-0.7.30.34.1
Vendor:SUSEphp5
Environments (1)
  • cpe:/o:suse:sles:11:sp1
Affected versions:
< 0:5.2.14-0.7.30.34.1
Vendor:SUSEphp5-bcmath
Environments (1)
  • cpe:/o:suse:sles:11:sp1
Affected versions:
< 0:5.2.14-0.7.30.34.1
Vendor:SUSEphp5-bz2
Environments (1)
  • cpe:/o:suse:sles:11:sp1
Affected versions:
< 0:5.2.14-0.7.30.34.1
Vendor:SUSEphp5-calendar
Environments (1)
  • cpe:/o:suse:sles:11:sp1
Affected versions:
< 0:5.2.14-0.7.30.34.1
Vendor:SUSEphp5-ctype
Environments (1)
  • cpe:/o:suse:sles:11:sp1
Affected versions:
< 0:5.2.14-0.7.30.34.1
Vendor:SUSEphp5-curl
Environments (1)
  • cpe:/o:suse:sles:11:sp1
Affected versions:
< 0:5.2.14-0.7.30.34.1
Vendor:SUSEphp5-dba
Environments (1)
  • cpe:/o:suse:sles:11:sp1
Affected versions:
< 0:5.2.14-0.7.30.34.1
Vendor:SUSEphp5-dbase
Environments (1)
  • cpe:/o:suse:sles:11:sp1
Affected versions:
< 0:5.2.14-0.7.30.34.1

1–10 of 74 · Page 1 of 8

CVSS scores and metrics4
[email protected] · NVD (Primary)Primary5.0 / 10MediumCVSS 2.0Details
Attack complexity
Low
Confidentiality
None
Integrity
None
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:N/I:N/A:P
nvd · Wazuh CTI (cna)5.0 / 10MediumCVSS 2.0Details
Attack complexity
Low
Confidentiality
None
Integrity
None
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:N/I:N/A:P
alas · Wazuh CTI (adp)5.0 / 10MediumCVSS 2.0Details
Attack complexity
Low
Confidentiality
None
Integrity
None
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:N/I:N/A:P
Red Hat · Red Hat VEX (adp)5.1 / 10MediumCVSS 2.0Details
Attack complexity
High
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:H/Au:N/C:P/I:P/A:P

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories18

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences