CVE-2023-3824
CRITICAL9.8EPSS 29.4%Buffer overflow and overread in phar_dir_read()
Published: 8/11/2023Modified: 4/28/2026
Description
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.
Affected packages (5)
- Bitnami/libphp>= 8.0.0, < 8.0.30, >= 8.1.0, < 8.1.22, >= 8.2.0, < 8.2.9
- Bitnami/php>= 8.0.0, < 8.0.30, >= 8.1.0, < 8.1.22, >= 8.2.0, < 8.2.9
- Bitnami/php-min>= 8.0.0, < 8.0.30, >= 8.1.0, < 8.1.22, >= 8.2.0, < 8.2.9
- Debian/php7.4from 0, < 7.4.33-1+deb11u5
- Debian/php8.2from 0, < 8.2.18-1~deb12u1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
References (6)
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2023-3824
- WEBhttps://github.com/php/php-src/security/advisories/GHSA-jqcx-ccgc-xwhv
- WEBhttps://lists.debian.org/debian-lts-announce/2023/09/msg00002.html
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/7NBF77WN6DTVTY2RE73IGPYD6M4PIAWA/
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2023-3824
- WEBhttps://security.netapp.com/advisory/ntap-20230825-0001/