Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. pageant
  4. ›
  5. CVE-2026-116775

CVE-2026-116775: pageant: unbounded frame buffering on peer-controlled 4-byte length prefix (memory-exhaustion DoS)

October 30, 2026

pageant::PageantStream reads a 4-byte big-endian length prefix from its input stream and buffers until len + 4 bytes are available, without ever validating len. The underlying WM_COPYDATA transport physically cannot carry frames larger than 8 KiB (_AGENT_MAX_MSGLEN, the fixed-size shared memory mapping), so an oversized frame is destined to fail — but only after the re-framing task has already buffered the full claimed size. A peer controlling the stream bytes can claim a frame of up to ~4 GiB and either stream that much data (forcing a corresponding allocation) or simply stop mid-frame and keep the partial buffer resident indefinitely.

References

  • github.com/Eugeny/russh/commit/69e4b55513eaa8ac9d2ad4236f13171fc164e10a
  • github.com/Eugeny/russh/releases/tag/v0.65.0
  • github.com/Eugeny/russh/security/advisories/GHSA-662x-8wvj-2276
  • github.com/advisories/GHSA-662x-8wvj-2276
  • nvd.nist.gov/vuln/detail/CVE-2026-116775

Code Behaviors & Features

Detect and mitigate CVE-2026-116775 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 starting from 0.2.0 before 0.2.5

Fixed versions

  • 0.2.5

Solution

Upgrade to version 0.2.5 or above.

Impact 4.3 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

cargo/pageant/CVE-2026-116775.yml

Spotted a mistake? Edit the file on GitLab.

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

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