{"id":"CVE-2024-54137","aliases":["CVE-2024-54137"],"related":[],"kind":"vulnerability","state":"published","title":"liboqs has a correctness error in HQC decapsulation","summary":"liboqs is a C-language cryptographic library that provides implementations of post-quantum cryptography algorithms. A correctness error has been identified in the reference implementation of the HQC key encapsulation mechanism. Due to an indexing error, part of the secret key is incorrectly treated as non-secret data. This results in an incorrect shared secret value being returned when the decapsulation function is called with a malformed ciphertext. This vulnerability is fixed in 0.12.0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"liboqs is a C-language cryptographic library that provides implementations of post-quantum cryptography algorithms. A correctness error has been identified in the reference implementation of the HQC key encapsulation mechanism. Due to an indexing error, part of the secret key is incorrectly treated as non-secret data. This results in an incorrect shared secret value being returned when the decapsulation function is called with a malformed ciphertext. This vulnerability is fixed in 0.12.0.","source":"cvelist"},{"lang":"es","text":"liboqs es una libreria criptográfica en lenguaje C que proporciona implementaciones de algoritmos de criptografía postcuántica. Se ha identificado un error de corrección en la implementación de referencia del mecanismo de encapsulación de claves HQC. Debido a un error de indexación, parte de la clave secreta se trata incorrectamente como datos no secretos. Esto da como resultado que se devuelva un valor secreto compartido incorrecto cuando se llama a la función de desencapsulación con un texto cifrado mal formado. Esta vulnerabilidad se corrigió en la versión 0.12.0.","source":"nvd"}],"published":"2024-12-06T16:00:58.061Z","modified":"2026-06-17T08:09:50.410Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","score":7.4,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","score":7.4,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-200"],"affected":[{"ranges":[{"version":"< 0.12.0","status":"affected"}],"vendor":"open-quantum-safe","product":"liboqs","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"0.12.0","status":"affected"}],"vendor":"open_quantum_safe","product":"liboqs","cpe":"cpe:2.3:a:open_quantum_safe:liboqs:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"0.12.0"}],"vendor":"openquantumsafe","product":"liboqs","cpe":"cpe:2.3:a:openquantumsafe:liboqs:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/open-quantum-safe/liboqs/security/advisories/GHSA-gpf4-vrrw-r8v7","tags":["patch","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/open-quantum-safe/liboqs/commit/cce1bfde4e52c524b087b9687020d283fbde0f24","tags":["patch","x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2024-12-09T22:09:21.981Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-54137","url":"https://www.cve.org/CVERecord?id=CVE-2024-54137","licence":"CVE Terms of Use","modified":"2024-12-10T16:10:59.900Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-54137","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-54137","licence":"Public domain","modified":"2026-06-17T08:09:50.410Z"}],"updatedAt":"2026-11-25T22:58:49.790Z","epss":{"score":0.00403,"percentile":0.36631,"date":"2026-12-01T12:00:22.000Z"}}