Impact
The Blake3 class in Apache Commons Codec incorrectly documents that consecutive doFinalize calls produce different results, while the implementation returns the same output each time. Code that expects new derived keys after each doFinalize therefore obtains identical keys, breaking separation between keys. This flaw can compromise confidentiality by providing attackers with predictable or duplicate keys derived from secrets.
Affected Systems
Apache Commons Codec library versions ranging from 1.16.0 up to, but not including, 1.23.0 are impacted. The defect exists in the implementation regardless of the host platform or programming language. Users employing these versions within any application that performs repeated doFinalize calls on the same Blake3 instance are potentially affected.
Risk and Exploitability
The vulnerability is a logical design flaw and does not expose a traditional attack vector such as remote code execution. No exploitation metrics like CVSS or EPSS are available, and the issue is not listed in the KEV catalog. The primary risk arises from developers incorrectly using the API, leading to identical keys and weakened cryptographic safeguards.
OpenCVE Enrichment