9.8

CVE-2023-3824: Buffer overflow and overread in phar_dir_read()

Modified
AliasesUBUNTU-CVE-2023-3824DEBIAN-CVE-2023-3824openSUSE-SU-2024:13153-1
Published 11-08-2023Last modified 13-02-2025

Vulnerability summary

CVE-2023-3824 is a critical (CVSS 9.8) vulnerability in debian debian_linux. EPSS estimates a 21.79% chance of exploitation in the next 30 days, higher than 97.6% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
9.8/10
010
Critical · v3.1 (NVD)
EPSS score
21.79%
0%100%
High · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 14 · Related 6

Timeline

  1. 11-08-2023
    PublishedVulnerability first disclosed.
  2. 13-02-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

21.79%

Chance of exploitation in the next 30 days

Percentile

98%

Versus all other CVEs

30-day change

No change 0.00 pp

From 21.79% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Php Src

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu5 products
  • php5All versions (No fix recorded)
  • php7.0< 7.0.33-0ubuntu0.16.04.16+esm8
  • php7.2< 7.2.24-0ubuntu0.18.04.17+esm2
  • php7.4< 7.4.3-4ubuntu2.20
  • php8.1< 8.1.2-1ubuntu2.14
Alpine2 products
  • php8< 8.0.30-r0
  • php81< 8.1.22-r0
Debian2 products
Fedoraproject1 product
Opensuse1 product
  • php8&distro=openSUSE Tumbleweed< 8.2.9-1.1
Php1 product
  • php≥ 8.0.0, < 8.0.30 | ≥ 8.1.0, < 8.1.22 | ≥ 8.2.0, < 8.2.9
Php group1 product
  • php≥ 8.0.*, < 8.0.30 | ≥ 8.1.*, < 8.1.22 | ≥ 8.2.*, < 8.2.8

7 vendors · 13 products

References

13 links
Show all 13 references