{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-3824","id":"CVE-2023-3824","title":"Buffer overflow and overread in phar_dir_read()","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.","descriptionLong":"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.","published":"2023-08-11T05:48:34.082Z","updated":"2026-10-28T02:30:25.663846939Z","reserved":"2023-07-21T16:57:23.334Z","status":"Modified","rejected":false,"assigner":"php","metric":{"version":"3.1","score":9.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L","rating":"critical","source":"php"},"metrics":[{"version":"3.1","score":9.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L","rating":"critical","source":"php"},{"version":"3.1","score":9.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L","rating":"critical","source":"php.net"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L","rating":"critical","source":"OSV"}],"rating":"critical","products":["PHP Group PHP"],"affectedProducts":[{"vendor":"PHP Group","product":"PHP","defaultStatus":"affected","versions":[{"lessThan":"8.0.30","status":"affected","version":"8.0.*","versionType":"semver"},{"lessThan":"8.1.22","status":"affected","version":"8.1.*","versionType":"semver"},{"lessThan":"8.2.8","status":"affected","version":"8.2.*","versionType":"semver"}],"platforms":[]}],"packages":[],"cwes":["CWE-119"],"aliases":["BIT-libphp-2023-3824","BIT-php-2023-3824","BIT-php-min-2023-3824","GHSA-jqcx-ccgc-xwhv"],"references":[{"url":"https://github.com/php/php-src/security/advisories/GHSA-jqcx-ccgc-xwhv","tags":["x_transferred","Exploit","Third Party Advisory","advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7NBF77WN6DTVTY2RE73IGPYD6M4PIAWA/","tags":["x_transferred","Mailing List","web"]},{"url":"https://security.netapp.com/advisory/ntap-20230825-0001/","tags":["x_transferred","Third Party Advisory","advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/09/msg00002.html","tags":["x_transferred","Mailing List","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/3xxx/CVE-2023-3824.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-3824","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.21786,"epssPercentile":0.97689,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-3824","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-3824","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-3824","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-3824","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":["EPSS 22% with CVSS 9.4"],"attention":null}