Buffer overflow in Php

CVE-2023-3824

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.

Vulnerability class: Buffer Overflow

EPSS: 0.180 (96.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.4 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2023-3824?
CVE-2023-3824 is a critical-severity vulnerability in Php, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 9.4/10. Published 2023-08-11.
How severe is CVE-2023-3824?
Critical severity. CVSS v3 base score is 9.4 out of 10.
Is CVE-2023-3824 known to be exploited?
23 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.