Categories
CVE-2026-48979 high CVSS 7.5

Vulnerability in php-standard-library/h2 (CVE-2026-48979)

Summary

Vulnerability in php-standard-library/h2 (CVE-2026-48979). Data can be tampered with by attackers. Exploitable via StreamException. Mitigation: upgrade to 6.2.1 or later.

Original description

The description as published by the source.

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.

Source: NIST National Vulnerability Database NVD GitHub Advisory

Auto-generated summary

Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.

A vulnerability tracked as CVE-2026-48979 has been found in php-standard-library/h2.
Attackers can target a specific entry point like StreamException over the network to misuse the product.
Data can be tampered with by attackers. CVSS score: 7.5/10.
What to do: upgrade php-standard-library/h2 to 6.2.1 or later.
If unsure, ask your IT team or search "php-standard-library/h2 CVE-2026-48979" on the vendor's site.

CVE-2026-48979 (php-standard-library/h2) — CWE-444 / CVSS v3 7.5
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Attack surface: StreamException
Patched: 6.2.1 — apply immediately
Workaround: None at the protocol layer.
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.

❓ What is the problem

A vulnerability (CWE-444) exists in php-standard-library/h2. Attackers reach the vulnerable code path via StreamException without authentication.

📍 Affected scope

Check the vendor advisory for the affected versions of php-standard-library/h2. Attack surface: StreamException.

🔥 Severity

Severity: High (CVSS 7.5/10). Data can be tampered with by attackers.

🔧 How to fix

Update to 6.2.1.

🛡️ Workaround

Workaround: None at the protocol layer.

🔍 Detection

Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'php-standard-library/h2' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.

Response actions

Concrete steps and command examples for SOC/SRE teams to execute in order

  1. 1
    Identify exposure identify
    grep -r 'php-standard-library/h2' . | grep -v node_modules

    リポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で php-standard-library/h2 を grep し、稼働しているサービス・バージョンを把握する。

  2. 2
    Apply temporary workaround mitigate
    None at the protocol layer.

    パッチが適用されるまでの応急処置として、None at the protocol layer. を実施。回避策の副作用 (機能低下) を確認した上で。

  3. 3
    Apply patch patch
    Upgrade php-standard-library/h2 to 6.2.1

    ステージング環境で 6.2.1 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。

  4. 4
    Post-deployment verification verify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

Affected packages

composer php-standard-library/h2
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.1"}]}]
composer php-standard-library/php-standard-library
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.1"}]}]
Packagist php-standard-library/h2
[{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.2.1"}]}]
Packagist php-standard-library/php-standard-library
[{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.2.1"}]}]

Fix status by distribution

Fixed packages published by each distribution for this CVE

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details