Skip to content
On CISA KEVCritical

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 Nov 3, 2026 · Also known as ALPINE-CVE-2023-3824, BIT-libphp-2023-3824, BIT-php-2023-3824, BIT-php-min-2023-3824, CLSA-2024-1734368090, DEBIAN-CVE-2023-3824, ECHO-5798-8681-2227, GHSA-jqcx-ccgc-xwhv, UBUNTU-CVE-2023-3824, openSUSE-SU-2024:13153-1

Key Facts

Patch immediately
  • CVE-2023-3824 is a critical-severity vulnerability (CVSS 9.8 v3.1) affecting php81 (alpine), php8 (alpine), libphp (bitnami) 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

Exploited (KEV)

ATLAS score

59/100

Publication score, see How it works

Exploitation Verdict

KEV listed

May 6, 2024

269 days after publication

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

Exploited (KEV)

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,546 affected entries in total
ProductAffected versionsFixed in
php81alpineSee advisory8.1.22-r0
php8alpineSee advisory8.0.30-r0
libphpbitnami>= 8.0.08.0.30
phpbitnami>= 8.0.08.0.30
php-minbitnami>= 8.0.08.0.30
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

libapache2-mod-php7.0

7.0.33-0ubuntu0.16.04.17+tuxcare.els6

libapache2-mod-php7.2

7.2.24-0ubuntu0.18.04.17+tuxcare.els1

libphp

8.0.30, 8.1.22, 8.2.9

libphp7.0-embed

7.0.33-0ubuntu0.16.04.17+tuxcare.els6

libphp7.2-embed

7.2.24-0ubuntu0.18.04.17+tuxcare.els1

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.3.3-50.el6_10.tuxcare.ol.els6, 5.3.3-55.el6.tuxcare.els6, 5.4.16-46.amzn2.0.6, 5.4.16-48.el7.tuxcare.els1, 7.2.24-1.module_el8+2244+0e09a123.tuxcare.els4, 7.2.34-3.oe1, 7.4.19-1.module_el8.5.0+2125+497b70f8.tuxcare.els8, 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, 7.4.6-4.module_el8.4.0+2126+73f97b5e.tuxcare.els9, 8.0.30, 8.0.30-1.el9_2, 8.0.30-1.mga8, 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.0.30-1.oe1, 8.0.30-1.oe2203, 8.0.30-1.oe2203sp1, 8.0.30-1.oe2203sp2, 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-7.2

7.2.34+e1

php-bcmath

