Security Resilience

CVE-2026-119078

Apache Commons Codec

Published
09 November 2026
Modified
12 November 2026
CVSS Score v3.1 9.1
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS Score 0.0042 37th percentile
Risk Priority 67 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-119078 is a critical-severity Incorrect Provision of Specified Functionality (CWE-684) vulnerability in Apache Commons Codec (named in Apache's own CVE record; NVD lists no product yet). Its CVSS base score is 9.1 (Critical).

Operationally, ranked at the 37th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SA-15 (Development Process, Standards, and Tools) — see the control section below for these in your framework.

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

CVEs Like This One

CVE-2023-5158Shared CWE-684
CVE-2025-54567Shared CWE-684
CVE-2025-55174Shared CWE-684
CVE-2024-6502Shared CWE-684
CVE-2026-44597Shared CWE-684
CVE-2023-4258Shared CWE-684
CVE-2026-40684Shared CWE-684
CVE-2024-6425Shared CWE-684
CVE-2026-106361Shared CWE-684
CVE-2024-50357Shared CWE-684

Affected Assets

Apache
Apache Commons Codec
named in Apache's own CVE record; NVD lists no product yet

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)
  • 3 hardening rules · 2 OS baselines
Validate
Prove the fix (OWASP ASVS)
  • V7.1.1

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Developer testing and evaluation activities directly examine whether the delivered implementation satisfies documented design and requirements.

Requires the developer to follow a documented development process that explicitly includes maintaining consistency between design artifacts and implementation.

Mandates use of an SDLC that incorporates security and privacy activities, thereby structuring development to keep implementation aligned with documented design.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

Secure SDLC practices include design-to-code verification activities that directly address implementation versus documented design mismatches.

ID.RA-07 partial match
blocks

Formal change and exception tracking reduces uncontrolled drift from documented designs but does not verify consistency.

PR.PS-01 partial match
blocks

Configuration management verifies deployed state against documented baselines, catching some but not all design-implementation drift.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing in development and acceptance validates that implemented functionality conforms to specifications before release.

blocks

Change management can catch drift after the fact, but does not guarantee initial implementation matches design.

finds

A.5.21's supplier validation, penetration testing, and attestation processes can surface externally observable mismatches between documented security functions/requirements and delivered behavior, but without source-level design review most internal implementation-versus-documentation inconsistencies latent in supplied code go unfound.

prevents

A.8.28's secure coding practices — peer review, refactoring, structured programming, documenting code, secure design and architecture including threat modelling — provide some governance over implementation-design consistency, but the clause's stated purpose is reducing security vulnerabilities rather than enforcing design traceability, and the mechanism is human practice which is fallible, so only a minority of inconsistencies are prevented.

prevents

A.8.30 carries its effect through the secure-development practices its contract requires of the supplier (8.25 to 8.29), so it reduces ordinary software quality weaknesses in delivered code the way those practices do; acceptance testing (8.29) can catch some implementation-vs-design inconsistencies, but the clause does not specifically mandate design-to-implementation traceability, leaving a nameable remainder.

Hardening callouts derived

Configuration rules from DISA STIG baselines that bear on weaknesses of the type cited by this CVE. Each rule is shown with the relationship its mapping actually records, against the CWE it was authored against. Derived via CVE→CWE over our cross-walk; rows rated `none` are excluded, and each rule says how its mapping was checked.

Definition changed on 29 October 2026. Until then this section listed every rule rated above none, partial included. From that date it lists rules whose mapping is rated full or mostly and checked at llm_unverified or higher; partial mappings show when you ask.

No rule maps to these weaknesses at full or mostly. Tick the option above to see the partial mappings.

Oracle Linux 8 (1 partial rule)
  • V-248873 The Trivial File Transfer Protocol (TFTP) server package must not be installed if not required for OL 8 operational support. blocks CWE-1068
RHEL 7 (2 partial rules)
  • V-204392 The Red Hat Enterprise Linux operating system must be configured so that the file permissions, ownership, and group membership of system files and commands match the vendor values. blocks CWE-1068
  • V-204621 The Red Hat Enterprise Linux operating system must not have the Trivial File Transfer Protocol (TFTP) server package installed if not required for operational support. blocks CWE-1068

References