Home / Apache Software Foundation / Apache Commons Codec / CVE-2026-124077
CVE-2026-124077: is it exploited, and which versions of Apache Software Foundation Apache Commons Codec are affected and fixed?
CVE-2026-124077 is an improper Neutralization of Null Byte or NUL Character vulnerability in Apache Software Foundation Apache Commons Codec. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:39 UTC). Affected: Apache Commons Codec from 1.22.0 before 1.23.0 (CVE record by apache). Fixed in 1.23.0 (CVE record by apache). Severity: Medium (4.3, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:39 UTC, CVE record November 19, 2026, 07:04 UTC and NVD November 19, 2026, 07:04 UTC.
What is CVE-2026-124077?
Apache Commons Codec: NUL bytes in tree entry names cause Git/SWHID identifier collisions (GitIdentifiers class)
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.
From the CVE record by apache, last updated November 12, 2026, 17:33 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Apache Software Foundation | Apache Commons Codec commons-codec:commons-codec | from 1.22.0 before 1.23.0 | 1.23.0 |
| Apache Software Foundation | Apache Commons Codec | not stated |
As the CVE record by apache states it, last updated November 12, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-124077?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N | CISA-ADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-124077 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, November 12, 2026)
- EPSS
- 0.36% probability of exploitation activity in the next 30 days, percentile 31.6 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-158 Improper Neutralization of Null Byte or NUL Character
Where are the vendor advisories and references?
- https://github.com/apache/commons-codec/commit/87f6aa2818836998528ff4b0d1ea35545a800ee5.patch patch
- https://lists.apache.org/thread.html/zns7tbnkq685prps9d85q7ct6oobvzsm vendor-advisory
- http://www.openwall.com/lists/oss-security/2026/11/09/30
Who found and reported it?
- Claude Security (tool)
- Gary D. Gregory (remediation developer)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- November 6, 2026
- Published
- November 9, 2026, 20:10 UTC
- CVE record updated
- November 12, 2026, 17:33 UTC by apache
- NVD
- Awaiting Analysis, last modified November 12, 2026, 18:17 UTC
- Last checked
- CVE list November 19, 2026, 07:04 UTC; NVD November 19, 2026, 07:04 UTC; KEV December 3, 2026, 18:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Apache Commons Codec?
- Nov 9, 2026CVE-2026-119078 Apache Software Foundation Apache Commons Codec: incorrect Provision of Specified Functionality
Every CVE in Apache Commons Codec
Questions about CVE-2026-124077
Is CVE-2026-124077 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:39 UTC. FIRST's EPSS gives it a 0.36% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Apache Software Foundation Apache Commons Codec are affected by CVE-2026-124077?
Apache Commons Codec from 1.22.0 before 1.23.0, per the CVE record by apache. The tables above give every range the sources list.
Which version fixes CVE-2026-124077?
1.23.0, per the CVE record by apache. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-124077?
Medium (4.3, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2026-124077?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.