CVE-2026-119078
Vulnerabilidad en Apache Commons Codec
En resumen
Un atacante remoto, sin usuario ni contraseña, podría modificar información o el sistema sin que nadie haga nada.
Cómo se ataca
- Se puede atacar por la red, incluso desde internet si el servicio está expuesto.
- No requiere condiciones especiales: el ataque se puede repetir de forma confiable.
- No necesita usuario ni contraseña.
- No necesita que nadie haga nada: ni abrir un archivo ni hacer clic.
Qué puede lograr el atacante
- Leer información confidencial: datos, archivos o credenciales.
- Modificar información o el sistema; en los casos graves, ejecutar sus propios programas.
Cómo corregirla
- Revise si usa alguno de los productos y versiones de la lista «A qué afecta».
- Aplique la actualización o la mitigación que indica el fabricante.
- Si no puede actualizar ya, reduzca la exposición: que el servicio no sea accesible desde internet, o desactive la función afectada.
- Como pudo explotarse antes de corregirla, revise los registros del equipo en busca de accesos o cambios extraños.
A qué afecta
Apache Software Foundation · Apache Commons Codec
desde 1.16.0 hasta antes de 1.23.0
Descripción oficial (en inglés)
Apache Commons Codec's Blake3 class documented the output of its doFinalize methods as depending on any previously finalized bytes, so that consecutive calls would return different output. In fact, doFinalize does not change the hash state: calling it again without supplying more input returns the same bytes. The key-derivation example in the class Javadoc, shipped since 1.16.0, derives two keys with two consecutive doFinalize calls. Code that follows it gets identical keys, so the separation between the derived keys is lost. The same applies to any application that calls doFinalize more than once on one instance and expects new output each time. This issue affects Apache Commons Codec from 1.16.0 before 1.23.0. Version 1.23.0 corrects the documentation, but the behavior of doFinalize is unchanged. Upgrading alone does not fix affected code. Users should check their applications for repeated doFinalize calls on the same Blake3 instance and derive multiple keys by requesting the combined length in one call and splitting the output, as the updated Javadoc shows.