CVE-2018-12882

UnknownEPSS 6.62%

Last modified

CVE-2018-12882 is a vulnerability of currently unknown severity. 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.. EPSS estimates a 6.62% chance of exploitation in the next 30 days.

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.

Metrics

EPSS Probability
6.62%

93.0th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
PhpPhp>= 7.2.0, <= 7.2.7
CanonicalUbuntu Linux18.04
NetappStorage Automation StoreAll versions

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2018-12882?
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.
How severe is CVE-2018-12882?
Severity scoring for CVE-2018-12882 is pending analysis. The EPSS model estimates a 6.62% probability of exploitation in the next 30 days.
How do I fix CVE-2018-12882?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2018-12882?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST