CVE-2023-3824: Stack buffer overflow / RCE when loading a crafted PHAR archive

critical Affects PHP engine. Feed 2026.10.29.4, updated 2026-10-29; published .

Stack buffer overflow / RCE when loading a crafted PHAR archive

Package
PHP engine PHP engine
Affected branches
8.0 → fixed in 8.0.30; 8.1 → fixed in 8.1.22; 8.2 → fixed in 8.2.8
Severity
critical  CVSS 9.8
Exploitation
not on CISA KEV · EPSS 22% (97.6th percentile)
Remediation
Upgrade to 8.2.8 / 8.1.22 / 8.0.30. Avoid opening attacker-controlled PHAR archives.
Published
2023-08-11

References

NVD recordPHP engine advisories

Am I affected?

Find out in one command. phpwarden checks this host's PHP build against this advisory and 20,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.

# PHP projects (recommended)
composer require --dev phpwarden/phpwarden
# then
vendor/bin/phpwarden scan

# or, without Composer
pipx install phpwarden   &&   phpwarden scan

Running a fleet? Aggregate hosts into one report.

Install docs   How findings are ranked

Related advisories