GHSA-pv9v-5j35-xwcr

Suggest an improvement
Source
https://github.com/advisories/GHSA-pv9v-5j35-xwcr
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-pv9v-5j35-xwcr/GHSA-pv9v-5j35-xwcr.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-pv9v-5j35-xwcr
Aliases
Published
2026-03-26T18:00:05Z
Modified
2026-03-27T06:11:21Z
Severity
  • 8.7 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
libcrux Panics During Standalone MAC Operations
Details

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.

Impact

Applications wishing to use libcrux-poly1305 as a standalone MAC would experience panics. The use of libcrux-poly1305 in libcrux-chacha20poly1305 is unaffected.

Mitigation

Starting from version 0.0.5, the correct value is used for the key length constant.

Database specific
{
    "cwe_ids":  [
        "CWE-125",
        "CWE-805"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-03-26T18:00:05Z",
    "nvd_published_at":  null,
    "severity":  "HIGH"
}
References

Affected packages

crates.io / libcrux-poly1305

Package

Name
libcrux-poly1305
View open source insights on deps.dev
Purl
pkg:cargo/libcrux-poly1305

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.0.5

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-pv9v-5j35-xwcr/GHSA-pv9v-5j35-xwcr.json"