CVE-2016-9123 · hackerone
CVE-2016-9123
go-jose before 1.0.5 suffers from a CBC-HMAC integer overflow on 32-bit architectures. An integer overflow could lead to authentication bypass for CBC-HMAC encrypted ciphertexts on 32-bit architectures.
Published 2017-03-28, last changed 2026-06-17. Weakness: CWE-190.
How to fix
Upgrade to a fixed version: github.com/square/go-jose 0.0.0-20160903044734-789a4c4bd4c1 (Go). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Where the flaw is in the code
Fixed in square/go-jose by 789a4c4bd4. Functions changed by the fix: Seal, Open, computeAuthTag, resize, padBuffer, NewConcatKDF, DeriveECDHES. Regression tests: cipher/cbc_hmac_test.go. Confidence: verified (a record names this commit as the fix, and it changed these functions).
Timeline
| 2017-03-28 | Published |
| 2021-04-14 | Package advisory GO-2020-0009 |
| 2021-06-23 | Package advisory GHSA-3fx4-7f69-5mmg |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 2.15% |
| 2026-12-02 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-3fx4-7f69-5mmg | github.com/square/go-jose (Go) | 0.0.0-20160903044734-789a4c4bd4c1 |
| GO-2020-0009 | github.com/square/go-jose (Go) | 0.0.0-20160903044734-789a4c4bd4c1 |
Also known as: GHSA-3fx4-7f69-5mmg, GO-2020-0009
Credited: Quan Nguyen from Google's Information Security Engineering Team (other)
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2025-27144 | 2025-02-24 | 6.6 | Go JOSE's Parsing Vulnerable to Denial of Service |
| CVE-2016-9121 | 2017-03-28 | 9.1 | same package: github.com/square/go-jose (Go) |
| CVE-2026-48933 | 2026-06-26 | 7.5 | same weakness (CWE-190) from the same CNA (hackerone) |
| CVE-2024-23531 | 2024-04-19 | 7.5 | same weakness (CWE-190) from the same CNA (hackerone) |
| CVE-2023-35085 | 2023-08-10 | 9.8 | same weakness (CWE-190) from the same CNA (hackerone) |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2016-9123, or call /api/v1/vulnerabilities/CVE-2016-9123. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.