PHP Phar Directory Stack Buffer Overflow Before 8.0.30/8.1.22/8.2.8
CVE-2023-3824 Published on August 11, 2023
Buffer overflow and overread in phar_dir_read()
In PHP version 8.0.* before 8.0.30, 8.1.* before 8.1.22, and 8.2.* before 8.2.8, when loading phar file, while reading PHAR directory entries, insufficient length checking may lead to a stack buffer overflow, leading potentially to memory corruption or RCE.
Vulnerability Analysis
CVE-2023-3824 is exploitable with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have a high impact on confidentiality and integrity, and a small impact on availability.
Weakness Type
What is a Buffer Overflow Vulnerability?
The software performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer.
CVE-2023-3824 has been classified to as a Buffer Overflow vulnerability or weakness.
Products Associated with CVE-2023-3824
You can be notified by email with stack.watch whenever vulnerabilities like CVE-2023-3824 are published in these products:
Affected Versions
PHP Group PHP:- Version 8.0.* and below 8.0.30 is affected.
- Version 8.1.* and below 8.1.22 is affected.
- Version 8.2.* and below 8.2.8 is affected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.