VDB

CVE-2018-12882

CVE-2018-12882 PUBLISHED

Reported by mitre · Published June 26, 2018

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
php7Alpine7.2.8-r0
phpphp7.2.7

Affected products

VendorProductVersions
n/an/an/a
alpinephp70
n/an/a*

Timeline

  • Jun 26, 2018 CVE Published
  • Sep 1, 2018 PoC Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Mar 6, 2026 Distribution Patch (2 in total, the first dated here)
  • Mar 6, 2026 Security Advisory (3 in total, the first dated here)
  • Sep 25, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2018-12882
vulnetix vdb fixes CVE-2018-12882

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-12882/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

  • 104551 vdb-entryx_refsource_BID
  • USN-3702-2 vendor-advisoryx_refsource_UBUNTU
  • x_refsource_CONFIRM
  • USN-3702-1 vendor-advisoryx_refsource_UBUNTU
  • x_refsource_CONFIRM
Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›