PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-124077 Apache Software Foundation CVE debrief

The GitIdentifiers class in Apache Commons Codec did not reject NUL bytes in tree entry names, potentially allowing crafted names to receive the same Git tree identifier or SWHID as different directory trees. This issue affects Apache Commons Codec versions from 1.22.0 before 1.23.0. Users are recommended to upgrade to version 1.23.0. The impact is limited as 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.

Vendor
Apache Software Foundation
Product
Apache Commons Codec
CVSS
MEDIUM 4.3
CISA KEV
Not listed in stored evidence
Original CVE published
2026-11-09
Original CVE updated
2026-11-12
Advisory published
2026-11-09
Advisory updated
2026-11-12

Who should care

Defenders and developers using Apache Commons Codec versions 1.22.0 and earlier should assess exposure and upgrade to version 1.23.0. This includes operators, security teams, and vulnerability management teams who need to review and update affected applications that build trees from names supplied by other sources.

Why it matters

CVE-2026-124077 is a vulnerability in Apache Commons Codec's GitIdentifiers class that did not reject NUL bytes in tree entry names. Defenders and developers using affected versions should assess exposure and upgrade to version 1.23.0. The impact is limited as common file systems do not allow NUL bytes in file names.

  • Verify inventory for affected versions 1.22.0 and earlier
  • Upgrade to version 1.23.0 of Apache Commons Codec to fix the issue
  • Review and update affected applications that build trees from names supplied by other sources

Technical summary

The GitIdentifiers class in Apache Commons Codec did not reject NUL bytes in tree entry names, potentially allowing crafted names to receive the same Git tree identifier or SWHID as different directory trees. This issue affects Apache Commons Codec versions from 1.22.0 before 1.23.0. The impact is limited as common file systems do not allow NUL bytes in file names. Only applications that build trees from names supplied by other sources are exposed. Users are recommended to upgrade to version 1.23.0 to fix the issue.

Defensive priority

Upgrade to version 1.23.0 of Apache Commons Codec to fix the issue.

Recommended defensive actions

  • Upgrade to version 1.23.0 of Apache Commons Codec
  • Review and update affected applications that build trees from names supplied by other sources
  • Verify inventory for affected versions 1.22.0 and earlier
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
  • Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance
  • Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review

Evidence notes

The CVE record and NVD entry provide details on the vulnerability in Apache Commons Codec. The issue is limited as common file systems do not allow NUL bytes in file names. Defenders should verify inventory for affected versions 1.22.0 and earlier and review affected applications that build trees from names supplied by other sources. The CVE Program record and NVD detail page offer source-provided CVE metadata and vulnerability assessment.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-124077 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-124077

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-124077 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-124077

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.