libcrux-kem is vulnerable to Improper Input Validation
87
CVE Score
High
Improper Input Validation
X25519MlKem768Draft00PrivateKey::decode, X25519MlKem768Draft00PublicKey::decode, and XWingKemDraft06PublicKey::decode panic when the input is shorter than the key. A short slice, under 2400 bytes for that private key or under 1184 bytes for those public keys, crashes the process.
Upgrade the libcrux-kem library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and decode a slice shorter than the expected key into X25519MlKem768Draft00 or XWingKemDraft06.
0.0.2 - 0.0.9
Fixed in 0.0.10libcrux-kem is vulnerable to Improper Input Validation in versions 0.0.2 - 0.0.9.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.