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.
Conclusion & alert: CVE-2018-12882 is rated High Risk (72/100): CVSS Critical severity, with high exploitation likelihood (EPSS 6.80%, 93th percentile). Core evidence: EPSS ranks this CVE among the most likely to be exploited in the near term. Mandatory action: High exploitation likelihood—assess exposure and prioritize remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-27 | 6.62% | 6.80% | +0.18% |
| 2 | 2026-06-15 | 5.20% | 6.62% | +1.42% |
| 3 | 2026-05-18 | — | 5.20% | — |
Full EPSS history (50 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 9.8 | 3.0 | CRITICAL |
|
3.9 | 5.9 | [email protected] |
| 7.5 | 2.0 | HIGH |
|
10.0 | 6.4 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
critical | CVE-2018-12882: 1 source package rows (php7); 1 state rows across 1 repos (edge-community); fixed 1, open 0. | https://security.alpinelinux.org/vuln/CVE-2018-12882 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2018-12882 |
suse
|
medium | CVE-2018-12882 severity moderate: SUSE including 855 source package names (apache2-mod_php5-5.2.14-0.7.30.111.26.1, apache2-mod_php5-5.5.14-109.38.1, …), 1866 product×package rows across 48 product lines (SUSE CaaS Platform 4.0, SUSE Enterprise Storage 6, … (48 product lines)): Fixed 1412, Known Not Affected 454. | https://www.suse.com/security/cve/CVE-2018-12882/ |
ubuntu
|
medium | CVE-2018-12882 medium priority: Ubuntu including 4 source packages (php5, php7.0, php7.1, php7.2), 20 status rows across 5 suites (artful, bionic, trusty, upstream, xenial): DNE 12, needs-triage 4, not-affected 3, released 1. | https://ubuntu.com/security/CVE-2018-12882 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| php | php | >= 7.2.0, <= 7.2.7 | cpe:2.3:a:php:php:*:*:*:*:*:*:*:* |
| canonical | ubuntu_linux | 18.04 | cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* |
| netapp | storage_automation_store | — | cpe:2.3:a:netapp:storage_automation_store:-:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| http://www.securityfocus.com/bid/104551 | Third Party Advisory VDB Entry |
| https://bugs.php.net/bug.php?id=76409 | Issue Tracking Patch Vendor Advisory |
| https://security.netapp.com/advisory/ntap-20181109-0001/ | Third Party Advisory |
| https://usn.ubuntu.com/3702-1/ | Third Party Advisory |
| https://usn.ubuntu.com/3702-2/ | Third Party Advisory |