Incorrect Type Conversion or Cast Affecting tw package, versions <0.0.49-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.05% (18th 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-TW-17005954
  • published28 May 2026
  • disclosed22 May 2026

Introduced: 22 May 2026

NewCVE-2026-46597  (opens in a new tab)
CWE-704  (opens in a new tab)

How to fix?

Upgrade Chainguard tw to version 0.0.49-r0 or higher.

NVD Description

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

An incorrectly placed cast from bytes to int allowed for server-side panic in the AES-GCM packet decoder for well-crafted inputs.