GHSA-435g-fcv3-8j26: Libcrux ecdh Bug-Fixes Vulnerability
LOWGHSA-435g-fcv3-8j26 is a LOW bug-fixes vulnerability (CWE-20: Improper Input Validation) affecting Libcrux ecdh libraries in the crates.io ecosystem. The issue involves bug-fixes in `libcrux-ecdh`, `libcrux-ed25519`, `libcrux-psq`. Remediation is available by upgrading affected packages to version 0.0.6, 0.0.7.
GHSA-435g-fcv3-8j26 at a Glance
How to Fix GHSA-435g-fcv3-8j26
To remediate this vulnerability, upgrade all affected Libcrux ecdh 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-ecdh to 0.0.6
Upgrade libcrux-ed25519 to 0.0.6
Upgrade libcrux-psq to 0.0.7
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for libcrux-ecdh
How to Check if You Are Affected
To determine whether your application is affected by GHSA-435g-fcv3-8j26, inspect your project dependencies for Libcrux ecdh:
inspect dependencies for libcrux-ecdh
Analyze the terminal output to locate any version of Libcrux ecdh in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.0.6), 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-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Libcrux ecdh, 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-435g-fcv3-8j26 Affected Libcrux ecdh Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
libcrux-ecdh
|
crates.io |
< 0.0.6
|
0.0.6
|
|
libcrux-ed25519
|
crates.io |
< 0.0.6
|
0.0.6
|
|
libcrux-psq
|
crates.io |
< 0.0.7
|
0.0.7
|
References
Frequently Asked Questions
What is GHSA-435g-fcv3-8j26?
Which Libcrux ecdh versions are affected?
What version fixes GHSA-435g-fcv3-8j26?
Is libcrux-ecdh affected?
Is libcrux-ed25519 affected?
What CWE is associated with GHSA-435g-fcv3-8j26?
How can I check crates.io dependencies for GHSA-435g-fcv3-8j26?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-435g-fcv3-8j26",
"modified" : "2026-02-27T20:51:08Z",
"published" : "2026-02-12T22:12:14Z",
"aliases" : [ ],
"summary" : "Bug-Fixes in `libcrux-ecdh`, `libcrux-ed25519`, `libcrux-psq`",
"details" : "In accordance with our [security policy for `libcrux`](https://github.com/cryspen/libcrux/blob/main/SECURITY.md), we publish a GitHub security advisory for any releases whose CHANGELOG includes bug-fixes, and encourage our users to upgrade. The latest releases of the `libcrux-ecdh`, `libcrux-ed25519` and `libcrux-psq` crates contain the following bug-fixes:\n\n## `libcrux-ecdh`\n\n- [#1301](https://github.com/cryspen/libcrux/pull/1301): Check length and clamping in X25519 secret validation. This is a breaking change since errors are now raised on unclamped X25519 secrets or inputs of the wrong length\n\n## `libcrux-ed25519`\n\n- [#1320](https://github.com/cryspen/libcrux/pull/1320): Remove duplicated clamping step during key generation\n\nThe issue fixed in #1320 was first reported by Nadim Kobeissi.\n## `libcrux-psq`\n\n- [#1319](https://github.com/cryspen/libcrux/pull/1319): Propagate AEADError instead of panicking\n- [#1301](https://github.com/cryspen/libcrux/pull/1301): Fix broken clamping check for imported X25519 secret keys\n\nThe issue fixed in #1319 was first reported by Nadim Kobeissi.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "libcrux-ecdh"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.0.6"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 0.0.5"
}
}, {
"package" : {
"ecosystem" : "crates.io",
"name" : "libcrux-ed25519"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.0.6"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 0.0.5"
}
}, {
"package" : {
"ecosystem" : "crates.io",
"name" : "libcrux-psq"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.0.7"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 0.0.6"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/cryspen/libcrux/security/advisories/GHSA-435g-fcv3-8j26"
}, {
"type" : "WEB",
"url" : "https://github.com/cryspen/libcrux/pull/1301"
}, {
"type" : "WEB",
"url" : "https://github.com/cryspen/libcrux/pull/1319"
}, {
"type" : "WEB",
"url" : "https://github.com/cryspen/libcrux/pull/1320"
}, {
"type" : "WEB",
"url" : "https://github.com/cryspen/libcrux/commit/4d6f5d3c2542b6179a6474dec8cfb8b8ddf31a84"
}, {
"type" : "WEB",
"url" : "https://github.com/cryspen/libcrux/commit/a09022c5811ca7fd1c6d9a239ff294d64ee86734"
}, {
"type" : "WEB",
"url" : "https://github.com/cryspen/libcrux/commit/f303b6446c19fe9a7c993f61e426023609cd5fac"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/cryspen/libcrux"
}, {
"type" : "WEB",
"url" : "https://rustsec.org/advisories/RUSTSEC-2026-0023.html"
}, {
"type" : "WEB",
"url" : "https://rustsec.org/advisories/RUSTSEC-2026-0024.html"
}, {
"type" : "WEB",
"url" : "https://rustsec.org/advisories/RUSTSEC-2026-0025.html"
}, {
"type" : "WEB",
"url" : "https://rustsec.org/advisories/RUSTSEC-2026-0026.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20", "CWE-327" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2026-02-12T22:12:14Z",
"nvd_published_at" : null
}
}