9.8

CVE-2018-12882: canonical ubuntu_linux Use After Free

Modified
AliasesSUSE-SU-2018:1886-1SUSE-SU-2018:1936-1SUSE-SU-2018:1936-2
Published 26-06-2018Last modified 05-08-2024

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.

Priority
Prioritisesevere

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?
CVSS score
9.8/10
010
Critical · v3.0 (NVD)
EPSS score
6.48%
0%100%
Low · -0.24 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 5 · Related 5

Timeline

  1. 26-06-2018
    PublishedVulnerability first disclosed.
  2. 05-08-2024
    Last 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

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

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

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
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

References

15 links
Show all 15 references