GHSA-pv9v-5j35-xwcr: Libcrux poly1305 Libcrux Panics During Standalone MAC Vulnerability
HIGHGHSA-pv9v-5j35-xwcr is a HIGH libcrux panics during standalone mac vulnerability (CWE-125: Out-of-bounds Read) affecting Libcrux poly1305 libraries in the crates.io ecosystem. The issue involves libcrux panics during standalone mac operations. Remediation is available by upgrading affected packages to version 0.0.5.
GHSA-pv9v-5j35-xwcr at a Glance
How to Fix GHSA-pv9v-5j35-xwcr
To remediate this vulnerability, upgrade all affected Libcrux poly1305 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade libcrux-poly1305 to 0.0.5
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for libcrux-poly1305
How to Check if You Are Affected
To determine whether your application is affected by GHSA-pv9v-5j35-xwcr, inspect your project dependencies for Libcrux poly1305:
inspect dependencies for libcrux-poly1305
Analyze the terminal output to locate any version of Libcrux poly1305 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.0.5), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-125: Out-of-bounds Read, where the product reads data past the end, or before the beginning, of the intended buffer. In Libcrux poly1305, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-pv9v-5j35-xwcr Affected Libcrux poly1305 Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
libcrux-poly1305
|
crates.io |
< 0.0.5
|
0.0.5
|
References
Frequently Asked Questions
What is GHSA-pv9v-5j35-xwcr?
Which Libcrux poly1305 versions are affected?
What version fixes GHSA-pv9v-5j35-xwcr?
Is libcrux-poly1305 affected?
What CWE is associated with GHSA-pv9v-5j35-xwcr?
How can I check crates.io dependencies for GHSA-pv9v-5j35-xwcr?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-pv9v-5j35-xwcr",
"modified" : "2026-03-26T18:00:05Z",
"published" : "2026-03-26T18:00:05Z",
"aliases" : [ ],
"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.\n\n## Impact\nApplications wishing to use libcrux-poly1305 as a standalone MAC would experience panics. The use of libcrux-poly1305 in libcrux-chacha20poly1305 is unaffected.\n\n## Mitigation\nStarting from version `0.0.5`, the correct value is used for the key length constant.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "libcrux-poly1305"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.0.5"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/cryspen/libcrux/pull/1351"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/cryspen/libcrux"
}, {
"type" : "WEB",
"url" : "https://rustsec.org/advisories/RUSTSEC-2026-0073.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-125", "CWE-805" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-03-26T18:00:05Z",
"nvd_published_at" : null
}
}