Description
An issue was discovered in PHP before 5.6.40, 7.x before 7.1.26, 7.2.x before 7.2.14, and 7.3.x before 7.3.1. A heap-based buffer over-read in PHAR reading functions in the PHAR extension may allow an attacker to read allocated or unallocated memory past the actual data when trying to parse the file name, a different vulnerability than CVE-2018-20783. This is related to phar_detect_phar_fname_ext in ext/phar/phar.c.
Remediation
References
Related Vulnerabilities
silverstripeCMS Cryptographic Issues Vulnerability (CVE-2010-5079)
Apache HTTP Server Out-of-bounds Write Vulnerability (CVE-2019-10081)
WordPress Plugin Contact Form Clean and Simple Cross-Site Scripting (4.7.0)
MySQL CVE-2015-4815 Vulnerability (CVE-2015-4815)
e107 Deserialization of Untrusted Data Vulnerability (CVE-2025-61505)