All CVEs / php-standard-library
CVE-2026-48979php-standard-library
High 7.5 No auth needed
Follow: this CVE · php-standard-library · php-standard-library We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Jun 17, 2026
- Updated
- Jun 23, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-444
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for php-standard-library.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | php-standard-library/h2 |
≥ 6.1.0 < 6.1.2 |
6.1.2 |
composer require "php-standard-library/h2:^6.1.2" |
| Packagist | php-standard-library/h2 |
≥ 6.2.0 < 6.2.1 |
6.2.1 |
composer require "php-standard-library/h2:^6.2.1" |
| Packagist | php-standard-library/php-standard-library |
≥ 6.1.0 < 6.1.2 |
6.1.2 |
composer require "php-standard-library/php-standard-library:^6.1.2" |
| Packagist | php-standard-library/php-standard-library |
≥ 6.2.0 < 6.2.1 |
6.2.1 |
composer require "php-standard-library/php-standard-library:^6.2.1" |
Per OSV / GitHub Advisories (GHSA-pw9p-jvrm-f7rm). Check the version in your lockfile before upgrading.
Affected products
- php-standard-library · php-standard-library
- php-standard-library · php-standard-library/h2
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.