CVE-2026-48979
HIGH 7.5CVSS 3.1PHP Standard Library: HTTP/2 server-side missing content-length validation enables request smuggling
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.
- Published
- 17 Jun 2026
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-444
- Also known as
- GHSA-pw9p-jvrm-f7rm
- Sources
- NVDJSONOSV GHSA-pw9p-jvrm-f7rmJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | php-standard-library/h2 | >= 6.1.0, < 6.1.2 | 6.1.2 |
| OSV | Packagist | php-standard-library/h2 | >= 6.2.0, < 6.2.1 | 6.2.1 |
| OSV | Packagist | php-standard-library/php-standard-library | >= 6.1.0, < 6.1.2 | 6.1.2 |
| OSV | Packagist | php-standard-library/php-standard-library | >= 6.2.0, < 6.2.1 | 6.2.1 |
References
- https://github.com/php-standard-library/php-standard-library/releases/tag/6.1.2 · WEB
- https://github.com/php-standard-library/php-standard-library/releases/tag/6.2.1 · WEB
- https://github.com/php-standard-library/php-standard-library/security/advisories/GHSA-pw9p-jvrm-f7rm · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-48979 · ADVISORY
- https://github.com/php-standard-library/php-standard-library · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 17 Jun 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 26 Jun 2026)