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

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.1 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 1.23.0 (CNA); fix release not confirmed
- Status: published
- Published: 2026-11-09 · Modified: 2026-11-12
- Aliases: UBUNTU-CVE-2026-119078, CGA-2gpv-8fpr-f49w, CGA-2j6m-j4q6-h8jv, CGA-3rpq-rmrm-7gmf, CGA-3xw3-m96c-h9jr, CGA-4hm7-fr47-89rq, CGA-4q6w-7pfj-9289, CGA-5fhv-vr6v-259r, CGA-5vgq-pgvm-7h2c, CGA-6gv7-hpgg-q84x, CGA-7f4c-73fw-8f7f, CGA-7xm7-623p-mf8r, CGA-8332-px35-p9v2, CGA-986j-mr7f-8j4m, CGA-9m7g-7wq5-3wh9, CGA-f86f-hm84-v9v2, CGA-fg9v-6cp9-64h9, CGA-fqp7-86x3-68j6, CGA-fqwr-27r2-vfff, CGA-g94m-35xj-r579, CGA-gcxg-g637-7hr8, CGA-j7rw-xhg3-6m9x, CGA-jq4g-ffpm-22w8, CGA-mf5c-5vxv-pxq9, CGA-p49p-f343-wxcq, CGA-pfwf-55r4-r2hm, CGA-ph53-8825-m4xv, CGA-pjvv-8j5q-8c54, CGA-q3c8-29wf-g232, CGA-q9r6-qhcq-g7qx, CGA-rc5j-xpcf-83q5, CGA-v3m3-cff2-5h9h, CGA-vxrq-p2c8-9pcr, CGA-w5h2-q983-259x, CGA-wjx4-hq5v-9m2r, CGA-25qp-8x2p-c3m5, CGA-29mv-rwhc-gjpc, CGA-3rf6-f9x9-c3w5, CGA-46mw-mwq7-h97c, CGA-4wpc-f5q7-c3xw, CGA-5583-rrww-2w92, CGA-6jvq-2qjc-g83r, CGA-6x7c-mc9p-83cf, CGA-77p6-w2m2-92m3, CGA-864c-vfwh-r2m7, CGA-885w-6rm8-4jr7, CGA-97x3-r2v2-2r3v, CGA-9p9f-xmwv-22c5, CGA-9rx6-29wp-33vx, CGA-9xxm-5848-c5cm, CGA-c85w-vf3g-h73h, CGA-f4rv-mvmc-phw3, CGA-f52p-fv99-946q, CGA-ffph-x5p8-3f3x, CGA-fj3c-hcrg-22gh, CGA-frg5-xvcj-cr65, CGA-fwh6-29cc-vgqc, CGA-g2gp-w9ww-fmp4, CGA-gccr-755p-3rpg, CGA-gcx6-99q3-9qwr, CGA-hpx2-pvgr-wv6v, CGA-j2qf-2f6r-xhrc, CGA-j4hr-5j57-hpf5, CGA-j94h-mvmg-xq3j, CGA-jc6c-jwq5-ffr5, CGA-m2c4-8jx6-gq8w, CGA-m8ww-q7c8-q9g5, CGA-m9m2-xg7x-xhj6, CGA-mwff-hg4c-g275, CGA-pjh7-wr24-3x3j, CGA-pv9f-ccq2-gjrh, CGA-q67x-j6g5-pq3m, CGA-qhp8-pf5j-4mmp, CGA-rh27-v423-7vrh, CGA-rvmq-q543-86qh, CGA-rwq4-rf36-xq79, CGA-rxf6-r433-xx68, CGA-v72r-ppww-w262, CGA-v756-2vj8-9gfq, CGA-vp66-6x98-rm55, CGA-vxg4-45gj-9952, CGA-w466-cvj3-67mr, CGA-w6mm-mrf3-mxx6, CGA-xj7r-fh28-jpvr, CGA-xr7m-hhmf-c2qj
- Record: https://cvemate.com/vulnerability/CVE-2026-119078 · JSON: https://cvemate.com/vulnerability/CVE-2026-119078/json

## Description

```text
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.
```

## Signals

- CVSS: 9.1 critical (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- EPSS: 0.417%, percentile 38.014%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 51)

- apache software foundation apache commons codec: ≥ 1.16.0, \< 1.23.0
- chainguard opensearch-2 (Chainguard): \< 2.19.8-r2
- chainguard opensearch-2-analysis-phonetic (Chainguard): \< 2.19.8-r2
- chainguard opensearch-2-anomaly-detection (Chainguard): \< 2.19.8-r2
- chainguard opensearch-2-crypto-kms (Chainguard): \< 2.19.8-r2
- chainguard opensearch-2-discovery-azure-classic (Chainguard): \< 2.19.8-r2
- chainguard opensearch-2-discovery-ec2 (Chainguard): \< 2.19.8-r2
- chainguard opensearch-2-discovery-gce (Chainguard): \< 2.19.8-r2
- chainguard opensearch-2-index-management (Chainguard): \< 2.19.8-r2
- chainguard opensearch-2-ingest-attachment (Chainguard): \< 2.19.8-r2
- chainguard opensearch-2-repository-gcs (Chainguard): \< 2.19.8-r2
- chainguard opensearch-2-repository-s3 (Chainguard): \< 2.19.8-r2
- chainguard opensearch-2-security (Chainguard): \< 2.19.8-r2
- chainguard opensearch-3 (Chainguard): \< 3.10.1-r1
- chainguard opensearch-3-analysis-phonetic (Chainguard): \< 3.10.1-r1
- chainguard opensearch-3-anomaly-detection (Chainguard): \< 3.10.1-r1
- chainguard opensearch-3-crypto-kms (Chainguard): \< 3.10.1-r1
- chainguard opensearch-3-discovery-azure-classic (Chainguard): \< 3.10.1-r1
- chainguard opensearch-3-discovery-ec2 (Chainguard): \< 3.10.1-r1
- chainguard opensearch-3-discovery-gce (Chainguard): \< 3.10.1-r1

## References

- <https://lists.apache.org/thread.html/ol71kdgopfxwlxgqmkd0jrfcw05wdq5z>
- <http://www.openwall.com/lists/oss-security/2026/11/09/29>
- <https://ubuntu.com/security/CVE-2026-119078>
- <https://www.cve.org/CVERecord?id=CVE-2026-119078>

---

Data as of 2026-12-05T07:42:33.448Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
