UBUNTU-CVE-2026-124077

Source
https://ubuntu.com/security/CVE-2026-124077
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-124077.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-124077
Upstream
Published
2026-11-12T00:00:00Z
Modified
2026-11-12T23:46:20Z
Severity
  • Ubuntu - medium
Summary
[none]
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.

References

Affected packages

Ubuntu:14.04:LTS
libcommons-codec-java

Package

Name
libcommons-codec-java
Purl
pkg:deb/ubuntu/libcommons-codec-java?arch=source&distro=trusty

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.8-1
1.9-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libcommons-codec-java",
            "binary_version": "1.9-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-124077.json"
Ubuntu:16.04:LTS
libcommons-codec-java

Package

Name
libcommons-codec-java
Purl
pkg:deb/ubuntu/libcommons-codec-java?arch=source&distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.10-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libcommons-codec-java",
            "binary_version": "1.10-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-124077.json"
Ubuntu:18.04:LTS
libcommons-codec-java

Package

Name
libcommons-codec-java
Purl
pkg:deb/ubuntu/libcommons-codec-java?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.10-1
1.11-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libcommons-codec-java",
            "binary_version": "1.11-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-124077.json"
Ubuntu:20.04:LTS
libcommons-codec-java

Package

Name
libcommons-codec-java
Purl
pkg:deb/ubuntu/libcommons-codec-java?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.11-1
1.14-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libcommons-codec-java",
            "binary_version": "1.14-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-124077.json"
Ubuntu:22.04:LTS
libcommons-codec-java

Package

Name
libcommons-codec-java
Purl
pkg:deb/ubuntu/libcommons-codec-java?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.15-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libcommons-codec-java",
            "binary_version": "1.15-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-124077.json"
Ubuntu:24.04:LTS
libcommons-codec-java

Package

Name
libcommons-codec-java
Purl
pkg:deb/ubuntu/libcommons-codec-java?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.15-1
1.16.0-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libcommons-codec-java",
            "binary_version": "1.16.0-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-124077.json"
Ubuntu:26.04:LTS
libcommons-codec-java

Package

Name
libcommons-codec-java
Purl
pkg:deb/ubuntu/libcommons-codec-java?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.18.0-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libcommons-codec-java",
            "binary_version": "1.18.0-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-124077.json"
Ubuntu:26.10
libcommons-codec-java

Package

Name
libcommons-codec-java
Purl
pkg:deb/ubuntu/libcommons-codec-java?arch=source&distro=stonking

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.18.0-1
1.22.0-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libcommons-codec-java",
            "binary_version": "1.22.0-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-124077.json"