CVE-2023-3824: Buffer overflow and overread in phar_dir_read()
- Is it exploited?
Reported, not confirmed by CISA. VulnCheck KEV lists it as exploited in the wild. CISA has not added it to its Known Exploited Vulnerabilities catalog as of .
VulnCheck KEV lists it since . It cites 3 public reports, the first from .
- How likely is exploitation in the next 30 days?
- 21.8%
EPSS score, percentile 97.6 of all scored records. A probability estimated by FIRST, not a report of exploitation.
- How severe?
- 9.4 Critical
CVSS v3.1 base score, given by the CNA
- What should I do?
CISA has set no required action, because the vulnerability is not in KEV.
The CVE record links no vendor advisory, patch or mitigation.
- Which versions are affected?
Affected
- from 8.0.* to before 8.0.30
- from 8.1.* to before 8.1.22
- from 8.2.* to before 8.2.8
Source: CISA KEV 2026.10.29, as of ; VulnCheck KEV, as of ; FIRST EPSS, as of ; CVE List, as of . About the data.
Description
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.
Source: CVE List, as of . About the data.
What to do
Advisories and patches
The CVE record links no vendor advisory, patch or mitigation.
This summary is based on the CVE record as of . Check the vendor's advisory before you act: affected versions and fixes can change.
Affected products and versions
Versions by product, as listed in the CVE record (1 product)
| Status | Versions |
|---|---|
| Affected | from 8.0.* to before 8.0.30 |
| Affected | from 8.1.* to before 8.1.22 |
| Affected | from 8.2.* to before 8.2.8 |
Versions not listed are: affected.
Source: CVE List, as of . About the data.
Weakness
CWE-119, 1 CAPEC
- CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
Attack patterns (CAPEC)
- CAPEC-100: Overflow Buffers
CWE and CAPEC are maintained by MITRE; the entries are those named in the CVE record.
Timeline
| Date | Event |
|---|---|
| CVE record published | |
| CVE record last updated |
Known exploited PHP vulnerabilities
- CVE-2026-109618: PHP Memory Corruption Vulnerability
- CVE-2026-109619: PHP Stale Internal Request-State Vulnerability
- CVE-2016-10033: PHPMailer Command Injection Vulnerability
- CVE-2024-4577: PHP-CGI OS Command Injection Vulnerability
- CVE-2012-1823: PHP-CGI Query String Parameter Vulnerability