Improper Validation of Specified Type of Input in jose2go - #VU172474
Published: December 2, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service by triggering a panic that can abort a request or terminate the decoding process.
The vulnerability exists due to inconsistent elliptic-curve validation in jose2go's ECDH key handling when decoding encrypted tokens, because key derivation can use a different curve from the one used to validate the ephemeral public key. A remote attacker can submit a malformed JWE token using direct ECDH-ES or an ECDH-ES key-wrapping variant to trigger a panic before token authentication.