Vulnerability Details : 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.
Vulnerability category: Memory Corruption
Products affected by CVE-2018-12882
- cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
- cpe:2.3:a:netapp:storage_automation_store:-:*:*:*:*:*:*:*
Threat overview for CVE-2018-12882
Top countries where our scanners detected CVE-2018-12882
Top open port discovered on systems with this issue
80
IPs affected by CVE-2018-12882 17,194
Threat actors abusing to this issue?
Yes
Find out if you* are
affected by CVE-2018-12882!
*Directly or indirectly through your vendors, service providers and 3rd parties.
Powered by
attack surface intelligence
from SecurityScorecard.
Exploit prediction scoring system (EPSS) score for CVE-2018-12882
0.69%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 80 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2018-12882
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | AV:N/AC:L/Au:N/C:P/I:P/A:P |
10.0
|
6.4
|
NIST | |
9.8
|
CRITICAL | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST |
CWE ids for CVE-2018-12882
-
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.Assigned by: nvd@nist.gov (Primary)
References for CVE-2018-12882
-
https://usn.ubuntu.com/3702-2/
USN-3702-2: PHP vulnerability | Ubuntu security noticesThird Party Advisory
-
https://bugs.php.net/bug.php?id=76409
PHP :: Sec Bug #76409 :: heap use after free in _php_stream_freeIssue Tracking;Patch;Vendor Advisory
-
http://www.securityfocus.com/bid/104551
PHP 'ext/exif/exif.c' Denial of Service VulnerabilityThird Party Advisory;VDB Entry
-
https://security.netapp.com/advisory/ntap-20181109-0001/
CVE-2018-12882 PHP Vulnerability in NetApp Products | NetApp Product SecurityThird Party Advisory
-
https://usn.ubuntu.com/3702-1/
USN-3702-1: PHP vulnerability | Ubuntu security noticesThird Party Advisory
Jump to