Skip to content
CVE PROGRAM SOURCE RECORD9.4 Critical

CVE-2023-3824

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

PHP Group PHP

Default version status: affected

  • 8.0.* to < 8.0.30affected
  • 8.1.* to < 8.1.22affected
  • 8.2.* to < 8.2.8affected

References