5.3.3-50.el6_10.tuxcare.ol.els6, 5.3.3-55.el6.tuxcare.els6, 5.4.16-46.amzn2.0.6, 5.4.16-48.el7.tuxcare.els1, 7.2.24-1.module_el8+2244+0e09a123.tuxcare.els4, 7.4.19-1.module_el8.5.0+2125+497b70f8.tuxcare.els8, 7.4.33-2.module+el8.10.0+90472+f810484b, 7.4.6-4.module_el8.4.0+2126+73f97b5e.tuxcare.els9, 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.3.3-50.el6_10.tuxcare.ol.els6, 5.3.3-55.el6.tuxcare.els6, 5.4.16-46.amzn2.0.6, 5.4.16-48.el7.tuxcare.els1, 7.2.24-1.module_el8+2244+0e09a123.tuxcare.els4, 7.4.19-1.module_el8.5.0+2125+497b70f8.tuxcare.els8, 7.4.33-2.module+el8.10.0+90472+f810484b, 7.4.6-4.module_el8.4.0+2126+73f97b5e.tuxcare.els9, 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.3.3-50.el6_10.tuxcare.ol.els6, 5.3.3-55.el6.tuxcare.els6, 5.4.16-46.amzn2.0.6, 5.4.16-48.el7.tuxcare.els1, 7.2.24-1.module_el8+2244+0e09a123.tuxcare.els4, 7.4.19-1.module_el8.5.0+2125+497b70f8.tuxcare.els8, 7.4.33-2.module+el8.10.0+90472+f810484b, 7.4.6-4.module_el8.4.0+2126+73f97b5e.tuxcare.els9, 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.3.3-50.el6_10.tuxcare.ol.els6, 5.3.3-55.el6.tuxcare.els6, 5.4.16-46.amzn2.0.6, 5.4.16-48.el7.tuxcare.els1, 7.2.24-1.module_el8+2244+0e09a123.tuxcare.els4, 7.4.19-1.module_el8.5.0+2125+497b70f8.tuxcare.els8, 7.4.33-2.module+el8.10.0+90472+f810484b, 7.4.6-4.module_el8.4.0+2126+73f97b5e.tuxcare.els9, 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.2.24-1.module_el8+2244+0e09a123.tuxcare.els4, 7.4.19-1.module_el8.5.0+2125+497b70f8.tuxcare.els8, 7.4.33-2.module+el8.10.0+90472+f810484b, 7.4.6-4.module_el8.4.0+2126+73f97b5e.tuxcare.els9, 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.3.3-50.el6_10.tuxcare.ol.els6, 5.3.3-55.el6.tuxcare.els6, 5.4.16-46.amzn2.0.6, 5.4.16-48.el7.tuxcare.els1, 7.2.24-1.module_el8+2244+0e09a123.tuxcare.els4, 7.4.19-1.module_el8.5.0+2125+497b70f8.tuxcare.els8, 7.4.33-2.module+el8.10.0+90472+f810484b, 7.4.6-4.module_el8.4.0+2126+73f97b5e.tuxcare.els9, 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.3.3-50.el6_10.tuxcare.ol.els6, 5.3.3-55.el6.tuxcare.els6, 5.4.16-46.amzn2.0.6, 5.4.16-48.el7.tuxcare.els1, 7.2.24-1.module_el8+2244+0e09a123.tuxcare.els4, 7.4.19-1.module_el8.5.0+2125+497b70f8.tuxcare.els8, 7.4.33-2.module+el8.10.0+90472+f810484b, 7.4.6-4.module_el8.4.0+2126+73f97b5e.tuxcare.els9, 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.3.3-50.el6_10.tuxcare.ol.els6, 5.3.3-55.el6.tuxcare.els6, 5.4.16-46.amzn2.0.6, 5.4.16-48.el7.tuxcare.els1, 7.2.24-1.module_el8+2244+0e09a123.tuxcare.els4, 7.4.19-1.module_el8.5.0+2125+497b70f8.tuxcare.els8, 7.4.33-2.module+el8.10.0+90472+f810484b, 7.4.6-4.module_el8.4.0+2126+73f97b5e.tuxcare.els9, 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.19-1.module_el8.5.0+2125+497b70f8.tuxcare.els8, 7.4.33-2.module+el8.10.0+90472+f810484b, 7.4.6-4.module_el8.4.0+2126+73f97b5e.tuxcare.els9, 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.3.3-50.el6_10.tuxcare.ol.els6, 5.3.3-55.el6.tuxcare.els6, 5.4.16-46.amzn2.0.6, 5.4.16-48.el7.tuxcare.els1, 7.2.24-1.module_el8+2244+0e09a123.tuxcare.els4, 7.4.19-1.module_el8.5.0+2125+497b70f8.tuxcare.els8, 7.4.33-2.module+el8.10.0+90472+f810484b, 7.4.6-4.module_el8.4.0+2126+73f97b5e.tuxcare.els9, 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.3.3-50.el6_10.tuxcare.ol.els6, 5.3.3-55.el6.tuxcare.els6, 5.4.16-46.amzn2.0.6, 5.4.16-48.el7.tuxcare.els1, 7.2.24-1.module_el8+2244+0e09a123.tuxcare.els4, 7.4.19-1.module_el8.5.0+2125+497b70f8.tuxcare.els8, 7.4.33-2.module+el8.10.0+90472+f810484b, 7.4.6-4.module_el8.4.0+2126+73f97b5e.tuxcare.els9, 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

    Nov 3, 2026

Weakness Type

  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
  • CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
  • CWE-121 Stack-based Buffer Overflow
  • CWE-122 Heap-based Buffer Overflow
  • CWE-126 Buffer Over-read

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

More vulnerabilities

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

To report an error, contact Brandefense.