CVE-2018-12882: canonical ubuntu_linux Use After Free
Vulnerability summary
CVE-2018-12882 is a critical (CVSS 9.8) Use After Free vulnerability in canonical ubuntu_linux. EPSS estimates a 6.48% chance of exploitation in the next 30 days, higher than 93.7% of scored vulnerabilities.
Severe, CVSS 9.8 (NVD); no exploitation reported by the 5 checked sources; EPSS 6% (FIRST, 03-11-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 5 · Related 5Timeline
- 26-06-2018PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · AlpineEcosystem advisory · calculated9.8CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
6.48%
Chance of exploitation in the next 30 days
Percentile
94%
Versus all other CVEs
30-day change
Decrease -0.24 pp
From 6.71% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Suse3 products
- php7&distro=SUSE Linux Enterprise Module for Web and Scripting 12< 7.0.7-50.41.1
- php7&distro=SUSE Linux Enterprise Module for Web and Scripting 15< 7.2.5-4.3.1
- php7&distro=SUSE Linux Enterprise Software Development Kit 12 SP3< 7.0.7-50.41.1
Alpine1 product
- php7< 7.2.8-r0
Canonical1 product
- ubuntu_linuxEOL18.04
Netapp1 product
Php1 product
- php≥ 7.2.0, ≤ 7.2.7
Ubuntu1 product
- php7.2< 7.2.7-0ubuntu0.18.04.1 | < 7.2.7-0ubuntu0.18.04.2
6 vendors · 8 products