Vulnerabilities · 2018 · Php
CVE-2018-12882
Php vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Php, Ubuntu Linux, Storage Automation Store. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Php runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- bugs.php.net/bug.php?id=76409 · Patch
- www.securityfocus.com/bid/104551 · Third Party Advisory
- security.netapp.com/advisory/ntap-20181109-0001/ · Third Party Advisory
- usn.ubuntu.com/3702-1/ · Third Party Advisory
- usn.ubuntu.com/3702-2/ · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2018-12882
- cve.org/CVERecord?id=CVE-2018-12882
More vulnerabilities in Php products
CVE-2025-14180CVE-2025-14178CVE-2025-14177CVE-2025-6491CVE-2025-1861CVE-2025-1736CVE-2025-1735CVE-2025-1734All 740
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.