UBUNTU-CVE-2026-18370

Source
https://ubuntu.com/security/CVE-2026-18370
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-18370.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-18370
Upstream
Published
2026-08-10T13:17:00Z
Modified
2026-08-13T03:00:47.953237342Z
Severity
  • 4.8 (Medium) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

entr is vulnerable to Heap-based buffer overflow in runutility() function. The function allocates a fixed-size heap buffer using malloc(ARGMAX) and copies command-line arguments into it. It advances the destination pointer based on the return value of strlcpy(), which returns the total length of the source string rather than the number of bytes written. When the buffer is exactly filled, the remaining size underflows as an unsigned sizet, causing subsequent copies to write out of bounds. This can be triggered by supplying command-line arguments whose combined length fills the buffer, or via the / substitution feature which expands a short token into a longer pathname at runtime. The local attacker can cause memory corruption, process abort, and denial of service. This issue was fixed in commit 2467fe0

References

Affected packages

Ubuntu:16.04:LTS
entr

Package

Name
entr
Purl
pkg:deb/ubuntu/entr?arch=source&distro=xenial

Affected ranges

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

Affected versions

2.*
2.6-1
3.*
3.3-1
3.4-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "3.4-1",
            "binary_name": "entr"
        }
    ]
}

Database specific

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

Package

Name
entr
Purl
pkg:deb/ubuntu/entr?arch=source&distro=bionic

Affected ranges

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

Affected versions

3.*
3.7-1
3.9-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "3.9-1",
            "binary_name": "entr"
        }
    ]
}

Database specific

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

Package

Name
entr
Purl
pkg:deb/ubuntu/entr?arch=source&distro=focal

Affected ranges

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

Affected versions

4.*
4.1-1
4.3-1
4.4-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "4.4-1",
            "binary_name": "entr"
        }
    ]
}

Database specific

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

Package

Name
entr
Purl
pkg:deb/ubuntu/entr?arch=source&distro=jammy

Affected ranges

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

Affected versions

4.*
4.8-1
5.*
5.0-1
5.1-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "5.1-1",
            "binary_name": "entr"
        }
    ]
}

Database specific

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

Package

Name
entr
Purl
pkg:deb/ubuntu/entr?arch=source&distro=noble

Affected ranges

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

Affected versions

5.*
5.3-1
5.5-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "5.5-1",
            "binary_name": "entr"
        }
    ]
}

Database specific

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

Package

Name
entr
Purl
pkg:deb/ubuntu/entr?arch=source&distro=resolute

Affected ranges

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

Affected versions

5.*
5.7-1
5.7-1build1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "5.7-1build1",
            "binary_name": "entr"
        }
    ]
}

Database specific

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