CVE-2018-12882

CRITICAL

PHP 7.2.0-7.2.7 - Use-After-Free in exif_read_from_impl

Title source: llm
STIX 2.1

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.

References (5)

Core 5
Core References
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/104551
Third Party Advisory vendor-advisory x_refsource_ubuntu
https://usn.ubuntu.com/3702-2/
Issue Tracking, Patch, Vendor Advisory x_refsource_confirm
https://bugs.php.net/bug.php?id=76409
Third Party Advisory vendor-advisory x_refsource_ubuntu
https://usn.ubuntu.com/3702-1/
Third Party Advisory x_refsource_confirm
https://security.netapp.com/advisory/ntap-20181109-0001/

Scores

CVSS v3 9.8
EPSS 0.0520
EPSS Percentile 90.0%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-416
Status published
Products (3)
canonical/ubuntu_linux 18.04
netapp/storage_automation_store
php/php 7.2.0 - 7.2.7
Published Jun 26, 2018
Tracked Since Feb 18, 2026