Improper Validation of Array Index Affecting github.com/go-jose/go-jose/cipher package, versions >=0.0.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.26% (19th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMGOJOSEGOJOSECIPHER-21755486
  • published27 Oct 2026
  • disclosed26 Oct 2026
  • creditUnknown

Introduced: 26 Oct 2026

NewCVE-2026-116585  (opens in a new tab)
CWE-129  (opens in a new tab)

How to fix?

There is no fixed version for github.com/go-jose/go-jose/cipher.

Overview

Affected versions of this package are vulnerable to Improper Validation of Array Index in the CBC-HMAC decryption process. An attacker can cause a panic and disrupt service availability by submitting specially crafted ciphertext that results in an empty buffer being passed to the unpadding routine. This is only exploitable if applications decrypt attacker-controlled ciphertext using A128CBC-HS256, A192CBC-HS384, or A256CBC-HS512 content-encryption algorithms.

CVSS Base Scores

version 4.0
version 3.1