Skip to main content
VulnerabilityPublished

CVE-2026-124077: Apache Commons Codec · Improper Neutralization of Null Byte or NUL Character

Affects Apache Commons CodecSource CVE Database V5

0
Compare

Not known to be exploited : upgrade to 1.23.0 when convenient.

Data as of 9 Nov 2026, 20:20 UTC

Severity
Medium

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

  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 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

ProductAffectedFixed in
Apache Commons Codeccommons-codec:commons-codecAffected
  • >=1.22.0 <1.23.0
Fixed in
  • 1.23.0
Apache Software FoundationApache Commons CodecAffected
  • ≥ 387120c901f4a75c3112dfdf8877dcdec7ae685d, < 87f6aa2818836998528ff4b0d1ea35545a800ee5
Fixed in
  • 87f6aa2818836998528ff4b0d1ea35545a800ee5
Mavencommons-codec/commons-codecpkg:maven/commons-codec/commons-codecOther threatsAffected
  • >=1.22.0 <1.23.0
Fixed in
  • 1.23.0

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.

References

Community reviews

Loading reviews…