CVE-2023-3824: 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, whil
CVE-2023-3824 is a critical-severity flaw (CVSS 9.4) affecting php, fedora, debian linux. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Critical severity
- EPSS top 2%: very likely to be exploited
- Public exploit reference
- Remotely exploitable, no login, no user action
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.4 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 21.8% (top 2%) |
| CISA exploited list | No |
| Weakness | CWE-119 |
| Published | 2023-08-11 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: jhonnybonny/CVE-2023-3824 (3 stars)
- GitHub PoC: bluefish3r/poc-cve (0 stars)
- GitHub PoC: dadosneurais/cve-2023-3824 (0 stars)
- Write-up: github.com/php/php-src/security/advisories/GHSA-jqcx-ccgc-xwhv
- GitHub PoC: NewLockBit/CVE-2023-3824-PHP-to-RCE
- GitHub PoC: NewLockBit/CVE-2023-3824-PHP-to-RCE-LockBit-LEAK
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2023-3824?
php: upgrade to 8.0.30, 8.1.22, 8.2.9; fedora: mitigate or apply the listed mitigation; debian linux: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2023-3824 being exploited?
CVE-2023-3824 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2023-3824 affect?
CVE-2023-3824 affects php, fedora, debian linux. Severity is critical (CVSS 9.4). 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
How urgent is CVE-2023-3824?
Priority 72/100. Critical severity; EPSS top 2%: very likely to be exploited; Public exploit reference; Remotely exploitable, no login, no user action; On your watchlist
Software pages
PHP vulnerabilities · Debian vulnerabilities
Related CVEs
- CVE-2026-109618 CRITICAL 9.8 EXPLOITED UPGRADE MITIGATE PHP Memory Corruption Vulnerability
- CVE-2026-109619 HIGH 8.1 EXPLOITED UPGRADE MITIGATE PHP Stale Internal Request-State Vulnerability
- CVE-2026-91768 MEDIUM 6.5 UPGRADE The IPv6 branch of the FastCGI client access check compares only the first 12 bytes of a 16-byte IPv6 address,
- CVE-2026-92842 MEDIUM 5.9 UPGRADE The convert.base64-encode, convert.quoted-printable-encode and convert.quoted-printable-decode stream filters
- CVE-2026-91767 MEDIUM 6.5 UPGRADE php_openssl_matches_wildcard_name() in ext/openssl/xp_ssl.c underflows the length argument passed to memchr()