UBUNTU-CVE-2026-124077 (CVE-2026-124077)
Vulnerability from osv_ubuntu – Published: 2026-11-12 00:00 – Updated: 2026-11-13 18:04 – Source websiteThe 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.
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libcommons-codec-java",
"binary_version": "1.9-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:14.04:LTS",
"name": "libcommons-codec-java",
"purl": "pkg:deb/ubuntu/libcommons-codec-java@1.9-1?arch=source\u0026distro=trusty"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.8-1",
"1.9-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libcommons-codec-java",
"binary_version": "1.10-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "libcommons-codec-java",
"purl": "pkg:deb/ubuntu/libcommons-codec-java@1.10-1?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.10-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libcommons-codec-java",
"binary_version": "1.11-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "libcommons-codec-java",
"purl": "pkg:deb/ubuntu/libcommons-codec-java@1.11-1?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.10-1",
"1.11-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libcommons-codec-java",
"binary_version": "1.14-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "libcommons-codec-java",
"purl": "pkg:deb/ubuntu/libcommons-codec-java@1.14-1?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.11-1",
"1.14-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libcommons-codec-java",
"binary_version": "1.15-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "libcommons-codec-java",
"purl": "pkg:deb/ubuntu/libcommons-codec-java@1.15-1?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.15-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libcommons-codec-java",
"binary_version": "1.16.0-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "libcommons-codec-java",
"purl": "pkg:deb/ubuntu/libcommons-codec-java@1.16.0-1?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.15-1",
"1.16.0-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libcommons-codec-java",
"binary_version": "1.22.0-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.10",
"name": "libcommons-codec-java",
"purl": "pkg:deb/ubuntu/libcommons-codec-java@1.22.0-1?arch=source\u0026distro=stonking"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.18.0-1",
"1.22.0-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libcommons-codec-java",
"binary_version": "1.18.0-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "libcommons-codec-java",
"purl": "pkg:deb/ubuntu/libcommons-codec-java@1.18.0-1?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.18.0-1"
]
}
],
"aliases": [],
"details": "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.",
"id": "UBUNTU-CVE-2026-124077",
"modified": "2026-11-13T18:04:39Z",
"published": "2026-11-12T00:00:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2026-124077"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-124077"
},
{
"type": "REPORT",
"url": "https://github.com/apache/commons-codec/commit/87f6aa2818836998528ff4b0d1ea35545a800ee5.patch"
},
{
"type": "REPORT",
"url": "https://lists.apache.org/thread.html/zns7tbnkq685prps9d85q7ct6oobvzsm"
},
{
"type": "REPORT",
"url": "http://www.openwall.com/lists/oss-security/2026/11/09/30"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2026-124077"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.