Skip to main content
VulnerabilityPublished Updated

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

0
Compare
Authoritative record:CVE-2026-124077· Medium 4.3

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

CVSS 3.1 base score
4.3Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CISA-ADPCVSS 3.14.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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 9 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Ubuntu 26.10libcommons-codec-javapkg:deb/ubuntu/libcommons-codec-java?arch=source&distro=stonkingOther threatsAffected
  • =1.18.0-1
  • =1.22.0-1
Fixed in–
Ubuntu 26.04 LTSlibcommons-codec-javapkg:deb/ubuntu/libcommons-codec-java?arch=source&distro=resoluteOther threatsAffected
  • =1.18.0-1
Fixed in–
Ubuntu 24.04 LTSlibcommons-codec-javapkg:deb/ubuntu/libcommons-codec-java?arch=source&distro=nobleOther threatsAffected
  • =1.15-1
  • =1.16.0-1
Fixed in–
Ubuntu 22.04 LTSlibcommons-codec-javapkg:deb/ubuntu/libcommons-codec-java?arch=source&distro=jammyOther threatsAffected
  • =1.15-1
Fixed in–
Ubuntu 20.04 LTSlibcommons-codec-javapkg:deb/ubuntu/libcommons-codec-java?arch=source&distro=focalOther threatsAffected
  • =1.11-1
  • =1.14-1
Fixed in–
Ubuntu 18.04 LTSlibcommons-codec-javapkg:deb/ubuntu/libcommons-codec-java?arch=source&distro=bionicOther threatsAffected
  • =1.10-1
  • =1.11-1
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

Community reviews

Loading reviews…