{"api_version":"1","generated_at":"2026-11-10T07:59:39+00:00","cve":"CVE-2026-119078","urls":{"html":"https://cve.report/CVE-2026-119078","api":"https://cve.report/api/cve/CVE-2026-119078.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-119078","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-119078"},"summary":{"title":"Apache Commons Codec: Blake3 doFinalize is stateless; the documented KDF example derives identical keys","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.\n\n\n\nThis issue affects Apache Commons Codec from 1.16.0 before 1.23.0.\n\n\n\nVersion 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.","state":"PUBLISHED","assigner":"apache","published_at":"2026-11-09 20:18:04","updated_at":"2026-11-10 01:17:15"},"problem_types":["CWE-684","CWE-1068","CWE-684 CWE-684 Incorrect Provision of Specified Functionality","CWE-1068 CWE-1068 Inconsistency Between Implementation and Documented Design"],"metrics":[],"references":[{"url":"http://www.openwall.com/lists/oss-security/2026/11/09/29","name":"http://www.openwall.com/lists/oss-security/2026/11/09/29","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://lists.apache.org/thread.html/ol71kdgopfxwlxgqmkd0jrfcw05wdq5z","name":"https://lists.apache.org/thread.html/ol71kdgopfxwlxgqmkd0jrfcw05wdq5z","refsource":"security@apache.org","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-119078","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-119078","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Apache Software Foundation","product":"Apache Commons Codec","version":"affected 1.16.0 1.23.0 maven","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"CNA","value":"Claude Security","lang":"en"},{"source":"CNA","value":"Gary D. Gregory","lang":"en"}],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2026-11-10T00:11:04.919Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"url":"http://www.openwall.com/lists/oss-security/2026/11/09/29"}],"title":"CVE Program Container"}],"cna":{"affected":[{"collectionURL":"https://repo.maven.apache.org/maven2","defaultStatus":"unaffected","packageName":"commons-codec:commons-codec","packageURL":"pkg:maven/commons-codec/commons-codec","product":"Apache Commons Codec","vendor":"Apache Software Foundation","versions":[{"lessThan":"1.23.0","status":"affected","version":"1.16.0","versionType":"maven"}]}],"credits":[{"lang":"en","type":"tool","value":"Claude Security"},{"lang":"en","type":"remediation developer","value":"Gary D. Gregory"}],"descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p><span>Apache Commons Codec's </span><code>Blake3</code><span> class documented the output of its </span><code>doFinalize</code><span> methods as depending on any previously finalized bytes, so that consecutive calls would return different output. In fact, </span><code>doFinalize</code><span> 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 </span><code>doFinalize</code><span> 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 </span><code>doFinalize</code><span> more than once on one instance and expects new output each time.</span></p><p>This issue affects Apache Commons Codec from 1.16.0 before 1.23.0.</p><p>Version 1.23.0 corrects the documentation, but the behavior of <code>doFinalize</code> is unchanged. Upgrading alone does not fix affected code. Users should check their applications for repeated <code>doFinalize</code> 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.</p>"}],"value":"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.\n\n\n\nThis issue affects Apache Commons Codec from 1.16.0 before 1.23.0.\n\n\n\nVersion 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."}],"metrics":[{"other":{"content":{"text":"important"},"type":"Textual description of severity"},"scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-684","description":"CWE-684 Incorrect Provision of Specified Functionality","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-1068","description":"CWE-1068 Inconsistency Between Implementation and Documented Design","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-11-09T20:11:12.230Z","orgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","shortName":"apache"},"references":[{"tags":["vendor-advisory"],"url":"https://lists.apache.org/thread.html/ol71kdgopfxwlxgqmkd0jrfcw05wdq5z"}],"source":{"discovery":"INTERNAL"},"title":"Apache Commons Codec: Blake3 doFinalize is stateless; the documented KDF example derives identical keys","x_generator":{"engine":"Vulnogram 1.0.3"}}},"cveMetadata":{"assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","assignerShortName":"apache","cveId":"CVE-2026-119078","datePublished":"2026-11-09T20:11:12.230Z","dateReserved":"2026-10-29T13:10:03.787Z","dateUpdated":"2026-11-10T00:11:04.919Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-09 20:18:04","lastModifiedDate":"2026-11-10 01:17:15","problem_types":["CWE-684","CWE-1068","CWE-684 CWE-684 Incorrect Provision of Specified Functionality","CWE-1068 CWE-1068 Inconsistency Between Implementation and Documented Design"],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"119078","Ordinal":"1","Title":"Apache Commons Codec: Blake3 doFinalize is stateless; the docume","CVE":"CVE-2026-119078","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"119078","Ordinal":"1","NoteData":"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.\n\n\n\nThis issue affects Apache Commons Codec from 1.16.0 before 1.23.0.\n\n\n\nVersion 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.","Type":"Description","Title":"Apache Commons Codec: Blake3 doFinalize is stateless; the docume"}]}}}