6.2medium
VeraCryp: wolfCrypt backend bypasses VeraCrypt PBKDF2 iteration count (non-default WOLFCRYPT=1 builds)
- Severity
- 6.2medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.09% (higher than 0% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
VeraCrypt provides disk encryption with strong security based on TrueCrypt. Prior to 1.26.29, non-default builds created with WOLFCRYPT=1 and WOLFCRYPT_BACKEND route SHA-256 and SHA-512 volume-header key derivation through derive_key_sha256 and derive_key_sha512 in src/Crypto/wolfCrypt.c, where the configured iterations value is discarded and wc_HKDF is used instead of PBKDF2-HMAC. Changing the PIM or iteration count therefore does not increase derivation cost, allowing an attacker with an affected container, disk image, or volume header to perform substantially cheaper offline password guesses. Official precompiled VeraCrypt binaries and normal distribution packages use the standard PBKDF2 backend and are not affected. Volumes created by an affected WOLFCRYPT=1 build require backup and recreation because corrected builds derive different keys. This issue is fixed in version 1.26.29.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| veracrypt VeraCrypt | < 1.26.29 | CVE List |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
VeraCrypt provides disk encryption with strong security based on TrueCrypt. Prior to 1.26.29, non-default builds created with WOLFCRYPT=1 and WOLFCRYPT_BACKEND route SHA-256 and SHA-512 volume-header key derivation through derive_key_sha256 and derive_key_sha512 in src/Crypto/wolfCrypt.c, where the configured iterations value is discarded and wc_HKDF is used instead of PBKDF2-HMAC. Changing the PIM or iteration count therefore does not increase derivation cost, allowing an attacker with an affected container, disk image, or volume header to perform substantially cheaper offline password guesses. Official precompiled VeraCrypt binaries and normal distribution packages use the standard PBKDF2 backend and are not affected. Volumes created by an affected WOLFCRYPT=1 build require backup and recreation because corrected builds derive different keys. This issue is fixed in version 1.26.29.
NVD (es)
VeraCrypt proporciona cifrado de disco con seguridad robusta basado en TrueCrypt. Antes de la versión 1.26.29, las compilaciones no predeterminadas creadas con WOLFCRYPT=1 y WOLFCRYPT_BACKEND enrutan la derivación de claves de encabezado de volumen SHA-256 y SHA-512 a través de derive_key_sha256 y derive_key_sha512 en src/Crypto/wolfCrypt.c, donde el valor de iteraciones configurado se descarta y se utiliza wc_HKDF en lugar de PBKDF2-HMAC. Cambiar el PIM o el recuento de iteraciones, por lo tanto, no aumenta el costo de derivación, permitiendo a un atacante con un contenedor, imagen de disco o encabezado de volumen afectado realizar suposiciones de contraseña sin conexión sustancialmente más baratas. Los binarios precompilados oficiales de VeraCrypt y los paquetes de distribución normales utilizan el backend PBKDF2 estándar y no se ven afectados. Los volúmenes creados por una compilación WOLFCRYPT=1 afectada requieren copia de seguridad y recreación porque las compilaciones corregidas derivan claves diferentes. Este problema está solucionado en la versión 1.26.29.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-53762 changed 2026-08-26 | CVE Terms of Use |
| NVD | CVE-2026-53762 changed 2026-10-14 | Public domain |