CVE-2026-124077: Apache Commons Codec · Improper Neutralization of Null Byte or NUL Character
Affects Apache Commons CodecSource CVE Database V5
Not known to be exploited : upgrade to 1.23.0 when convenient.
Data as of 9 Nov 2026, 20:20 UTC
Rated Medium by Threat Radar's AI analysis · CVSS not yet scored by NVD
Thin evidence
One scorer or none- Patch
- Available – fixed in 1.23.0, 87f6aa2818836998528ff4b0d1ea35545a800ee5
Exploitation evidence
Disclosed: evidence found.
CVE published 9 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 9 Nov 2026.
What to do
Upgrade Apache Commons Codec and commons-codec/commons-codec to 1.23.0; Apache Commons Codec to 87f6aa2818836998528ff4b0d1ea35545a800ee5.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Apache Commons Codeccommons-codec:commons-codec | Affected
| Fixed in
|
| Apache Software FoundationApache Commons Codec | Affected
| Fixed in
|
Mavencommons-codec/commons-codecpkg:maven/commons-codec/commons-codecOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Users should upgrade Apache Commons Codec to version 1.23.0 or later, where this issue is fixed. No other mitigation is required as the fix is available and addresses the vulnerability directly.
Description
A vulnerability in Apache Commons Codec versions 1.22.0 up to but not including 1.23.0 allows crafted tree entry names containing NUL bytes to cause different directory trees to serialize to the same Git tree identifier or SWHID. This occurs because the GitIdentifiers class did not reject NUL bytes in tree entry names. The impact is limited since common file systems disallow NUL bytes in file names, so only applications building trees from external sources like archive formats permitting NUL bytes (e.g., ZIP) or direct API input are affected. The issue is fixed in version 1.23.0.