CVE-2018-12882

php: Use-after-free reachable via the exif.c:exif_read_from_impl() function

Published Jun 26, 2018 CVSS 3.0 · 9.8 Critical EPSS 6.5% KEV · Not listed
Description
exif_read_from_impl in ext/exif/exif.c in PHP 7.2.x through 7.2.7 allows attackers to trigger a use-after-free (in exif_read_from_file) because it closes a stream that it is not responsible for closing. The vulnerable code is reachable through the PHP exif_read_data function.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2018-4835 exif_read_from_impl in ext/exif/exif.c in PHP 7.2.x through 7.2.7 allows attackers to trigger a use-after-free (in exif_read_from_file) because it closes a stream that it is not responsible for closing. The vulnerable code is reachable through the PHP exif_read_data function.
Ubuntu USN Ubuntu USN USN-3702-1 PHP vulnerability
Ubuntu USN Ubuntu USN USN-3702-2 PHP vulnerability
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 5, 2024, 8:45 AM
Reserved
Jun 25, 2018, 12:00 AM
Status
Modified
Published
Jun 26, 2018, 3:29 AM
Modified
Jun 17, 2026, 1:38 AM
Severity
Moderate
Public date
Jun 3, 2018, 12:00 AM