6.3Medium

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

Eclipse Foundation Eclipse KeyPont - GOSE Published: (25 days ago)

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.

Weakness (CWE): CWE-129

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
Eclipse Foundation Eclipse KeyPont - GOSE 0.9.0 – ≤ 0.13.0-rc1

References and patches