llamaCVEVulnerability Intelligence
/
Advisory · GitHub · PyPI · openssl-encrypt

GHSA-PHMR-P567-Q5G6

Pre-authentication memory/CPU exhaustion via unbounded KDF cost in crafted files

Parche disponible
Descargar PNG JSON
CVSS
—
medium
Fuente: —
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versiónPrimer parche a 1 d de la divulgación
Exposición100 dDesde la divulgación, 12 ago 2026, 7:19 a. m.
Detección98 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.9
Monitoreo
Detectada +1
12 ago 26
13 ago 26
18 nov 26
20 nov 26
12 ago 26
6 sept 26
1 oct 26
26 oct 26
20 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-PHMR-P567-Q5G6 divulgada
Remediación Parche 1.4.9 openssl-encrypt · 1 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

Several code paths let a crafted file drive unbounded key-derivation cost past the pre-authentication memory ceiling (gitlab#128), OOM-killing or wedging the process before any password is verified:

  • F9 (CWE-1284): Balloon `parallel_cost` came verbatim from the file's balloon.parallelism and was submitted as that many ThreadPoolExecutor tasks; the estimator never modeled parallelism, so a value like 10^8 allocated ~10^8 Future objects during key derivation.
  • F28 (CWE-770): the decryption cost estimator modeled only derivation_config.kdf_config, but the executor also honors a kdf_config shadowed inside derivation_config.hash_config (its keys are flattened and generate_key_independent_xor reads hash_config['derivation_config']['kdf_config']); a crafted v14 file hid an Argon2 memory_cost of 1 TiB there.
  • F29 (CWE-770): for legacy v1-v3 the estimator hard-coded kdf_config={} while the executor honors hash_config['argon2'|'scrypt'|'balloon']; a v3 file with argon2.memory_cost=128 GiB estimated ~0.
  • F16 (CWE-405): the recovery path ran a full Argon2id unlock for every recovery slot (up to the array cap) before the slot-set MAC could reject a tampered set.

Fix (1.4.9): Balloon parallel_cost is hard-capped and modeled in the estimator; the estimator now folds in the shadowed and legacy KDF configs the executor actually consumes so the memory ceiling sees them; the recovery path caps the slot count before any KDF work, enforces the memory ceiling per slot, and the per-slot Argon2 memory cap is lowered to 1 GiB. Affects both the 1.4.x and 1.5.x lines. Tracked as gitlab#233.

Versiones

Rangos afectados

Afectada Corregida Última
openssl-encrypt≤ 1.4.8
1.4.8
1.4.9
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
pypiopenssl-encrypt
Corregida 1.4.9 1 d 1.4.9 no afectada
Versiones corregidas1.4.9
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-phmr-p567-q5g6

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