Incorrect Type Conversion or Cast Affecting grype package, versions <0.112.0-r6


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-WOLFILATEST-GRYPE-16964113
  • 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 Wolfi grype to version 0.112.0-r6 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream grype package and not the grype package as distributed by Wolfi. See How to fix? for Wolfi 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.