Low [CVE-2026-124077] The GitIdentifiers class in Apache Commons Codec did not reject NUL bytes in tree entry names
This low-severity Apache Software Foundation advisory covers CVE-2026-124077 affecting Apache Commons Codec.
Aggregated and source-linked by VulniPulse. Data sources, validation and limitations.
VulniPulse record published Record updated
Summary
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.
Is CVE-2026-124077 exploited?
No exploitation is reported in the sources VulniPulse tracks: CVE-2026-124077 is not in the CISA KEV catalog (checked ) and this advisory does not report exploitation. That is not proof the vulnerability cannot be exploited.
How do I fix CVE-2026-124077?
Upgrade to a fixed release named by Apache:
- 1.23.0
Confirm against the vendor advisory before you patch.
- 1.22.0 before 1.23.0
Official advisory · high-confidence parse· fetched 15 hours ago·verify at source
- 1.23.0
Official advisory · high-confidence parse· fetched 15 hours ago·verify at source
Mitigation checklist
- Users are recommended to upgrade to version 1.23.0, which fixes the issue.
Official advisory · high-confidence parse· fetched 15 hours ago·verify at source
Get an email when Apache publishes the next one.
See Apache's last 90 days of advisories first. Then choose one product with live alerts free for life, or a free month of real-time alerts on everything with the severity, the fixed version and the vendor's link (card needed, then US$15/month; we email you before the first charge).
More Apache Software Foundation advisories
- CVE-2026-119078Nov 9, 2026Apache Commons Codec's Blake3 class documented the output of its doFinalize methods
- CVE-2026-120367Nov 9, 2026Allocation of Resources Without Limits or Throttling vulnerability in Apache Axis2/Java
- CVE-2026-123779Nov 9, 2026Direct Request ('Forced Browsing') vulnerability in Apache Axis2/Java
- CVE-2026-123753Nov 9, 2026Server-Side Request Forgery (SSRF) vulnerability in Apache Axis2/Java
- CVE-2026-123766Nov 9, 2026Apache Axis2 cross-site scripting (XSS)
- CVE-2026-123770Nov 9, 2026Allocation of Resources Without Limits or Throttling vulnerability in Apache Axis2/Java
iPhone and Android apps · New on the App Store
Monitor future Apache Software Foundation CVEs from your phone.
Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 34 official vendor sources and 160+ reviewed platform categories.
Discussion(0)
No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.
Sign in to join the discussion.