{"answers":{"affected":"8 open source packages ship an affected version, including php-standard-library/h2 and php-standard-library/php-standard-library.","exploited":"There is no known exploitation of CVE-2026-48979 in the wild and no public exploit code.","fix":"Upgrade php-standard-library/h2 to a fixed version for your release line: 6.1.2 or 6.2.1.","what":"CVE-2026-48979 is a high-severity vulnerability in php-standard-library, published on 17 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-48979 and fix it if it is affected.\n\nWhat it is: CVE-2026-48979 is a high-severity vulnerability in php-standard-library, published on 17 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-48979 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- php-standard-library/h2 (Packagist): affected from 6.1.0; fixed in 6.1.2\n- php-standard-library/h2 (Packagist): affected from 6.1.0; fixed in 6.1.2\n- php-standard-library/h2 (Packagist): affected from 6.2.0; fixed in 6.2.1\n- php-standard-library/h2 (Packagist): affected from 6.2.0; fixed in 6.2.1\n- php-standard-library/php-standard-library (Packagist): affected from 6.1.0; fixed in 6.1.2\n- php-standard-library/php-standard-library (Packagist): affected from 6.1.0; fixed in 6.1.2\n- php-standard-library/php-standard-library (Packagist): affected from 6.2.0; fixed in 6.2.1\n- php-standard-library/php-standard-library (Packagist): affected from 6.2.0; fixed in 6.2.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-48979/ (Markdown: https://insights.sbomify.com/CVE-2026-48979/index.md)","id":"CVE-2026-48979","markdown":"https://insights.sbomify.com/CVE-2026-48979/index.md","name":"CVE-2026-48979","record":{"aliases":["GHSA-pw9p-jvrm-f7rm"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_modify","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"PHP HTTP/2 library","requires_auth":"none","summary":"Attackers can exploit missing content-length validation in the PHP Standard Library HTTP/2 server to perform request smuggling, bypassing application security controls.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-444","name":"Inconsistent Interpretation of HTTP Requests"}],"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.\nThe 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.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"PHP Standard Library: HTTP/2 server-side missing content-length validation enables request smuggling","id":"CVE-2026-48979","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"other","year":"2026"},"n_packages":8,"n_references":3,"next":{"headline":"pam_usb: getenv() used in PAM context allows environment variable injection into local-check logic","id":"CVE-2026-48980"},"packages":[{"ecosystem":"Packagist","fixed":["6.1.2"],"introduced":["6.1.0"],"last_affected":[],"package":"php-standard-library/h2","purl":null,"source":"GHSA-pw9p-jvrm-f7rm"},{"ecosystem":"Packagist","fixed":["6.1.2"],"introduced":["6.1.0"],"last_affected":[],"package":"php-standard-library/h2","purl":"pkg:composer/php-standard-library/h2","source":"GHSA-pw9p-jvrm-f7rm"},{"ecosystem":"Packagist","fixed":["6.2.1"],"introduced":["6.2.0"],"last_affected":[],"package":"php-standard-library/h2","purl":null,"source":"GHSA-pw9p-jvrm-f7rm"},{"ecosystem":"Packagist","fixed":["6.2.1"],"introduced":["6.2.0"],"last_affected":[],"package":"php-standard-library/h2","purl":"pkg:composer/php-standard-library/h2","source":"GHSA-pw9p-jvrm-f7rm"},{"ecosystem":"Packagist","fixed":["6.1.2"],"introduced":["6.1.0"],"last_affected":[],"package":"php-standard-library/php-standard-library","purl":null,"source":"GHSA-pw9p-jvrm-f7rm"},{"ecosystem":"Packagist","fixed":["6.1.2"],"introduced":["6.1.0"],"last_affected":[],"package":"php-standard-library/php-standard-library","purl":"pkg:composer/php-standard-library/php-standard-library","source":"GHSA-pw9p-jvrm-f7rm"},{"ecosystem":"Packagist","fixed":["6.2.1"],"introduced":["6.2.0"],"last_affected":[],"package":"php-standard-library/php-standard-library","purl":null,"source":"GHSA-pw9p-jvrm-f7rm"},{"ecosystem":"Packagist","fixed":["6.2.1"],"introduced":["6.2.0"],"last_affected":[],"package":"php-standard-library/php-standard-library","purl":"pkg:composer/php-standard-library/php-standard-library","source":"GHSA-pw9p-jvrm-f7rm"}],"prev":{"headline":"oras-go: Malicious registry can hijack Bearer token realm to exfiltrate credentials and refresh tokens","id":"CVE-2026-48978"},"products":["php-standard-library","php-standard-library/h2"],"published":"2026-06-17","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-06-18","vendors":["php-standard-library"]},"summary":"Attackers can exploit missing content-length validation in the PHP Standard Library HTTP/2 server to perform request smuggling, bypassing application security controls.","url":"https://insights.sbomify.com/CVE-2026-48979/"}