UBUNTU-CVE-2026-35340

Source
https://ubuntu.com/security/CVE-2026-35340
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-35340.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-35340
Upstream
  • CVE-2026-35340
Published
2026-04-22T17:16:00Z
Modified
2026-05-14T14:40:33.806683Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

A flaw in the ChownExecutor used by uutils coreutils chown and chgrp causes the utilities to return an incorrect exit code during recursive operations. The final exit code is determined only by the last file processed. If the last operation succeeds, the command returns 0 even if earlier ownership or group changes failed due to permission errors. This can lead to security misconfigurations where administrative scripts incorrectly assume that ownership has been successfully transferred across a directory tree.

References

Affected packages

Ubuntu:24.04:LTS / rust-coreutils

Package

Name
rust-coreutils
Purl
pkg:deb/ubuntu/rust-coreutils@0.0.24-2?arch=source&distro=noble

Affected ranges

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

Affected versions

0.*
0.0.20-1
0.0.22-1
0.0.23-1
0.0.23-2
0.0.23-3
0.0.24-1
0.0.24-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "0.0.24-2",
            "binary_name": "rust-coreutils"
        }
    ]
}

Database specific

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

Ubuntu:25.10 / rust-coreutils

Package

Name
rust-coreutils
Purl
pkg:deb/ubuntu/rust-coreutils@0.2.2-0ubuntu2.1?arch=source&distro=questing

Affected ranges

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

Affected versions

0.*
0.0.30-1
0.0.30-2
0.0.30-2ubuntu2
0.1.0-0ubuntu1
0.1.0+git20250711.2ba3a33-0ubuntu1
0.1.0+git20250711.2ba3a33-0ubuntu2
0.1.0+git20250711.2ba3a33-0ubuntu3
0.1.0+git20250711.2ba3a33-0ubuntu4
0.1.0+git20250801.cf79675-0ubuntu1
0.1.0+git20250813.4af2a84-0ubuntu2
0.1.0+git20250813.4af2a84-0ubuntu4
0.1.0+git20250813.4af2a84-0ubuntu6
0.1.0+git20250813.4af2a84-0ubuntu7
0.2.2-0ubuntu1
0.2.2-0ubuntu2
0.2.2-0ubuntu2.1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "0.2.2-0ubuntu2.1",
            "binary_name": "rust-coreutils"
        }
    ]
}

Database specific

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