Buffer overflow and overread in phar_dir_read()
Published Aug 11, 2023 · Updated Oct 23, 2026 · Also known as BIT-libphp-2023-3824, BIT-php-min-2023-3824, GHSA-jqcx-ccgc-xwhv
Original summary
Normalized public record · Updated Oct 23, 2026
Buffer overflow and overread in phar_dir_read()
Publisher and source text is retained separately from QFinch interpretation.
QFinch assessment
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.
Evidence: public source recordsAffected products
| Affected package, product or range | Fix status |
|---|---|
| Consult the referenced vendor advisory for affected versions. | Consult source advisory |
Matching a version is only one part of assessing exposure. QFinch has not assessed your environment on this public page.
Remediation
Apply the vendor-supported fixed release or mitigation, then verify the affected component is no longer reachable.
- Confirm the affected product and reachable code path exist in your environment.
- Apply the vendor-supported patch or mitigation from the primary advisory.
- Rescan the exact deployed revision and retain verification evidence.
Evidence coverage
- SSVC priority
- MEDIUM
- Confidence
- 20%
- Aliases
- BIT-libphp-2023-3824, BIT-php-min-2023-3824, GHSA-jqcx-ccgc-xwhv, BIT-php-2023-3824
Scores appear only when corresponding evidence exists. Missing data is never interpreted as zero risk.
Sources and record history
Record history
Published Aug 11, 2023 · Last refreshed Oct 23, 2026