Buffer overflow in PHP
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, while reading PHAR directory entries, insufficient length checking may lead to a stack buffer overflow, leading potentially to memory corruption or RCE.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.4 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L.
EPSS exploit prediction
EPSS: 0.218 (97.6th percentile), scored .
Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 98th percentile — 97.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.218 · newest: 0.218 · change: 0.000
Affected products
- PHP
- PHP Group — versions 8.0.*, 8.1.*, 8.2.*
- Debian Linux — versions 10.0
- Fedoraproject Fedora — versions 38
Weakness classification (CWE)
Public proof-of-concept exploits
- jhonnybonny/CVE-2023-3824
- dadosneurais/cve-2023-3824
- bluefish3r/poc-cve
- NewLockBit/CVE-2023-3824-PHP-to-RCE-LockBit-LEAK
- NewLockBit/CVE-2023-3824-PHP-to-RCE-National-Crime-AgencyLEAK
- NewLockBit/Research-of-CVE-2023-3824-NCA-Lockbit
- Nfttkcauzy/CVE-2023-3824-PHP-to-RCE-LockBit-LEAK
- Nuki2u/CVE-2023-3824-PHP-to-RCE-LockBit-LEAK
- PuddinCat/GithubRepoSpider
- Starla2u/CVE-2023-3824-PHP-to-RCE-LockBit-LEAK
References
- github.com/php/php-src/security/advisories/GHSA-jqcx-ccgc-xwhv (Exploit, Third Party Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (Mailing List)
- security.netapp.com/advisory/ntap-20230825-0001/ (Third Party Advisory)
- lists.debian.org/debian-lts-announce/2023/09/msg00002.html (Mailing List)
Frequently asked questions
- What is CVE-2023-3824?
- CVE-2023-3824 is a critical-severity vulnerability in PHP, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 9.4/10. Published 2023-08-11.
- How severe is CVE-2023-3824?
- Critical severity. CVSS v3 base score is 9.4 out of 10.
- Is CVE-2023-3824 known to be exploited?
- 23 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.