llamaCVEVulnerability Intelligence
/
Advisory · GitHub · PyPI · openssl_encrypt

GHSA-743F-89FG-X288

Custom PBKDF2 loop uses iterations=1 per call — non-standard construction

Parche disponible
Descargar PNG JSON
CVSS
—
high
Fuente: —
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versiónPrimer parche a 21 d de la divulgación
Exposición282 dDesde la divulgación, 10 feb 2026, 8:15 a. m.
Detección281 dDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Explotación
Remediación
Parche 1.4.0
Monitoreo
Detectada +1
10 feb 26
3 mar 26
18 nov 26
20 nov 26
10 feb 26
22 abr 26
1 jul 26
10 sept 26
20 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-743F-89FG-X288 divulgada
Remediación Parche 1.4.0 openssl_encrypt · 21 d desde divulgación
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Descripción del advisory
Texto original · GitHub · en inglés

Severity: HIGH

Summary

The PBKDF2 key derivation loop in `openssl_encrypt/modules/crypt_core.py` at lines 3852-3860 uses `iterations=1` per PBKDF2HMAC call inside an outer loop. This creates a non-standard KDF construction whose security properties have not been formally analyzed.

Affected Code
# crypt_core.py:3852-3860
password = PBKDF2HMAC(
    algorithm=hashes.SHA256(),
    length=key_length,
    salt=iteration_specific_salt,
    iterations=1,
    backend=default_backend(),
).derive(password)
Resolution: Won't Fix — Deprecated KDF (Decryption Only)

PBKDF2 is a deprecated KDF retained solely for backward-compatible decryption of existing encrypted files. It is no longer available for new encryptions, which use Argon2id instead. The chained-salt construction is fixed by the existing file format and cannot be changed without breaking decryption of legacy files. Since no new data will be encrypted with this construction, the practical risk is limited to the existing corpus of PBKDF2-derived files.

Fix

Fixed in commit `5cf9dcb` on branch `releases/1.4.x` — new encryptions (format_version >= 10) use standard PBKDF2HMAC with 600,000 iterations; legacy loop retained for backward-compatible decryption.

Versiones

Rangos afectados

Afectada Corregida Última
openssl_encrypt< 1.4.0
1.4.0
1.4.9
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
pypiopenssl_encrypt
Corregida 1.4.0 21 d 1.4.9 no afectada
Versiones corregidas1.4.0
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Advisoryhttps://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-743f-89fg-x288

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.