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.
Metrics
CVSS 3.1 9.8/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| PHP Group | PHP | >= 8.0.*, < 8.0.30; >= 8.1.*, < 8.1.22; >= 8.2.*, < 8.2.8 |
References
- https://github.com/php/php-src/security/advisories/GHSA-jqcx-ccgc-xwhvExploit, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/09/msg00002.htmlMailing List
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7NBF77WN6DTVTY2RE73IGPYD6M4PIAWA/Mailing List
- https://security.netapp.com/advisory/ntap-20230825-0001/Third Party Advisory
- https://github.com/php/php-src/security/advisories/GHSA-jqcx-ccgc-xwhvExploit, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/09/msg00002.htmlMailing List
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7NBF77WN6DTVTY2RE73IGPYD6M4PIAWA/Mailing List
- https://security.netapp.com/advisory/ntap-20230825-0001/Third Party Advisory
Timeline
- Published
- Aug 11, 2023
- Last modified
- Jun 17, 2026
- NVD status
- Modified