CVE-2026-119078: Apache Commons Codec: Blake3 doFinalize is stateless; the documented KDF example derives identical keys

Published Nov 9, 2026
·
Updated

Apache Commons Codec: Blake3 doFinalize is stateless; the documented KDF example derives identical keys

Other sources

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.

— MITRE

Affected Software

10 affected components
Apache Commons Codec>=1.16.0<1.23.0
ubuntu/libcommons-codec-java*
ubuntu/libcommons-codec-java*
ubuntu/libcommons-codec-java*
ubuntu/libcommons-codec-java*
ubuntu/libcommons-codec-java*
ubuntu/libcommons-codec-java*
ubuntu/libcommons-codec-java*
ubuntu/libcommons-codec-java*
IBM Process Mining<=2.0.0 - 2.2.1 IF001

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Check applications for repeated doFinalize calls on the same Blake3 instance; derive multiple keys by requesting the combined output length in one call and splitting the result, as shown in the updated Javadoc.

Event History

Nov 9, 2026
CVE Published
via MITRE·08:11 PM
Data Sourced
via MITRE·08:11 PM
DescriptionWeakness
Data Sourced
via NVD·08:18 PM
DescriptionWeakness
Nov 12, 2026
Data Sourced
via OSV·12:00 AM
DescriptionSeverityAffected Software
Data Sourced
via NVD·06:17 PM
Severity
Nov 13, 2026
Data Sourced
via Microsoft·09:07 AM
DescriptionSeverityWeakness
Updated
via OSV·09:04 PM
Severity
Nov 30, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

Which applications are exposed to this issue?

Applications using Apache Commons Codec Blake3 that call doFinalize more than once on the same instance and expect each call to produce new output are affected. In particular, code copied from the Blake3 Javadoc KDF example can derive identical keys instead of separate keys.

2

Does upgrading to version 1.23.0 correct already-affected key derivation code?

No. Version 1.23.0 corrects the documentation, but doFinalize behavior is unchanged. Applications must change their derivation logic.

3

What should be changed if multiple derived keys are needed?

Request the combined output length in a single doFinalize call, then split that output into the required keys. Do not use consecutive doFinalize calls on one Blake3 instance to derive separate keys.

4

How can we identify whether our code is affected?

Review Blake3 usage for repeated doFinalize calls on the same instance without additional input, especially key-derivation code based on the shipped Javadoc example. Such calls return the same bytes rather than successive output.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203