SB20261201353 - Multiple vulnerabilities in trivy



SB20261201353 - Multiple vulnerabilities in trivy

Published: December 1, 2026

Security Bulletin ID SB20261201353
CSH Severity
High
Patch available
YES
Number of vulnerabilities 6
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

High 50% Medium 50%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 6 vulnerabilities.


1) Inefficient Algorithmic Complexity (CVE-ID: CVE-2026-116587)

CWE-ID: CWE-407 - Inefficient Algorithmic Complexity

CVSSv4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to cause a denial of service through excessive CPU consumption.

The vulnerability exists due to missing bounds checks on RSA modulus and prime values in go-jose's JWK parser when parsing untrusted RSA keys. A remote attacker can supply a crafted JWK containing oversized RSA parameters that are passed directly to crypto/rsa.PrivateKey.Validate() to exhaust CPU resources and cause a denial of service.

On Go 1.24 and later, RSA key validation takes cubic time with respect to the RSA modulus and primes.


2) Use-after-free (CVE-ID: CVE-2026-92392)

CWE-ID: CWE-416 - Use After Free

CVSSv4: 9.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to execute arbitrary code.

The vulnerability exists due to use-after-free in curl's HTTP/2 upload handling when processing server-supplied stream resets during an upload. A remote attacker can send specially crafted HTTP/2 RST_STREAM frames with the HTTP_1_1_REQUIRED or REFUSED_STREAM reason to execute arbitrary code.

The demonstrated exploitation requires knowledge of the exact curl object layout, target architecture, compatible libc allocator and heap layout, and calibrated leak and symbol offsets. It also depends on nghttp2 and OpenSSL/TLS 1.3 allocation behavior, a pinned CA bundle and input-dependent allocation geometry, and the timing of two parallel transfers. The demonstrated exploit has an approximately 23-byte command constraint.


3) Out-of-bounds write (CVE-ID: CVE-2026-111497) Exploited

CWE-ID: CWE-787 - Out-of-bounds write

CVSSv4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to corrupt process memory, potentially execute arbitrary code, disclose process memory, or cause a denial of service.

The vulnerability exists due to an out-of-bounds write in the Brotli decoder bundled with Node.js when an invalid block switch is treated as a temporary need for input rather than a permanent format error. A remote attacker can supply malformed Brotli data that an application decompresses with node:zlib to make the streaming decoder append bytes beyond an eight-byte internal buffer, potentially causing code execution, process memory disclosure, or a crash.


4) Integer overflow (CVE-ID: CVE-2026-107891)

CWE-ID: CWE-190 - Integer overflow

CVSSv4: 8.8 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to potentially corrupt heap memory in an application that compiles untrusted regular expressions.

The vulnerability exists due to multiple integer overflows in musl libc's regcomp function when compiling an untrusted regular expression. A remote attacker can supply a regular expression that may cause incorrect allocation sizes and lead to out-of-bounds heap writes.


5) Inefficient Algorithmic Complexity (CVE-ID: CVE-2026-78661)

CWE-ID: CWE-407 - Inefficient Algorithmic Complexity

CVSSv4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to cause a denial of service in an application that parses untrusted HTML.

The vulnerability exists due to quadratic algorithmic complexity in the addText and fosterParent functions of golang.org/x/net/html when coalescing adjacent text nodes during parsing. A remote attacker can supply HTML that causes the parser to repeatedly allocate and copy accumulated text, consuming excessive processing time and memory.


6) Improper Encoding or Escaping of Output (CVE-ID: CVE-2026-97045)

CWE-ID: CWE-116 - Improper Encoding or Escaping of Output

CVSSv4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to potentially inject markup into a page when an application serves rendered output from untrusted HTML.

The vulnerability exists due to incomplete ancestor namespace checks in the childTextNodesAreLiteral function of golang.org/x/net/html when deciding whether to emit text without escaping it. A remote attacker can supply HTML that the renderer handles as literal text but a browser may interpret as markup when parsing the output.


Remediation

Install update from vendor's website.