CVEfocus › CVE database › CVE-2026-48979

CVE-2026-48979PHP Standard Library: HTTP/2 server-side missing content-length validation enables…

CVSS 7.5 HighEPSS 0.5% (higher than 32% of CVEs)Published 2026-06-17Updated 2026-06-18Assigner: GitHub_M

PHP Standard Library (PSL) is set of APIs covering async, collections, networking, I/O, cryptography, terminal UI, etc. In versions 6.1.0, 6.1.1 and 6.2.0, the Psl\H2\ServerConnection does not validate that the total bytes received in DATA frames match the content-length header declared in the HEADERS frame, allowing request smuggling. This is in violation of RFC 9113 §8.1.1. A malicious client is able to send more DATA bytes than declared, smuggling additional content past application-level size limits and send fewer DATA bytes than declared and close the stream early, causing applications that trust the declared length to behave incorrectly. The vulnerability is only reachable for consumers using Psl\H2\ServerConnection directly to accept untrusted client traffic. Consumers of documented high-level PSL APIs are not affected. This issue has been fixed in versions 6.1.2 and 6.2.1.

CWE-444

What to do

Fixed builds are available from Packagist: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
4Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04php8.5Not affected
vulnerable_code_not_present
Ubuntu 25.10php8.4Not affected
vulnerable_code_not_present
Ubuntu 24.04php8.3Not affected
vulnerable_code_not_present
Ubuntu 22.04php8.1Not affected
vulnerable_code_not_present
Packagist libraryphp-standard-library/h2Fixed6.2.1GHSA-pw9p-jvrm-f7rm
Packagist libraryphp-standard-library/php-standard-libraryFixed6.2.1GHSA-pw9p-jvrm-f7rm

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.