Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. libp2p
  4. ›
  5. GHSA-hmj8-5xmh-5573

GHSA-hmj8-5xmh-5573: libp2p: yamux connection DoS via oversized data frame

July 24, 2026 (updated August 13, 2026)

The yamux stream multiplexer in py-libp2p does not validate incoming DATA frame lengths against the receive window before reading the frame body. Any peer that completes a standard libp2p handshake can send a single 12-byte frame claiming a 4 GB body, causing the victim’s yamux read loop to block indefinitely. This affects the default new_host() configuration and requires no special setup on either side.

References

  • github.com/advisories/GHSA-hmj8-5xmh-5573
  • github.com/libp2p/py-libp2p/commit/146ea87d1a20cc7dacf684ecf7c204543be04b37
  • github.com/libp2p/py-libp2p/security/advisories/GHSA-hmj8-5xmh-5573
  • nvd.nist.gov/vuln/detail/CVE-2026-73568

Code Behaviors & Features

Detect and mitigate GHSA-hmj8-5xmh-5573 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 0.7.0

Solution

Unfortunately, there is no solution available yet.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

pypi/libp2p/GHSA-hmj8-5xmh-5573.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:08 +0000.