CVE-2016-5431 · redhat
CVE-2016-5431
The PHP JOSE Library by Gree Inc. before version 2.2.1 is vulnerable to key confusion/algorithm substitution in the JWS component resulting in bypassing the signature verification via crafted tokens.
Published 2019-08-07, last changed 2026-06-17. Weakness: CWE-327.
How to fix
Upgrade to a fixed version: gree/jose 2.2.1 (Packagist). 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 nov/jose-php by 1cce55e27a, 445d702ffc. Functions changed by the fix: _verify. Confidence: verified (a record names this commit as the fix, and it changed these functions).
Timeline
| 2019-08-07 | Published |
| 2022-05-24 | Package advisory GHSA-xm5f-hc9r-76f3 |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 0.95% |
| 2026-12-04 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-xm5f-hc9r-76f3 | gree/jose (Packagist) | 2.2.1 |
Also known as: GHSA-xm5f-hc9r-76f3
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2024-28834 | 2024-03-21 | 5.3 | Gnutls: vulnerable to minerva side-channel information leak |
| CVE-2023-0296 | 2023-01-17 | 5.3 | same weakness (CWE-327) from the same CNA (redhat) |
| CVE-2021-3979 | 2022-08-25 | 6.5 | same weakness (CWE-327) from the same CNA (redhat) |
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-5431, or call /api/v1/vulnerabilities/CVE-2016-5431. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.