Skip to content
WatchlistCritical

CVE-2023-3824PHP Memory Corruption

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.

Published Aug 11, 2023 · Updated Sep 8, 2026 · Also known as BIT-libphp-2023-3824, BIT-php-2023-3824, BIT-php-min-2023-3824, DEBIAN-CVE-2023-3824, GHSA-jqcx-ccgc-xwhv, UBUNTU-CVE-2023-3824

Key Facts

Patch immediately
  • CVE-2023-3824 is a critical-severity vulnerability (CVSS 9.8 v3.1) affecting PHP, Debian Linux, Fedora (Fedoraproject) and 22 more products.
  • It is exploited in the wild, listed in Industry KEV feed since May 6, 2024. No public exploit code is known.
  • EPSS estimates a 22% probability of exploitation in the next 30 days.
  • Fixed versions are available, including apache2-mod_php7 7.4.33-150200.3.60.1, apache2-mod_php7 7.4.33-150400.4.28.1, apache2-mod_php74 7.4.33-1.62.1.
  • Brandefense priority: patch immediately, because it is listed as exploited in the wild.

Scores

CVSS v3.1

9.8

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS (30-day exploit likelihood)

22%

Higher than 97.6% of all scored CVEs

Exploit maturity

Proof of concept

ATLAS score

43/100

Publication score, see How it works

Exploitation Verdict

KEV listed

May 6, 2024

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

Proof of concept

Public exploit code

1

Proof-of-concept links

In-the-wild evidence

3

Reports of active use

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.

Known-Exploited Catalog Listings

CatalogAddedRemediation dueRansomware use
Industry KEV feedMay 6, 2024n/aNot reported

Affected Products

1,295 affected entries in total
ProductAffected versionsFixed in
PHPPHP>= 8.0.0, >= 8.0.*8.0.30
Debian LinuxDebian10.0n/a
FedoraFedoraproject38n/a
php81alpineSee advisory8.1.22-r0
php8alpineSee advisory8.0.30-r0
20 more affected products in the full CVE brief

Patched Releases

apache2-mod_php7

7.4.33-150200.3.60.1, 7.4.33-150400.4.28.1

apache2-mod_php74

7.4.33-1.62.1

apache2-mod_php8

8.0.30-150400.4.37.1

apcu-panel

5.1.18-1.module+el8.10.0+90472+f810484b, 5.1.20-1.module+el8.6.0+20568+84712317, 5.1.21-1.module+el9.1.0+20776+c1b960c0

libphp

8.0.30, 8.1.22, 8.2.9

libzip

1.6.1-1.module_el8.10.0+3935+28808425, 1.6.1-1.module+el8.10.0+1604+6558efc7, 1.6.1-1.module+el8.10.0+90472+f810484b, 1.7.3-1.module_el8.6.0+2739+efabdb8f, 1.7.3-1.module+el8.10.0+1911+f499711e, 1.7.3-1.module+el8.6.0+20568+84712317

libzip-devel

1.6.1-1.module+el8.10.0+90472+f810484b, 1.7.3-1.module+el8.6.0+20568+84712317

libzip-tools

1.6.1-1.module+el8.10.0+90472+f810484b, 1.7.3-1.module+el8.6.0+20568+84712317

PHP

0:8.0.30-1.el9_2, 5.4.16-46.amzn2.0.6, 7.4.33-2.module_el8.10.0+3935+28808425, 7.4.33-2.module+el8.10.0+1912+72767185, 7.4.33-2.module+el8.10.0+90472+f810484b, 8.0.30, 8.0.30-1.el9_2, 8.0.30-1.module_el8.8.0+3655+3335cff6, 8.0.30-1.module+el8.10.0+1605+02e07af7, 8.0.30-1.module+el8.8.0+21196+6feda386, 8.1.22, 8.1.22-1, 8.1.27-1.module_el9.3.0+53+44872dd1, 8.1.27-1.module+el9.3.0+90130+7e4e1ce0, 8.2.8-1, 8.2.9, 8.2.8

php-bcmath

5.4.16-46.amzn2.0.6, 7.4.33-2.module+el8.10.0+90472+f810484b, 8.0.30-1.el9_2, 8.0.30-1.module+el8.8.0+21196+6feda386, 8.1.27-1.module+el9.3.0+90130+7e4e1ce0

php-cli

