Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-124077

published medium CVSS 3.1 · 4.3

Apache Commons Codec: NUL bytes in tree entry names cause Git/SWHID identifier collisions (GitIdentifiers class)

Published
09 Nov 2026, 20:10:42 UTC
Updated
12 Nov 2026, 17:33:24 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Apache Software Foundation — commons-codec:commons-codecApache Commons Codec · 1.22.0 to < 1.23.0 · Other versions: unaffected Affected Not stated apache
Apache Software Foundation — Apache Commons Codec387120c901f4a75c3112dfdf8877dcdec7ae685d to < 87f6aa2818836998528ff4b0d1ea35545a800ee5 · Other versions: unaffected Affected Not stated apache
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
SUSE / openSUSE openSUSE-Tumbleweed apache-commons-codecaarch64 Advisory build 1.23.0-1.1 OPENSUSE-SU-2026:12523-1
SUSE / openSUSE openSUSE-Tumbleweed apache-commons-codecppc64le Advisory build 1.23.0-1.1 OPENSUSE-SU-2026:12523-1
SUSE / openSUSE openSUSE-Tumbleweed apache-commons-codecs390x Advisory build 1.23.0-1.1 OPENSUSE-SU-2026:12523-1
SUSE / openSUSE openSUSE-Tumbleweed apache-commons-codecx86_64 Advisory build 1.23.0-1.1 OPENSUSE-SU-2026:12523-1
Show 4 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE openSUSE-Tumbleweed apache-commons-codec-javadocaarch64 Advisory build 1.23.0-1.1 OPENSUSE-SU-2026:12523-1
SUSE / openSUSE openSUSE-Tumbleweed apache-commons-codec-javadocppc64le Advisory build 1.23.0-1.1 OPENSUSE-SU-2026:12523-1
SUSE / openSUSE openSUSE-Tumbleweed apache-commons-codec-javadocs390x Advisory build 1.23.0-1.1 OPENSUSE-SU-2026:12523-1
SUSE / openSUSE openSUSE-Tumbleweed apache-commons-codec-javadocx86_64 Advisory build 1.23.0-1.1 OPENSUSE-SU-2026:12523-1

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. 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.

en · apache · cna

Vendor advisories explicitly linked to this CVE.

1

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
4.3 / 10
Severity
medium
Provider
CISA-ADP · adp
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Apache Software Foundation Apache Commons Codec 1.22.0 to < 1.23.0 (affected · maven)Default: unaffected apache · cna
Apache Software Foundation Apache Commons Codec 387120c901f4a75c3112dfdf8877dcdec7ae685d to < 87f6aa2818836998528ff4b0d1ea35545a800ee5 (affected · git)Default: unaffected apache · cna

Weaknesses

1
  • CWE-158 CWE-158 Improper neutralization of null byte or NUL character (apache · cna)

References

3

Provider assertions

3

apache · cna

Apache Commons Codec: NUL bytes in tree entry names cause Git/SWHID identifier collisions (GitIdentifiers class)

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
e6e34d734b4fa984a1309ca8c50dddb25c5478ea522172825828580d3b2e5ec0
Ingested
12 Nov 2026, 17:38:02 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected