Incorrect Conversion between Numeric Types Affecting trivy package, versions <0:0.72.0-0.1.hum1


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.16% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL10-TRIVY-17806719
  • published3 Jul 2026
  • disclosed1 Jul 2026

Introduced: 1 Jul 2026

CVE-2026-46680  (opens in a new tab)
CWE-681  (opens in a new tab)

How to fix?

Upgrade RHEL:10 trivy to version 0:0.72.0-0.1.hum1 or higher.
This issue was patched in RHSA-2026:35111.

NVD Description

Note: Versions mentioned in the description apply only to the upstream trivy package and not the trivy package as distributed by RHEL. See How to fix? for RHEL:10 relevant fixed versions and status.

containerd is an open-source container runtime. In versions prior to 1.7.32, 2.0.9, 2.2.4 and 2.3.1, containers launched with a numeric User directive that cannot be parsed as a 32-bit integer are incorrectly treated as a username, leading to runAsNonRoot evasion. If a crafted image provides an /etc/passwd file mapping this large numeric string to root, the container ultimately runs as root (UID 0). This allows the Kubernetes runAsNonRoot restriction to be bypassed, causing unexpected behavior for environments that require containers to run as a non-root user. This issue has been fixed in versions 1.7.32, 2.0.9, 2.2.4 and 2.3.1.

CVSS Base Scores

version 3.1