CVE-2026-48979
PHP Standard Library: HTTP/2 server-side missing content-length validation enables request smuggling
Also known as GHSA-pw9p-jvrm-f7rm
Mitigation
- Upgrade php-standard-library/h2 to one of 6.1.2, 6.2.1 (or later in the same release line).
- Upgrade php-standard-library/php-standard-library to one of 6.1.2, 6.2.1 (or later in the same release line).
Who should check
- Projects that depend on Packagist package php-standard-library/h2 (>= 6.1.0, < 6.1.2)
- Projects that depend on Packagist package php-standard-library/php-standard-library (>= 6.1.0, < 6.1.2)
- Anyone running php-standard-library >= 6.1.0, < 6.1.2; >= 6.2.0, < 6.2.1
- Anyone running php-standard-library/h2 >= 6.1.0, < 6.1.2; >= 6.2.0, < 6.2.1
Vulnerability facts
- Affected
- php-standard-library/h2 >= 6.1.0, < 6.1.2; php-standard-library/php-standard-library >= 6.1.0, < 6.1.2
- Fixed in
- 6.1.2, 6.2.1
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: High
- Availability impact: None
- EPSS
- 0.46% chance of exploitation in 30 days (percentile 32, 2026-11-26)
- CWE
- CWE-444
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Packagist php-standard-library/h2 | >= 6.1.0, < 6.1.2 | 6.1.2, 6.2.1 | osv |
| Packagist php-standard-library/php-standard-library | >= 6.1.0, < 6.1.2 | 6.1.2, 6.2.1 | osv |
| php-standard-library | >= 6.1.0, < 6.1.2; >= 6.2.0, < 6.2.1 | — | cvelist |
| php-standard-library/h2 | >= 6.1.0, < 6.1.2; >= 6.2.0, < 6.2.1 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-48979. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-48979.md Affected: php-standard-library/h2 >= 6.1.0, < 6.1.2; php-standard-library/php-standard-library >= 6.1.0, < 6.1.2 Fixed in: 6.1.2, 6.2.1 Steps: 1. Search this machine and project for php-standard-library/h2 (Packagist), php-standard-library/php-standard-library (Packagist), php-standard-library, php-standard-library/h2: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2026-48979 being exploited?
There is no confirmed exploitation: CVE-2026-48979 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.46% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-48979?
High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-48979?
php-standard-library/h2 >= 6.1.0, < 6.1.2; php-standard-library/php-standard-library >= 6.1.0, < 6.1.2.
Is there a fix for CVE-2026-48979?
Yes. Fixed in 6.1.2, 6.2.1. Upgrade php-standard-library/h2 to one of 6.1.2, 6.2.1 (or later in the same release line). Upgrade php-standard-library/php-standard-library to one of 6.1.2, 6.2.1 (or later in the same release line).
How do I check if I'm affected by CVE-2026-48979?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.