VULNERABILITY INTELLIGENCE

CVE-2018-12882

CVSS score9.8 CRITICAL
EPSS probability6.71%
CISA KEVNot currently listed
Published2018-06-26
Last modified2026-06-17
CVSS vectorCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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.

Weakness classification

  • CWE-416: Use After Free

Primary references