CVE-2026-119078Apache Commons Codec: Blake3 doFinalize is stateless; the documented KDF example derives…
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.
What to do
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | libcommons-codec-java | Fix pending | UBUNTU-CVE-2026-119078 | |
| Ubuntu 26.04 | libcommons-codec-java | Under investigation | UBUNTU-CVE-2026-119078 | |
| Ubuntu 24.04 | libcommons-codec-java | Under investigation | UBUNTU-CVE-2026-119078 | |
| Ubuntu 22.04 | libcommons-codec-java | Under investigation | UBUNTU-CVE-2026-119078 | |
| Ubuntu 20.04 | libcommons-codec-java | Fix pending | UBUNTU-CVE-2026-119078 | |
| Ubuntu 18.04 | libcommons-codec-java | Fix pending | UBUNTU-CVE-2026-119078 | |
| Ubuntu 16.04 | libcommons-codec-java | Fix pending | UBUNTU-CVE-2026-119078 | |
| Ubuntu 14.04 | libcommons-codec-java | Fix pending | UBUNTU-CVE-2026-119078 |
What the vendor says
As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Apache Software Foundation Apache Commons Codec: affected: 1.16.0 to before 1.23.0; fixed in
1.23.0
Vendor advisories:
- https://lists.apache.org/thread.html/ol71kdgopfxwlxgqmkd0jrfcw05wdq5z (vendor-advisory)
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.