High [CVE-2026-119078] 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
This high-severity Apache Software Foundation advisory covers CVE-2026-119078 affecting Apache Commons Codec.
Aggregated and source-linked by VulniPulse. Data sources, validation and limitations.
VulniPulse record published Record updated
Summary
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.
Is CVE-2026-119078 exploited?
No exploitation is reported in the sources VulniPulse tracks: CVE-2026-119078 is not in the CISA KEV catalog (checked ) and this advisory does not report exploitation. That is not proof the vulnerability cannot be exploited.
How do I fix CVE-2026-119078?
Upgrade to a fixed release named by Apache:
- 1.23.0
Confirm against the vendor advisory before you patch.
- 1.16.0 before 1.23.0
Official advisory · high-confidence parse· fetched 15 hours ago·verify at source
- 1.23.0
Official advisory · high-confidence parse· fetched 15 hours ago·verify at source
Mitigation
Upgrade to a fixed release: 1.23.0. That is the remediation for this advisory.
The vendor advisory may list interim mitigations or workarounds not captured here. Review it before change work.
Official advisory · high-confidence parse· fetched 15 hours ago·verify at source
Get an email when Apache publishes the next one.
See Apache's last 90 days of advisories first. Then choose one product with live alerts free for life, or a free month of real-time alerts on everything with the severity, the fixed version and the vendor's link (card needed, then US$15/month; we email you before the first charge).
More Apache Software Foundation advisories
- CVE-2026-124077Nov 9, 2026The GitIdentifiers class in Apache Commons Codec did not reject NUL bytes in tree entry
- CVE-2026-120367Nov 9, 2026Allocation of Resources Without Limits or Throttling vulnerability in Apache Axis2/Java
- CVE-2026-123779Nov 9, 2026Direct Request ('Forced Browsing') vulnerability in Apache Axis2/Java
- CVE-2026-123753Nov 9, 2026Server-Side Request Forgery (SSRF) vulnerability in Apache Axis2/Java
- CVE-2026-123766Nov 9, 2026Apache Axis2 cross-site scripting (XSS)
- CVE-2026-123770Nov 9, 2026Allocation of Resources Without Limits or Throttling vulnerability in Apache Axis2/Java
iPhone and Android apps · New on the App Store
Monitor future Apache Software Foundation CVEs from your phone.
Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 34 official vendor sources and 160+ reviewed platform categories.
Discussion(0)
No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.
Sign in to join the discussion.