5.4.16-46.amzn2.0.6, 7.4.33-2.module+el8.10.0+90472+f810484b, 8.0.30-1.el9_2, 8.0.30-1.module+el8.8.0+21196+6feda386, 8.1.27-1.module+el9.3.0+90130+7e4e1ce0

php-common

5.4.16-46.amzn2.0.6, 7.4.33-2.module+el8.10.0+90472+f810484b, 8.0.30-1.el9_2, 8.0.30-1.module+el8.8.0+21196+6feda386, 8.1.27-1.module+el9.3.0+90130+7e4e1ce0

php-dba

5.4.16-46.amzn2.0.6, 7.4.33-2.module+el8.10.0+90472+f810484b, 8.0.30-1.el9_2, 8.0.30-1.module+el8.8.0+21196+6feda386, 8.1.27-1.module+el9.3.0+90130+7e4e1ce0

php-dbg

7.4.33-2.module+el8.10.0+90472+f810484b, 8.0.30-1.el9_2, 8.0.30-1.module+el8.8.0+21196+6feda386, 8.1.27-1.module+el9.3.0+90130+7e4e1ce0

php-devel

5.4.16-46.amzn2.0.6, 7.4.33-2.module+el8.10.0+90472+f810484b, 8.0.30-1.el9_2, 8.0.30-1.module+el8.8.0+21196+6feda386, 8.1.27-1.module+el9.3.0+90130+7e4e1ce0

php-embedded

5.4.16-46.amzn2.0.6, 7.4.33-2.module+el8.10.0+90472+f810484b, 8.0.30-1.el9_2, 8.0.30-1.module+el8.8.0+21196+6feda386, 8.1.27-1.module+el9.3.0+90130+7e4e1ce0

php-enchant

5.4.16-46.amzn2.0.6, 7.4.33-2.module+el8.10.0+90472+f810484b, 8.0.30-1.el9_2, 8.0.30-1.module+el8.8.0+21196+6feda386, 8.1.27-1.module+el9.3.0+90130+7e4e1ce0

php-ffi

7.4.33-2.module+el8.10.0+90472+f810484b, 8.0.30-1.el9_2, 8.0.30-1.module+el8.8.0+21196+6feda386, 8.1.27-1.module+el9.3.0+90130+7e4e1ce0

php-fpm

5.4.16-46.amzn2.0.6, 7.4.33-2.module+el8.10.0+90472+f810484b, 8.0.30-1.el9_2, 8.0.30-1.module+el8.8.0+21196+6feda386, 8.1.27-1.module+el9.3.0+90130+7e4e1ce0

php-gd

5.4.16-46.amzn2.0.6, 7.4.33-2.module+el8.10.0+90472+f810484b, 8.0.30-1.el9_2, 8.0.30-1.module+el8.8.0+21196+6feda386, 8.1.27-1.module+el9.3.0+90130+7e4e1ce0

php-gmp

7.4.33-2.module+el8.10.0+90472+f810484b, 8.0.30-1.el9_2, 8.0.30-1.module+el8.8.0+21196+6feda386, 8.1.27-1.module+el9.3.0+90130+7e4e1ce0

php-intl

5.4.16-46.amzn2.0.6, 7.4.33-2.module+el8.10.0+90472+f810484b, 8.0.30-1.el9_2, 8.0.30-1.module+el8.8.0+21196+6feda386, 8.1.27-1.module+el9.3.0+90130+7e4e1ce0

php-json

7.4.33-2.module+el8.10.0+90472+f810484b

php-ldap

5.4.16-46.amzn2.0.6, 7.4.33-2.module+el8.10.0+90472+f810484b, 8.0.30-1.el9_2, 8.0.30-1.module+el8.8.0+21196+6feda386, 8.1.27-1.module+el9.3.0+90130+7e4e1ce0

php-mbstring

5.4.16-46.amzn2.0.6, 7.4.33-2.module+el8.10.0+90472+f810484b, 8.0.30-1.el9_2, 8.0.30-1.module+el8.8.0+21196+6feda386, 8.1.27-1.module+el9.3.0+90130+7e4e1ce0

Timeline

  1. Publicly disclosed

    Aug 11, 2023

  2. Added to Industry KEV feed

    May 6, 2024

  3. Last updated

    Sep 8, 2026

Weakness Type

  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer

References

15 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2023-3824 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

Figures as of Oct 19, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.