5.3medium
Github.com/supranational/blst: blst cryptographic library: denial of service via out-of-bounds stack write in key generation
- Severity
- 5.3medium CVSS:3.1 by fedora
- Exploit likelihood
- 0.36% (higher than 31% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- fedora
Description
A flaw was found in the blst cryptographic library. This out-of-bounds stack write vulnerability, specifically in the blst_sha256_bcopy assembly routine, occurs due to a missing zero-length guard. A remote attacker can exploit this by providing a zero-length salt parameter to key generation functions, such as blst_keygen_v5(), if the application exposes this functionality. Successful exploitation leads to memory corruption and immediate process termination, resulting in a denial-of-service (DoS) condition.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| blst | up to 0.3.16 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
A flaw was found in the blst cryptographic library. This out-of-bounds stack write vulnerability, specifically in the blst_sha256_bcopy assembly routine, occurs due to a missing zero-length guard. A remote attacker can exploit this by providing a zero-length salt parameter to key generation functions, such as blst_keygen_v5(), if the application exposes this functionality. Successful exploitation leads to memory corruption and immediate process termination, resulting in a denial-of-service (DoS) condition.
NVD (es)
Se encontró un defecto en la librería criptográfica blst. Esta vulnerabilidad de escritura fuera de límites en la pila, específicamente en la rutina de ensamblador blst_sha256_bcopy, ocurre debido a que falta una guarda de longitud cero. Un atacante en remoto puede explotar esto al proporcionar un parámetro de 'salt' de longitud cero a funciones de generación de claves, como blst_keygen_v5(), si la aplicación expone esta funcionalidad. Si se logra explotar con éxito se provoca una corrupción de memoria y la terminación inmediata del proceso, lo que resulta en una condición de denegación de servicio (DoS).
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-2681 changed 2026-02-19 | CVE Terms of Use |
| NVD | CVE-2026-2681 changed 2026-06-17 | Public domain |