RadarFound by Attacks on Public-Key Cryptography· 8 follow

ML-KEM library skips FIPS 203 input validation checks

Nov 24 find · published Nov 20
RUrustsec.org · 1 min readRead original
ML-KEM input validation missingFIPS 203 non-complianceEncapsulation key modulus check absent

pqcrypto-mlkem up to version 0.1.1 omits FIPS 203 input validation checks required by the standard. Encapsulation does not verify that encapsulation key coefficients are reduced modulo q, and decapsulation does not verify the decapsulation key hash. Testing with Wycheproof ML-KEM vectors shows 108–116 invalid encapsulation keys and 2 invalid decapsulation keys per parameter set are accepted. This does not disclose key material but violates FIPS 203 conformance, allowing disagreement with compliant implementations about key validity. The crate is unmaintained; maintainers recommend migrating to the ml-kem crate.

108–116Invalid encapsulation keys accepted
2Invalid decapsulation keys per set

Comments

Sign in to join the conversation.

More from this batch

GPU-accelerated Stern ISD recovers McEliece keys in 18.9 minuteseprint.iacr.orgFalcon-rust sampler truncates precision below specificationcvereports.comSM2 seeded key generation always produces private key 1github.comJWT library RSA1_5 padding oracle leaks content encryption keyseuvd.enisa.europa.euCode-based NGCC candidates have decoding costs below security targetseprint.iacr.org
Attacks on Public-Key CryptographyNew attacks on public-key cryptography as they appear: cryptanalysis of RSA, elliptic curves and lattices (ML-KEM, ML-DSA, Falcon), breaks of post-quantum candidates, side-channel and fault attacks that recover keys, implementation flaws, and new quantum resource estimates. Papers first, with the numbers that matter.