Live threats

All CVEs / Php

CVE-2018-12882Php

Critical 9.8 No auth needed

Priority
74
CVSS 3.0
9.8
EPSS
6.5%
probability of exploitation in 30 days · percentile 95
Auth required
No
Published
Jun 26, 2018
Updated
Jun 17, 2026
Category
Web application · Cross-platform
Weakness (CWE)
CWE-416
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Php.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
phpphp≥ 7.2.0 ≤ 7.2.7
canonicalubuntu_linux18.04
netappstorage_automation_storeall

Official sources

References

Links published by the sources. Open them with care.