Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify app deriving keys via Blake3
-
DeliveryKeys produced by repeated doFinalize calls
-
ExploitDerived keys collapse to identical value
-
ExecutionAttacker compromises one key context
-
ImpactDecrypt data or forge MAC
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Incorrect provision of specified functionality
|
| Exploitation Conditions | Exploitation requires an application that calls doFinalize more than once on a single Blake3 instance expecting fresh output each time - most concretely, code following the class Javadoc's key-derivation example (shipped since 1.16.0) that derives two or more keys with consecutive doFinalize calls, which then return identical bytes. Strong limiting factors: the library itself is not remotely triggerable by an attacker; only applications written against the flawed pattern are affected, and the eventual security impact depends entirely on how the collapsed keys are used. Critically, upgrading to 1.23.0 does NOT remediate affected code - 1.23.0 only corrects the documentation; developers must change the code to request the combined key length in a single doFinalize call and split the output. This is not remote unauthenticated exploitation against a default library configuration. |
| Impact | The signals conflict sharply and must be weighed carefully. The input CVSS of 9.1 (AV:N/AC:L/PR:N/UI:N/C:H/I:H/A:N) rates this Critical and remotely exploitable without authentication, but that framing is misleading for the actual defect: this is CWE-684 (incorrect provision of specified functionality) - a documentation bug in which the Blake3 Javadoc's key-derivation example, shipped since 1.16.0, uses two consecutive doFinalize calls that silently return identical bytes, collapsing the separation between derived keys. There is no attacker-facing network trigger described; exploitability is entirely contingent on whether a downstream application followed the flawed example, so the AV:N/AC:L/PR:N vector describes the eventual cryptographic exposure, not a directly reachable remote flaw in the library. The EPSS score of 0.23% (14th percentile) is low and consistent with the absence of any public exploit and the fact that abuse requires a specific vulnerable application pattern rather than a mass-scannable condition. There is no CISA KEV listing and no PoC reference in the input, so this is not confirmed active exploitation. Against all that, the vuln.today Decision label is act_now - justified less by imminent mass exploitation than by a genuinely unusual property: version 1.23.0 only corrects the documentation and does NOT change doFinalize's behavior, so upgrading alone does not remediate affected code. Teams must audit their own code for repeated doFinalize calls. Net: this is a real priority for organizations that wrote Blake3 key-derivation code against the old Javadoc, but the 9.1/AV:N rating overstates the generic remote risk - the low EPSS and absence of KEV/PoC indicate a latent, application-specific crypto weakness, not a widespread remotely weaponizable vulnerability. |
| Exploit ScenarioDerived | An application derives multiple keys (for example an encryption key and a separate MAC key) using Apache Commons Codec's Blake3 class by following the shipped Javadoc example, calling doFinalize twice on one instance; because doFinalize does not advance the hash state, both outputs are identical and the intended key separation is lost. An attacker who learns, influences, or can reconstruct one derived key thereby obtains the other, enabling decryption of data or forgery of authentication tags that the two-key design was meant to prevent. No public exploit code exists at time of analysis; realizing the attack depends entirely on how the affected application uses the collapsed keys. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 12, 2026
Applications using Apache Commons Codec 1.16.0 through 1.22.x can silently derive identical keys where they expected distinct ones, because Blake3's doFinalize does not reset hash state - consecutive calls without new input return the same bytes, contradicting the class Javadoc's own key-derivation example shipped since 1.16.0. The security consequence depends entirely on the calling code: anything that follows that example, or otherwise calls doFinalize repeatedly expecting fresh output, loses the separation between derived keys, with impact ranging from benign key reuse to compromised confidentiality or integrity in whatever protocol consumes those keys. No public exploit code has been identified at time of analysis, EPSS is low at 0.23% (14th percentile) and the issue is not in CISA KEV, yet the priority signal is act_now because the 1.23.0 release corrects only the documentation - the doFinalize behavior is unchanged, so upgrading alone leaves vulnerable code vulnerable.
RemediationAI
Upgrade Apache Commons Codec to 1.23.0 or later, but treat the upgrade as documentation hygiene only - it does not remediate the flaw. The vendor states plainly that the behavior of doFinalize is unchanged, so developers must audit their own code for repeated doFinalize calls on a single Blake3 instance and rewrite each such site to request the combined output length in one doFinalize call and split the result, exactly as the updated Javadoc demonstrates. Be aware of the migration side effect: the corrected combined-length derivation yields different key bytes than the previously collapsed output, so any data, tokens or stored secrets produced under the duplicate keys must be re-derived or re-wrapped as part of the change rather than swapped silently, and any two-key scheme must be re-validated end to end. Vendor and community advisories are at https://lists.apache.org/thread.html/ol71kdgopfxwlxgqmkd0jrfcw05wdq5z, https://seclists.org/oss-sec/2026/q4/609 and http://www.openwall.com/lists/oss-security/2026/11/09/29, with the EUVD record at https://nvd.nist.gov/vuln/detail/CVE-2026-119078; because the decision label for this issue is act_now, inventory and code review should be scheduled as an active remediation task rather than deferred.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Apache Commons Codec ships a Java Blake3 implementation intended to mirror BLAKE3's keyed-hash and key-derivation modes; the class exposes a Mac-like API in which doFinalize is used both to finish a digest and to perform key derivation. The documented contract, and the pattern illustrated in the class Javadoc added in 1.16.0, treats doFinalize as producing output that depends on previously finalized bytes, so that two consecutive calls yield two different keys. In reality doFinalize leaves the hash state untouched, making it idempotent: called again with no additional input it returns the same bytes. This is classified as CWE-684 (Incorrect Provision of Specified Functionality) - the implementation does not deliver the behavior its own specification promises, and the shipped example therefore teaches a broken key-derivation idiom that produces a single key duplicated across two derivation slots. The affected surface is the library's API contract and its documentation rather than a remotely reachable entry point; the trigger is a specific application-level calling pattern, not a default library configuration, which is why the assessed vector carries AC:H while retaining PR:N. Note that the exact mechanism by which an attacker monetizes the collapsed keys is not described in the available sources; it is application-dependent and must be evaluated per integrating product.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Impact is lost key separation affecting confidentiality and integrity of protected data (C:H/I:H, A:N); AC:H because exploitation requires the application to have followed the flawed key-derivation pattern, a condition outside attacker control.
Primary rating from Vendor (apache).
CVSS VectorVendor: apache
Lifecycle Timeline
4DescriptionCVE.org
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.
Executive ViewAI
CVE-2026-119078 is a critical vulnerability in Apache Commons Codec (versions 1.16.0 through 1.22.x) that can cause Blake3 key derivation to produce identical keys instead of distinct ones, potentially compromising confidentiality and integrity in cryptographic protocols. While no public exploit code exists, the risk is amplified because the 1.23.0 release only corrects documentation, not the vulnerable behavior, so organizations using the affected versions remain exposed even after upgrading. Leadership should prioritize identifying and mitigating affected applications within the 30-day window.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-120400
GHSA-rv28-228v-c565
NVD
CVE.org
EPSS
Exploit-DB