Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. libcrux-poly1305
  4. ›
  5. GHSA-pv9v-5j35-xwcr

GHSA-pv9v-5j35-xwcr: libcrux Panics During Standalone MAC Operations

March 26, 2026

An incorrect constant for the key length in libcrux-poly1305 caused the standalone MAC function libcrux_poly1305::mac to always panic with an out-of-bounds memory access.

References

  • github.com/advisories/GHSA-pv9v-5j35-xwcr
  • github.com/cryspen/libcrux
  • github.com/cryspen/libcrux/pull/1351
  • rustsec.org/advisories/RUSTSEC-2026-0073.html

Code Behaviors & Features

Detect and mitigate GHSA-pv9v-5j35-xwcr 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 before 0.0.5

Fixed versions

  • 0.0.5

Solution

Upgrade to version 0.0.5 or above.

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-125: Out-of-bounds Read
  • CWE-805: Buffer Access with Incorrect Length Value

Source file

cargo/libcrux-poly1305/GHSA-pv9v-5j35-xwcr.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:21 +0000.