Skip to main content
CVE-2026-119078VulnerabilityPublished

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

Source GCVE Database

0
Compare
Authoritative record:CVE-2026-119078· Medium

Not known to be exploited : upgrade to 1.23.0 when convenient.

Data as of 9 Nov 2026, 22:20 UTC

Severity
Medium

Rated by Threat Radar · CVSS not yet scored by NVD

Thin evidence

One scorer or none
Patch
Available – fixed in 1.23.0

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 9 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 9 Nov 2026.

What to do

Upgrade Apache Commons Codec and commons-codec/commons-codec to 1.23.0.

Affected software

ProductAffectedFixed in
Apache Commons Codeccommons-codec:commons-codecAffected
  • >=1.16.0 <1.23.0
Fixed in
  • 1.23.0
Mavencommons-codec/commons-codecpkg:maven/commons-codec/commons-codecOther threatsAffected
  • >=1.16.0 <1.23.0
Fixed in
  • 1.23.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

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.

References

Community reviews

Loading reviews…