Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. php-standard-library/h2
  4. ›
  5. CVE-2026-48979

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

June 26, 2026

Psl\H2\ServerConnection does not validate that the total bytes received in DATA frames match the content-length header declared in the HEADERS frame, in violation of RFC 9113 §8.1.1.

A malicious client can:

  • Send more DATA bytes than declared, smuggling additional content past application-level size limits.
  • 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. The high-level Psl\HTTP\Server is in active development and was not yet released at the time of this advisory; consumers of documented high-level PSL APIs are not affected.

References

  • github.com/advisories/GHSA-pw9p-jvrm-f7rm
  • github.com/php-standard-library/php-standard-library/releases/tag/6.1.2
  • github.com/php-standard-library/php-standard-library/releases/tag/6.2.1
  • github.com/php-standard-library/php-standard-library/security/advisories/GHSA-pw9p-jvrm-f7rm
  • nvd.nist.gov/vuln/detail/CVE-2026-48979

Code Behaviors & Features

Detect and mitigate CVE-2026-48979 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 6.1.0 before 6.1.2, all versions starting from 6.2.0 before 6.2.1

Fixed versions

  • 6.1.2
  • 6.2.1

Solution

Upgrade to versions 6.1.2, 6.2.1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')

Source file

packagist/php-standard-library/h2/CVE-2026-48979.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 19 Jul 2026 12:18:10 +0000.