packagist package report

Is php-standard-library/php-standard-library safe?

1 known vulnerability, worst severity HIGH.

// reach

0 direct dependencies

none carry a known advisory

    0 packages depend on it

    an advisory here reaches each of them

      Create a free accountfor every dependency path, dependent and what to upgrade
      // ai model usage

      Tracked for PyPI packages. HuggingFace models declare Python dependencies, so packagist packages are not covered.


      cvss
      0.0
      high

      severity out of 10

      epss
      0.00%
      medium

      chance of exploitation in 30 days, 37th percentile of all CVEs

      xyz score
      not scored

      CyberXYZ composite out of 10

      fig. 01 — GHSA-pw9p-jvrm-f7rm, the advisory selected below

      // 1 advisories

      GHSA-pw9p-jvrm-f7rm

      HIGHCVE-2026-48979
      // impact

      Psl\H2\ServerConnection does not validate that the total bytes received in DATA frames match the content-length header declared in the HEADERS frame, in violation of RFC 9113 §8.1.1.

      A malicious client can:

      • Send more DATA bytes than declared, smuggling additional content past application-level size limits.
      • 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. The high-level Psl\HTTP\Server is in active development and was not yet released at the time of this advisory; consumers of documented high-level PSL APIs are not affected.

      // patches

      Fixed in 6.1.2 and 6.2.1.

      • Parses and validates the content-length header on incoming HEADERS (server-side only — clients do not enforce this per RFC 9110 §9.3.2).
      • Tracks cumulative DATA frame payload length per stream.
      • Throws StreamException on mismatch or overflow.

      Regression tests landed in #781, 9 of the new tests fail against the pre-fix code, proving the validation boundary is enforced.

      // workarounds

      None at the protocol layer. Applications using Psl\H2\ServerConnection directly should upgrade.

      // resources
      // cvss v3.1 vector

      CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

      Attack vector
      Network
      Attack complexity
      Low
      Privileges required
      None
      User interaction
      None
      Scope
      Unchanged
      Confidentiality
      None
      Integrity
      High
      Availability
      None

      Checked 2026-09-26 at 01:01 UTC. The most recent advisory here was published 2026-06-26. Updated continuously from NVD, GHSA, OSV and CNA feeds.

      Think a verdict here is wrong? Tell us — we respond within 2 business days.