cve.bz

CVE-2016-9121 go-jose project go-jose: Inadequate Encryption Strength

9.1 criticalEPSS 1.4%Fix available

Critical (9.1) in go-jose project go-jose. EPSS 1.4% estimated probability of exploitation activity in the next 30 days. Fixed in gopkg.in/square/go-jose.v1 1.0.4.

On this page
go-jose before 1.0.4 suffers from an invalid curve attack for the ECDH-ES algorithm. When deriving a shared key using ECDH-ES for an encrypted message, go-jose neglected to check that the received public key on a message is on the same curve as the static private key of the receiver, thus making it vulnerable to an invalid curve attack.

Severity

CVSS 3.0

9.1 critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS
1.4% (unchanged from 1.4% a week ago; 1.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 73rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-326 Inadequate Encryption Strength
OWASP Top 10
A04:2025 Cryptographic Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2016-9121 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2016-9121?via=ask-ai-copy and https://cve.bz/cve/CVE-2016-9121?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2016-9121 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
go-jose_project:go-josethrough 1.0.3

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-86r9-39j9-99wpGogopkg.in/square/go-jose.v1<1.0.41.0.4
GHSA-86r9-39j9-99wpGogithub.com/square/go-jose<1.0.41.0.4
GO-2020-0010Gogithub.com/square/go-jose<1.0.41.0.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14golang-gopkg-square-go-jose.v11.0.5-1DEBIAN-CVE-2016-9121

From the distributions' data via OSV.dev: the Debian Security Tracker. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian.

Attack patterns (CAPEC)

  • CAPEC-20 Encryption Brute Forcing Likelihood: Low · Severity: Low
  • CAPEC-112 Brute Force Severity: High
  • CAPEC-192 Protocol Analysis Likelihood: Low · Severity: Low

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON