CVE-2026-124077: Libcommons codec java · The GitIdentifiers class in Apache Commons Codec did not reject NUL bytes in
Affects libcommons-codec-javaSource GCVE Database
Not known to be exploited · CVSS 4.3 Medium · fixed in 1.23.0 : update libcommons-codec-java when convenient.
Data as of 13 Nov 2026, 22:04 UTC
Thin evidence
One scorer or none| CISA-ADP | CVSS 3.1 | 4.3 |
|---|
- Patch
- Available – fixed in 1.23.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:NExploitation 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 13 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10libcommons-codec-javapkg:deb/ubuntu/libcommons-codec-java?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSlibcommons-codec-javapkg:deb/ubuntu/libcommons-codec-java?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlibcommons-codec-javapkg:deb/ubuntu/libcommons-codec-java?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlibcommons-codec-javapkg:deb/ubuntu/libcommons-codec-java?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTSlibcommons-codec-javapkg:deb/ubuntu/libcommons-codec-java?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Ubuntu 18.04 LTSlibcommons-codec-javapkg:deb/ubuntu/libcommons-codec-java?arch=source&distro=bionicOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The GitIdentifiers class in Apache Commons Codec did not reject NUL bytes in tree entry names. Because Git uses a NUL byte to mark the end of each entry name in a tree object, a crafted name could make one tree serialize to the same bytes as a different tree. Two different directory trees could then receive the same Git tree identifier or SWHID. The impact is limited: common file systems do not allow NUL bytes in file names, so trees built by walking a file system are not affected. Only applications that build trees from names supplied by other sources, such as entries of archive formats that permit NUL bytes in names (e.g. ZIP) or names passed directly to the API, are exposed. This issue affects Apache Commons Codec: from 1.22.0 before 1.23.0. Users are recommended to upgrade to version 1.23.0, which fixes the issue.
References
- ubuntu.com/security/CVE-2026-124077 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-124077 (opens in a new tab)
- github.com/apache/commons-codec/commit/87f6aa2818836998528ff4b0d1ea35545a800ee5.patch (opens in a new tab)
- lists.apache.org/thread.html/zns7tbnkq685prps9d85q7ct6oobvzsm (opens in a new tab)
- openwall.com/lists/oss-security/2026/11/09/30 (opens in a new tab)