Home / Pyjwt Project / Pyjwt / CVE-2017-11424
CVE-2017-11424: is it exploited, and which versions of Pyjwt Project Pyjwt are affected and fixed?
CVE-2017-11424 is a vulnerability in Pyjwt Project Pyjwt. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 09:08 UTC). Affected: pyjwt before 1.5.1 (GitHub advisory GHSA-r9jw-mwhq-wp62). Fixed in 1.5.1 (GitHub advisory GHSA-r9jw-mwhq-wp62). Severity: High (7.5, CVSS 3.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 09:08 UTC, CVE record November 19, 2026, 07:18 UTC and NVD November 19, 2026, 08:39 UTC.
What is CVE-2017-11424?
In PyJWT 1.5.0 and below the `invalid_strings` check in `HMACAlgorithm.prepare_key` does not account for all PEM encoded public keys. Specifically, the PKCS1 PEM encoded format would be allowed because it is prefaced with the string `-----BEGIN RSA PUBLIC KEY-----` which is not accounted for. This enables symmetric/asymmetric key confusion attacks against users using the PKCS1 PEM encoded public keys, which would allow an attacker to craft JWTs from scratch.
From the CVE record by duo, last updated August 5, 2024, 18:12 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | pyjwt | < 1.5.1 | 1.5.1 | GHSA-r9jw-mwhq-wp62 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 15, 2024. Summary: PyJWT vulnerable to key confusion attacks.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| pyjwt project | pyjwt | through 1.5.0 | application |
| debian | debian linux | 8.0 | operating system |
| debian | debian linux | 9.0 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 01:01 UTC.
How severe is CVE-2017-11424?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N | NVD |
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2017-11424 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 1.79% probability of exploitation activity in the next 30 days, percentile 79.0 (FIRST EPSS, scores of December 2, 2026)
Where are the vendor advisories and references?
- DSA-3979 vendor-advisory, x_refsource_DEBIAN
- https://github.com/jpadilla/pyjwt/pull/277 x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- July 18, 2017
- Published
- August 24, 2017, 16:00 UTC
- CVE record updated
- August 5, 2024, 18:12 UTC by duo
- NVD
- Modified, last modified June 17, 2026, 01:01 UTC
- Last checked
- CVE list November 19, 2026, 07:18 UTC; NVD November 19, 2026, 08:39 UTC; KEV December 3, 2026, 09:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Pyjwt?
- Jul 31, 2025CVE-2025-45768 Pyjwt Project Pyjwt: sensitive data not encrypted disputed
Questions about CVE-2017-11424
Is CVE-2017-11424 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 09:08 UTC. FIRST's EPSS gives it a 1.79% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Pyjwt Project Pyjwt are affected by CVE-2017-11424?
pyjwt before 1.5.1, per the GitHub advisory GHSA-r9jw-mwhq-wp62. The tables above give every range the sources list.
Which version fixes CVE-2017-11424?
1.5.1, per the GitHub advisory GHSA-r9jw-mwhq-wp62. Check the vendor's advisory before you rely on it.
How severe is CVE-2017-11424?
High (7.5, CVSS 3.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2017-11424?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.