Skip to main content
CVE-2026-34986VulnerabilityPublished Updated

Golang gopkg square go jose.v2: Go JOSE provides an implementation of the Javascript Object Signing and Encryption set

Affects golang-gopkg-square-go-jose.v2Source GCVE Database

0
Compare

Not known to be exploited · CVSS 7.5 High · fixed in 4.1.4 : patch golang-gopkg-square-go-jose.v2 soon.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.6% chance of exploitation in 30 days – higher than 52% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 4.1.4
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 6 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10golang-github-go-jose-go-josepkg:deb/ubuntu/golang-github-go-jose-go-jose?arch=source&distro=stonkingOther threatsAffected
  • =4.0.5-1build1
  • =4.1.4-1
  • =4.1.4-2
Fixed in–
Ubuntu 26.10golang-github-go-jose-go-jose.v3pkg:deb/ubuntu/golang-github-go-jose-go-jose.v3?arch=source&distro=stonkingOther threatsAffected
  • =3.0.3-6
Fixed in–
Ubuntu 26.10golang-gopkg-square-go-jose.v2pkg:deb/ubuntu/golang-gopkg-square-go-jose.v2?arch=source&distro=stonkingOther threatsAffected
  • =2.6.3-3
  • =2.6.3-4
Fixed in–
Ubuntu 26.04 LTSgolang-github-go-jose-go-jose.v3pkg:deb/ubuntu/golang-github-go-jose-go-jose.v3?arch=source&distro=resoluteOther threatsAffected
  • =3.0.3-6
Fixed in–
Ubuntu 26.04 LTSgolang-gopkg-square-go-jose.v2pkg:deb/ubuntu/golang-gopkg-square-go-jose.v2?arch=source&distro=resoluteOther threatsAffected
  • =2.6.3-3
Fixed in–
Ubuntu Pro 26.04 LTSgolang-github-go-jose-go-josepkg:deb/ubuntu/golang-github-go-jose-go-jose?arch=source&distro=esm-apps/resoluteOther threatsAffected
  • =4.0.5-1
  • =4.0.5-1build1
  • =4.0.5-1ubuntu0.26.04.1~esm1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

Go JOSE provides an implementation of the Javascript Object Signing and Encryption set of standards in Go, including support for JSON Web Encryption (JWE), JSON Web Signature (JWS), and JSON Web Token (JWT) standards. Prior to 4.1.4 and 3.0.5, decrypting a JSON Web Encryption (JWE) object will panic if the alg field indicates a key wrapping algorithm (one ending in KW, with the exception of A128GCMKW, A192GCMKW, and A256GCMKW) and the encrypted_key field is empty. The panic happens when cipher.KeyUnwrap() in key_wrap.go attempts to allocate a slice with a zero or negative length based on the length of the encrypted_key. This code path is reachable from ParseEncrypted() / ParseEncryptedJSON() / ParseEncryptedCompact() followed by Decrypt() on the resulting object. Note that the parse functions take a list of accepted key algorithms. If the accepted key algorithms do not include any key wrapping algorithms, parsing will fail and the application will be unaffected. This panic is also reachable by calling cipher.KeyUnwrap() directly with any ciphertext parameter less than 16 bytes long, but calling this function directly is less common. Panics can lead to denial of service. This vulnerability is fixed in 4.1.4 and 3.0.5.

References

Community reviews

Loading reviews…