CVE-2023-3824

Buffer overflow and overread in phar_dir_read()

Published Aug 11, 2023 CVSS 3.1 · 9.4 Critical EPSS 21.8% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3555-1 php7.3 security update
Debian DSA Debian DSA DSA-5660-1 php7.4 security update
Debian DSA Debian DSA DSA-5661-1 php8.2 security update
Ubuntu USN Ubuntu USN USN-6305-1 PHP vulnerabilities
Ubuntu USN Ubuntu USN USN-6305-2 PHP vulnerabilities
History
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.
Weaknesses

Sources

Status
PUBLISHED
Assigner
php
Published
Updated
Feb 13, 2025, 5:01 PM
Reserved
Jul 21, 2023, 4:57 PM
Status
Modified
Published
Aug 11, 2023, 6:15 AM
Modified
Jun 17, 2026, 6:14 AM
Severity
Moderate
Public date
Aug 3, 2023, 12:00 AM