Buffer overflow and overread in phar_dir_read()
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| PHP Group | PHP | affected |
|
Configuration 1 [-]
|
Configuration 2 [-]
|
Configuration 3 [-]
|
| Package | CPE | Advisory | Released Date |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | |||
| php:8.0-8080020231006102311.0b4eb31d | cpe:/a:redhat:enterprise_linux:8 | RHSA-2023:5927 | 2023-10-19T00:00:00Z |
| php:7.4-8100020241113075828.f7998665 | cpe:/a:redhat:enterprise_linux:8 | RHSA-2024:10952 | 2024-12-11T00:00:00Z |
| Red Hat Enterprise Linux 9 | |||
| php-0:8.0.30-1.el9_2 | cpe:/a:redhat:enterprise_linux:9 | RHSA-2023:5926 | 2023-10-19T00:00:00Z |
| php:8.1-9030020231221080340.9 | cpe:/a:redhat:enterprise_linux:9 | RHSA-2024:0387 | 2024-01-24T00:00:00Z |
No data available yet.
| Source | ID | Title |
|---|---|---|
Debian DLA |
DLA-3555-1 | php7.3 security update |
Debian DSA |
DSA-5660-1 | php7.4 security update |
Debian DSA |
DSA-5661-1 | php8.2 security update |
Ubuntu USN |
USN-6305-1 | PHP vulnerabilities |
Ubuntu USN |
USN-6305-2 | PHP vulnerabilities |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: 21.8% (21.786% probability within 30 days)
Key SSVC decision points have not yet been added.
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | 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. |