NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
🐹 Go
Not in CISA KEV

Decryption of malicious PBES2 JWE objects can consume unbounded system resourcesGHSA-2c7c-3mj9-8fqh

Fix: go-jose/go-jose@65351c2

GHSA-2c7c-3mj9-8fqh is a security vulnerability in github.com/go-jose/go-jose/v3. A fix is available for github.com/go-jose/go-jose/v3 — see the affected versions and patch details below.

Also known asGO-2023-2334
Published
Updated
Affected
2 pkgs
Patched
2 / 2
Exploits
None indexed
Exploitation data as of Sep 10, 2026 · OSV.dev, FIRST.org (EPSS)

Real-World Exposure

2 pkgs affected
🐹github.com/go-jose/go-jose/v3🐹github.com/square/go-jose

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.

Description

The go-jose package is subject to a "billion hashes attack" causing denial-of-service when decrypting JWE inputs. This occurs when an attacker can provide a PBES2 encrypted JWE blob with a very large p2c value that, when decrypted, produces a denial-of-service.

Affected Packages

2 total 2 fixed
EcosystemPackageVulnerable rangeFix
🐹Gogithub.com/go-jose/go-jose/v3all versions3.0.1go get github.com/go-jose/go-jose/v3@v3.0.1
🐹Gogithub.com/square/go-joseall versions2.6.2go get github.com/square/go-jose@v2.6.2

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/go-jose/go-jose/v3, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update github.com/go-jose/go-jose/v3 to 3.0.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-2c7c-3mj9-8fqh is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

Frequently Asked Questions

The go-jose package is subject to a "billion hashes attack" causing denial-of-service when decrypting JWE inputs. This occurs when an attacker can provide a PBES2 encrypted JWE blob with a very large p2c value that, when decrypted, produces a denial-of-service.
O3 Security · Impact-Aware SCA

Is GHSA-2c7c-3mj9-8fqh in your dependencies?

Find it across Go, including transitive dependencies.

Decryption of malicious PBES2 JWE objects can consume…