4.3

CVE-2026-124077: Apache Commons Codec: NUL bytes in tree entry names cause Git/SWHID identifier collisions (GitIdentifiers class)

Awaiting analysis
AliasesUBUNTU-CVE-2026-124077DEBIAN-CVE-2026-124077CGA-73p6-hrcw-mj34
Published 09-11-2026Last modified 12-11-2026

Vulnerability summary

CVE-2026-124077 is a medium (CVSS 4.3) vulnerability in apache software foundation apache commons codec. EPSS estimates a 0.36% chance of exploitation in the next 30 days, higher than 31.5% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 4.3, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
4.3/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.36%
0%100%
Low · Change unavailable
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 1 · Related 1

Timeline

  1. 09-11-2026
    PublishedVulnerability first disclosed.
  2. 12-11-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.36%

Chance of exploitation in the next 30 days

Percentile

32%

Versus all other CVEs

30-day change

Change unavailable

Change unavailable

10-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard2 products
  • opensearch-3-security< 3.10.1-r1
  • opensearch-fips-3-security< 3.10.1-r1
Apache software foundation1 product
  • apache commons codec≥ 1.22.0, < 1.23.0 | ≥ 387120c901f4a75c3112dfdf8877dcdec7ae685d, < 87f6aa2818836998528ff4b0d1ea35545a800ee5
Debian1 product
  • libcommons-codec-javaAll versions (No fix recorded) | < 1.23.0-1
Ubuntu1 product
  • libcommons-codec-javaAll versions (No fix recorded)
Wolfi1 product
  • opensearch-3-security< 3.10.1-r1

5 vendors · 6 products

References

6 links