Uncontrolled Memory Allocation Affecting k6 package, versions <1.7.1-r4


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.01% (1st 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-CHAINGUARDLATEST-K6-16324962
  • published1 May 2026
  • disclosed8 Apr 2026

Introduced: 8 Apr 2026

CVE-2026-39882  (opens in a new tab)
CWE-789  (opens in a new tab)

How to fix?

Upgrade Chainguard k6 to version 1.7.1-r4 or higher.

NVD Description

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

OpenTelemetry-Go is the Go implementation of OpenTelemetry. Prior to 1.43.0, the otlp HTTP exporters (traces/metrics/logs) read the full HTTP response body into an in-memory bytes.Buffer without a size cap. This is exploitable for memory exhaustion when the configured collector endpoint is attacker-controlled (or a network attacker can mitm the exporter connection). This vulnerability is fixed in 1.43.0.