KeygraphLabs · CVE MCP

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.

CVSS
7.5
high, from NVD
EPSS
0.95%
percentile 62.7%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

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-07Published
2022-05-24Package advisory GHSA-xm5f-hc9r-76f3
2026-06-17Record last changed
2026-11-30EPSS when our history starts: 0.95%
2026-12-04Code-level analysis added

Affected packages

AdvisoryPackageFixed in
GHSA-xm5f-hc9r-76f3gree/jose (Packagist)2.2.1

Also known as: GHSA-xm5f-hc9r-76f3

Related

CVEPublishedCVSSSummary
CVE-2024-288342024-03-215.3Gnutls: vulnerable to minerva side-channel information leak
CVE-2023-02962023-01-175.3same weakness (CWE-327) from the same CNA (redhat)
CVE-2021-39792022-08-256.5same 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.

NVD · CVE.org