Incorrect Type Conversion or Cast Affecting gptscript package, versions <0.9.9-r267


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.38% (30th 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-GPTSCRIPT-16963881
  • 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 gptscript to version 0.9.9-r267 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gptscript package and not the gptscript 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.