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
02 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
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 6.71% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 93.6% of scored records. A rank, not a probability.
- NVD base score
- 9.8 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2018-06-26 03:00Z8 YR AGO
- Last updated
- 2024-08-05 08:45Z2 YR AGO
- Reserved
- 2018-06-25
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- CWE-416Use After FreeVariant
- Data version
- 5.1
- Document digest
- e847fb0519dc5b5dfcf41c8ac53343f334ddfd3a0b5abefebe9f8d799b659de3
05 Affected products
06 References
- www.securityfocus.com104551http://www.securityfocus.com/bid/104551
- usn.ubuntu.comUSN-3702-2https://usn.ubuntu.com/3702-2/
- bugs.php.nethttps://bugs.php.net/bug.php?id=76409
- usn.ubuntu.comUSN-3702-1https://usn.ubuntu.com/3702-1/
- security.netapp.comhttps://security.netapp.com/advisory/ntap-20181109-0001/
07 Fixed in
Ubuntu 18.04 LTS
- php7.2 Fixed in 7.2.7-0ubuntu0.18.04.2
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.