{"id":"CVE-2026-124077","aliases":[],"cve":{"records":[{"id":"CVE-2026-124077","source":"apache","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-11-06T20:45:11.690Z","published":"2026-11-09T20:10:42.190Z","modified":"2026-11-12T17:33:24.985Z"}],"publishers":[{"name":"apache","role":"CNA","organizationId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","modified":"2026-11-09T20:10:42.190Z"},{"name":"CVE","role":"ADP","organizationId":"af854a3a-2127-422b-91ae-364da2661108","modified":"2026-11-10T00:11:06.971Z"},{"name":"CISA-ADP","role":"ADP","organizationId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","modified":"2026-11-12T17:33:24.985Z"}],"references":[{"url":"https://github.com/apache/commons-codec/commit/87f6aa2818836998528ff4b0d1ea35545a800ee5.patch","tags":["patch"],"source":"apache"},{"url":"https://lists.apache.org/thread.html/zns7tbnkq685prps9d85q7ct6oobvzsm","tags":["vendor-advisory"],"source":"apache"},{"url":"http://www.openwall.com/lists/oss-security/2026/11/09/30","tags":[],"source":"CVE"}],"weaknesses":[{"id":"CWE-158","description":"CWE-158 Improper neutralization of null byte or NUL character","source":"apache"}],"applicability":[],"prioritization":[{"source":"CISA-ADP","type":"SSVC","role":"CISA Coordinator","timestamp":"2026-11-12T17:33:11.359032Z","decisions":[{"name":"Exploitation","value":"none"},{"name":"Automatable","value":"no"},{"name":"Technical Impact","value":"partial"}]}]},"title":"Apache Commons Codec: NUL bytes in tree entry names cause Git/SWHID identifier collisions (GitIdentifiers class)","titleSource":"apache","descriptionSource":"apache","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.\n\n\n\nThe 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.\n\n\n\nThis issue affects Apache Commons Codec: from 1.22.0 before 1.23.0.\n\n\n\nUsers are recommended to upgrade to version 1.23.0, which fixes the issue.","score":4.3,"severity":"medium","published":"2026-11-09T20:10:42.190Z","modified":"2026-11-12T17:33:24.985Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"Apache Software Foundation","name":"Apache Commons Codec","platforms":[],"versions":[{"version":"1.22.0","status":"affected","lessThan":"1.23.0","versionType":"maven"}],"defaultStatus":"unaffected","packageURL":"pkg:maven/commons-codec/commons-codec","packageIdentity":{"ecosystem":"Maven","name":"commons-codec:commons-codec"},"cpes":[],"source":"apache","url":"https://www.cve.org/CVERecord?id=CVE-2026-124077"},{"vendor":"Apache Software Foundation","name":"Apache Commons Codec","platforms":[],"versions":[{"version":"387120c901f4a75c3112dfdf8877dcdec7ae685d","status":"affected","lessThan":"87f6aa2818836998528ff4b0d1ea35545a800ee5","versionType":"git"}],"defaultStatus":"unaffected","cpes":[],"source":"apache","url":"https://www.cve.org/CVERecord?id=CVE-2026-124077"}],"remediation":[],"references":["https://github.com/apache/commons-codec/commit/87f6aa2818836998528ff4b0d1ea35545a800ee5.patch","https://lists.apache.org/thread.html/zns7tbnkq685prps9d85q7ct6oobvzsm","http://www.openwall.com/lists/oss-security/2026/11/09/30"],"sources":[{"name":"CVE","id":"CVE-2026-124077","modified":"2026-11-12T17:33:24.985Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-124077"}],"assessments":[{"source":"CISA-ADP","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N","score":4.3}],"sourceAffected":[],"observedAt":"2026-11-12T19:06:51.498Z","kev":{"status":"not-listed","checkedAt":"2026-11-28T23:20:32.105Z"},"coverage":[{"source":"NVD","status":"available","checkedAt":"2026-11-09T20:20:34.479Z","attemptedAt":"2026-11-09T20:20:34.479Z"},{"source":"GHSA","status":"no-result","checkedAt":"2026-11-09T20:20:34.858Z","attemptedAt":"2026-11-09T20:20:34.858Z"},{"source":"EUVD","status":"no-result","checkedAt":"2026-11-09T20:20:34.906Z","attemptedAt":"2026-11-09T20:20:34.906Z"},{"source":"EPSS","status":"no-result","checkedAt":"2026-11-09T20:20:34.696Z","attemptedAt":"2026-11-09T20:20:34.696Z"}],"evidence":[{"source":"NVD","id":"CVE-2026-124077","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-124077","modified":"2026-11-09T20:18:10.340","checkedAt":"2026-11-09T20:20:34.479Z"}],"aiSummary":{"text":"Apache Commons Codec versions 1.22.0 before 1.23.0 are affected by a vulnerability where NUL bytes in tree entry names can cause Git/SWHID identifier collisions. The impact is limited to applications building trees from names with NUL bytes. Affected versions can be exploited if an attacker can supply crafted names.","model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","generatedAt":"2026-11-09T20:21:05.077Z","sources":[{"name":"CVE","url":"https://www.cve.org/CVERecord?id=CVE-2026-124077"}]}}