BreachSpiderVerified, not vibes

CVE-2023-3824 in Debian Linux and 2 more products

Critical 9.8

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.

Affects 3 products from 3 vendors. Facts below cite their sources.

CVSS 3.19.8
EPSS11.4%
EPSS percentile97th
FixSee advisory

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Debian Debian Linux 10.0
Fedoraproject Fedora 38
Php Php ≥ 8.0.0, < 8.0.30 ≥ 8.1.0, < 8.1.22 ≥ 8.2.0, < 8.2.9

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2023-3824
BreachSpider IDBS-2023-GLOBAL-263399-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2023-08-11
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-119: Improper Restriction of Operations within Memory Buffer

Parent class for buffer-related vulnerabilities where operations exceed buffer boundaries.

Related attack patterns (CAPEC)

CAPEC-8 Buffer Overflow in an API Call via CWE-119

CAPEC-9 Buffer Overflow in Local Command-Line Utilities via CWE-119

CAPEC-10 Buffer Overflow via Environment Variables via CWE-119

CAPEC-14 Client-side Injection-induced Buffer Overflow via CWE-119

CAPEC-24 Filter Failure through Buffer Overflow via CWE-119

Show all 12

CAPEC-42 MIME Conversion via CWE-119

CAPEC-44 Overflow Binary Resource File via CWE-119

CAPEC-45 Buffer Overflow via Symbolic Links via CWE-119

CAPEC-46 Overflow Variables and Tags via CWE-119

CAPEC-47 Buffer Overflow via Parameter Expansion via CWE-119

CAPEC-100 Overflow Buffers via CWE-119

CAPEC-123 Buffer Manipulation via CWE-119

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A stack buffer overflow vulnerability exists in PHP versions 8.0.* before 8.0.30, 8.1.* before 8.1.22, and 8.2.* before 8.2.8 when loading PHAR files. This can lead to memory corruption or remote code execution.

An attacker can exploit this vulnerability by crafting a malicious PHAR file that, when loaded by an affected PHP version, triggers a stack buffer overflow. This can result in arbitrary code execution with the privileges of the web server process.

Questions

What is CVE-2023-3824?

A stack buffer overflow vulnerability exists in PHP versions 8.0.* before 8.0.30, 8.1.* before 8.1.22, and 8.2.* before 8.2.8 when loading PHAR files. This can lead to memory corruption or remote code execution.

What is the CVSS score for CVE-2023-3824?

CVE-2023-3824 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 11.4%.

Is CVE-2023-3824 actively exploited?

No confirmed active exploitation of CVE-2023-3824 as of 2026-09-25.

How do I remediate CVE-2023-3824?

Priority: IMMEDIATE. Advisory: https://lists.debian.org/debian-lts-announce/2023/09/msg00002.html

What systems are affected by CVE-2023-3824?

CVE-2023-3824 affects Debian Debian Linux; Fedoraproject Fedora; Php Php.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Debian","product":"Debian Linux","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.