Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-65625

published medium CVSS 4.0 · 5.9

Attacker-controlled AES-GCM authentication tag length allows tag forgery in jose

Published
26 Oct 2026, 19:52:54 UTC
Updated
19 Nov 2026, 08:03:11 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
potatosalad — jose1.2.0 to < 1.11.13 · Other versions: unaffected Affected Not stated EEF
potatosalad — potatosalad/erlang-josejose · 8848b172575fb7d7e1e2977e8ae0a21678d2157a to < 3fa1f8e3efda0da5ce6f4c9984789f979dc02740 · Other versions: unaffected Affected Not stated EEF

Description

The pure-Erlang AES-GCM fallback in jose_jwa_aes derives the number of verified authentication tag bits from the attacker-supplied tag itself. In the {aes_gcm, Bits} clause of block_decrypt/4, the incoming tag is guarded only by is_binary/1, with no check on its length. Verification in gcm_block_decrypt/6 then computes TBits = bit_size(T) and compares only those bits of the real 128-bit tag. An attacker who controls a JWE token can truncate the authentication tag to as little as 8 bits, so only 8 bits are ever checked. This reduces forgery resistance from 2^-128 to 2^-8, and a forged ciphertext is reliably accepted as authentic within 256 attempts without knowledge of the key (an authentication tag forgery and integrity bypass). Supplying a tag longer than 128 bits instead causes a badmatch that crashes the decrypting process. The fallback is reached through the public JWE decryption path whenever AES-GCM is not provided by a native crypto NIF, for example on FIPS or stripped or older OTP builds. This issue affects jose: from 1.2.0 before 1.11.13.

en · EEF · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
5.9 / 10
Severity
medium
Provider
EEF · cna
Vector string
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N
Scenarios
en: GENERAL

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
potatosalad jose 1.2.0 to < 1.11.13 (affected · semver)Default: unaffected EEF · cna
potatosalad jose 8848b172575fb7d7e1e2977e8ae0a21678d2157a to < 3fa1f8e3efda0da5ce6f4c9984789f979dc02740 (affected · git)Default: unaffected EEF · cna

Weaknesses

1
  • CWE-354 CWE-354 Improper Validation of Integrity Check Value (EEF · cna)

References

5

Provider assertions

2

EEF · cna

Attacker-controlled AES-GCM authentication tag length allows tag forgery in jose

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
92a2895d2e2e839b03d35d272b3feac1f107d3301d144d797a9d196c6b645a74
Ingested
19 Nov 2026, 08:07:30 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected