Resource Exhaustion Affecting bento package, versions <1.21.0-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.52% (43rd 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-WOLFILATEST-BENTO-19221605
  • published23 Aug 2026
  • disclosed29 May 2026

Introduced: 29 May 2026

CVE-2026-46385  (opens in a new tab)
CWE-400  (opens in a new tab)

How to fix?

Upgrade Wolfi bento to version 1.21.0-r0 or higher.

NVD Description

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

iskorotkov/avro is a fast Go Avro codec. Prior to 2.33.0, the Avro array and map decoders looped over an attacker-controlled block-count value without checking the underlying reader's error state inside the loop body. Reader.ReadBlockHeader returns the count as a Go int, which is 64-bit on amd64 / arm64 targets — so a producer can declare a block of up to math.MaxInt64 (~9.2 × 10¹⁸) elements followed by EOF (or any truncated payload), and the decoder will attempt that many no-op iterations before propagating the error. The realistic ceiling is "indefinite until the worker is killed externally" — a single hostile payload pins a CPU core until the process is OOM-killed, deadline-cancelled, or terminated. Remote, unauthenticated denial-of-service. This vulnerability is fixed in 2.33.0.

CVSS Base Scores

version 3.1