CVE-2016-4542Improper Restriction of Operations within the Bounds of a Memory Buffer in PHP

Severity
9.8CRITICALNVD
OSV7.3
EPSS
1.2%
top 20.76%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedMay 22
Latest updateMay 14

Description

The exif_process_IFD_TAG function in ext/exif/exif.c in PHP before 5.5.35, 5.6.x before 5.6.21, and 7.x before 7.0.6 does not properly construct spprintf arguments, which allows remote attackers to cause a denial of service (out-of-bounds read) or possibly have unspecified other impact via crafted header data.

CVSS vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitability: 3.9 | Impact: 5.9

Affected Packages3 packages

Ubuntuphp5/php5< 5.5.9+dfsg-1ubuntu4.17
NVDphp/php5.5.34+27
NVDopensuse/leap42.1

Also affects: Fedora 24

Patches

🔴Vulnerability Details

3
GHSA
GHSA-h57j-2f86-23m5: The exif_process_IFD_TAG function in ext/exif/exif2022-05-14
OSV
php5, php7.0 vulnerabilities2016-05-24
OSV
CVE-2016-4542: The exif_process_IFD_TAG function in ext/exif/exif2016-05-06

📋Vendor Advisories

2
Ubuntu
PHP vulnerabilities2016-05-24
Red Hat
php: Out-of-bounds heap memory read in exif_read_data() caused by malformed input2016-04-24

💬Community

2
Bugzilla
CVE-2016-4537 CVE-2016-4538 CVE-2016-4539 CVE-2016-4540 CVE-2016-4541 CVE-2016-4542 CVE-2016-4543 CVE-2016-4544 php: various flaws [fedora-all]2016-05-04
Bugzilla
CVE-2016-4542 CVE-2016-4543 CVE-2016-4544 php: Out-of-bounds heap memory read in exif_read_data() caused by malformed input2016-05-04