Skip to main content
← All vulnerabilities
CVE-2023-3824

Buffer overflow and overread in phar_dir_read()

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 8.0.30, 8.1.22, 8.2.8
3 proofs of concept on GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated
  3. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • PHP Group PHP

    fixed in 8.0.30; fixed in 8.1.22; fixed in 8.2.8

References 7

GitHub · php/php-src

lists.fedoraproject.org

security.netapp.com

lists.debian.org

GitHub · bluefish3r/poc-cve

GitHub · dadosneurais/cve-2023-3824

GitHub · jhonnybonny/CVE-2023-3824