Medium
JweDirectDecryptorBlock.Decrypt: unchecked _thales_aad length header reachable with forged tag → index-out-of-range / slice-bounds panic and unbounded allocation
Type: advisorySources: OSV
`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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-89319
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 10:58 UTC · Revision 1
Source evidence
JweDirectDecryptorBlock.Decrypt: unchecked _thales_aad length header reachable with forged tag → index-out-of-range / slice-bounds panic and unbounded allocation
core-osv · Original sourcePublished 23 Oct 2026, 08:54 UTC
`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.
osv:CVE-2026-89319
Complete source record
{
"id": "00702704e2b9b18cb0798bf20f98efa1b62285d46e331df13099e28954f7359b",
"url": "https://osv.dev/vulnerability/CVE-2026-89319",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "JweDirectDecryptorBlock.Decrypt: unchecked _thales_aad length header reachable with forged tag → index-out-of-range / slice-bounds panic and unbounded allocation",
"summary": "`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.",
"evidence": "osv:CVE-2026-89319",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-89319",
"aliases": [
"CVE-2026-89319",
"GHSA-4gj8-hg2r-gw6q"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/eclipse-keypont/gose",
"type": "GIT",
"events": [
{
"introduced": "4b6dc6c722b20dc24cac70da52704b6027810e69"
},
{
"last_affected": "bc195a14438f6607e266d8a12e529260272b060b"
},
{
"introduced": "0"
},
{
"fixed": "3d12061410a75212322bd51c7c91a56b7dfbcea6"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0.9.0"
},
{
"last_affected": "0.13.0-rc1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"introduced": "0"
},
{
"fixed": "1.0.0-rc1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
}
],
"versions": [
"v0.12.1-rc1",
"v0.12.0",
"v0.13.0-rc1",
"v0.10.0",
"v0.9.1",
"v0.9.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89319.json"
}
}
],
"modified": "2026-10-28T02:30:50.532669418Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89319.json",
"https://github.com/eclipse-keypont/gose/security/advisories/GHSA-4gj8-hg2r-gw6q",
"https://nvd.nist.gov/vuln/detail/CVE-2026-89319"
],
"provider_metadata": {
"cwe_ids": [
"CWE-129"
],
"cna_assigner": "eclipse",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89319.json"
}
},
"related_cves": [
{
"value": "CVE-2026-89319",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 519066,
"published_at": "2026-10-23T08:54:37.681+00:00"
}