Skip to main content
← All vulnerabilities
CVE-2026-89319EUVD-2026-108652GHSA-4GJ8-HG2R-GW6Q

JweDirectDecryptorBlock.Decrypt: unchecked _thales_aad length header reachable with forged tag → index-out-of-range / slice-bounds panic and unbounded allocation

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.0.0-rc1
None on Exploit-DB, Metasploit or GitHub

Summary

The vulnerability affects software that decrypts JSON Web Encryption (JWE) messages using direct encryption, specifically a Go library's decryption routine. A specially crafted message can crash the decrypting process or cause it to consume excessive memory, leading to denial of service.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original description

`JweDirectDecryptorBlock.Decrypt` read a 64-bit plaintext length from the `_thales_aad` protected-header field and used it without any validation. A truncated field panics `binary.BigEndian.Uint64`, an oversized value drives an unbounded allocation, and a value larger than the decrypted block panics with a slice-bounds error.

Timeline

  1. CVE published
  2. First seen by cve.now

Affected versions

  • github.com/ThalesGroup/gose

    From 0.9.0 · through 0.13.0-rc1

  • github.com/eclipse-keypont/gose

    fixed in 1.0.0-rc1

References 1

GitHub · eclipse-keypont/gose