CVE-2026-119078
published critical CVSS 3.1 · 9.1Apache Commons Codec: Blake3 doFinalize is stateless; the documented KDF example derives identical keys
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | commons-codec:commons-codecApache Commons Codec · 1.16.0 to < 1.23.0 · Other versions: unaffected | Affected | Not stated | apache |
| SUSE / openSUSE | openSUSE-Tumbleweed | apache-commons-codecaarch64 | Advisory build | 1.23.0-1.1 | OPENSUSE-SU-2026:12523-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | apache-commons-codecppc64le | Advisory build | 1.23.0-1.1 | OPENSUSE-SU-2026:12523-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | apache-commons-codecs390x | Advisory build | 1.23.0-1.1 | OPENSUSE-SU-2026:12523-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | apache-commons-codecx86_64 | Advisory build | 1.23.0-1.1 | OPENSUSE-SU-2026:12523-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | apache-commons-codec-javadocaarch64 | Advisory build | 1.23.0-1.1 | OPENSUSE-SU-2026:12523-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | apache-commons-codec-javadocppc64le | Advisory build | 1.23.0-1.1 | OPENSUSE-SU-2026:12523-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | apache-commons-codec-javadocs390x | Advisory build | 1.23.0-1.1 | OPENSUSE-SU-2026:12523-1 |
Show 1 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | apache-commons-codec-javadocx86_64 | Advisory build | 1.23.0-1.1 | OPENSUSE-SU-2026:12523-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.1 / 10
- Severity
- critical
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache Commons Codec | 1.16.0 to < 1.23.0 (affected · maven)Default: unaffected | apache · cna |
Weaknesses
2- CWE-684 CWE-684 Incorrect Provision of Specified Functionality
- CWE-1068 CWE-1068 Inconsistency Between Implementation and Documented Design
References
2Provider assertions
3apache · cna
Apache Commons Codec: Blake3 doFinalize is stateless; the documented KDF example derives identical keys
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 3cc8b65ed8e9f20f4fcdcb70f96731389644344b82b9a39e25c55da8e5841341
- Ingested
- 12 Nov 2026, 17:38:02 UTC
- Source record
- Official CVE record