#VU13498 Use-after-free error in PHP - CVE-2018-12882
Published: June 26, 2018 / Updated: June 27, 2018
PHP
PHP Group
Description
The vulnerability allows a remote attacker to cause DoS condition or execute arbitrary code on the target system.
The vulnerability exists due to use-after-free error when the exif_read_from_impl function, as defined in the ext/exif/exif.c source code file, closes a stream that it is not responsible for closing. A remote unauthenticated attacker can trick the victim into opening a specially crafted file that submits malicious .jpeg input, trigger memory corruption and cause the service to crash or execute arbitrary code with elevated privileges.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Remediation
https://bugs.php.net/patch-display.php?bug_id=76409&&patch=avoid-double-free.patch&a...