Vulnerability identifier: #VU13498
Vulnerability risk: High
CVSSv4.0: 6.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber]
CVE-ID:
CWE-ID:
CWE-416
Exploitation vector: Network
Exploit availability: No
Vulnerable software:
PHP
Universal components / Libraries /
Scripting languages
Vendor: 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.
Mitigation
Install update from vendor's website.
https://bugs.php.net/patch-display.php?bug_id=76409&&patch=avoid-double-free.patch&a...
Vulnerable software versions
PHP: 7.2.0 - 7.2.7
External links
https://bugs.php.net/bug.php?id=76409
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.