Home / Connect2id / Nimbus Jose\+jwt / CVE-2017-12972
CVE-2017-12972: is it exploited, and which versions of Connect2id Nimbus Jose\+jwt are affected and fixed?
CVE-2017-12972 is a data authenticity not verified vulnerability in Connect2id Nimbus Jose\+jwt. 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, 07:08 UTC). Affected: com.nimbusds:nimbus-jose-jwt before 4.39 (GitHub advisory GHSA-2qp9-wg27-9pcv). Fixed in 4.39 (GitHub advisory GHSA-2qp9-wg27-9pcv). Severity: High (7.5, CVSS 3.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:08 UTC, CVE record November 19, 2026, 07:18 UTC and NVD November 19, 2026, 08:39 UTC.
What is CVE-2017-12972?
In Nimbus JOSE+JWT before 4.39, there is no integer-overflow check when converting length values from bytes to bits, which allows attackers to conduct HMAC bypass attacks by shifting Additional Authenticated Data (AAD) and ciphertext so that different plaintext is obtained for the same HMAC.
From the CVE record by mitre, last updated August 5, 2024, 18:51 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | com.nimbusds:nimbus-jose-jwt | < 4.39 | 4.39 | GHSA-2qp9-wg27-9pcv |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated November 8, 2022. Summary: Nimbus JOSE+JWT missing overflow check.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| connect2id | nimbus jose\+jwt | 1.0 | application |
| connect2id | nimbus jose\+jwt | 1.1 | application |
| connect2id | nimbus jose\+jwt | 1.2 | application |
| connect2id | nimbus jose\+jwt | 1.3 | application |
| connect2id | nimbus jose\+jwt | 1.4 | application |
| connect2id | nimbus jose\+jwt | 1.5 | application |
| connect2id | nimbus jose\+jwt | 1.6 | application |
| connect2id | nimbus jose\+jwt | 1.7 | application |
| connect2id | nimbus jose\+jwt | 1.8 | application |
| connect2id | nimbus jose\+jwt | 1.9 | application |
| connect2id | nimbus jose\+jwt | 1.9.1 | application |
| connect2id | nimbus jose\+jwt | 1.10 | application |
| connect2id | nimbus jose\+jwt | 1.11 | application |
| connect2id | nimbus jose\+jwt | 1.12 | application |
| connect2id | nimbus jose\+jwt | 2.0 | application |
| connect2id | nimbus jose\+jwt | 2.0.1 | application |
| connect2id | nimbus jose\+jwt | 2.1 | application |
| connect2id | nimbus jose\+jwt | 2.1.1 | application |
| connect2id | nimbus jose\+jwt | 2.2 | application |
| connect2id | nimbus jose\+jwt | 2.3 | application |
| connect2id | nimbus jose\+jwt | 2.4 | application |
| connect2id | nimbus jose\+jwt | 2.5 | application |
| connect2id | nimbus jose\+jwt | 2.6 | application |
| connect2id | nimbus jose\+jwt | 2.7 | application |
| connect2id | nimbus jose\+jwt | 2.8 | application |
NVD analysis (status Modified), last modified June 17, 2026, 01:04 UTC.
How severe is CVE-2017-12972?
| 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-12972 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.89% probability of exploitation activity in the next 30 days, percentile 60.4 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-345 Insufficient Verification of Data Authenticity
Where are the vendor advisories and references?
- https://bitbucket.org/connect2id/nimbus-jose-jwt/issues/224/byte-to-bit-overflow-in-cbc x_refsource_CONFIRM
- https://bitbucket.org/connect2id/nimbus-jose-jwt/commits/0d2bd649ea386539220d4facfe1f65eb1dadb86c x_refsource_CONFIRM
- https://bitbucket.org/connect2id/nimbus-jose-jwt/src/master/CHANGELOG.txt x_refsource_CONFIRM
- [druid-commits] 20191115 [GitHub] [incubator-druid] ccaominh opened a new pull request #8878: Address security vulnerabilities mailing-list, x_refsource_MLIST
When was it published, and where is the official record?
- Reserved
- August 20, 2017
- Published
- August 20, 2017, 16:00 UTC
- CVE record updated
- August 5, 2024, 18:51 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 01:04 UTC
- Last checked
- CVE list November 19, 2026, 07:18 UTC; NVD November 19, 2026, 08:39 UTC; KEV December 3, 2026, 07:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Nimbus Jose\+jwt?
- Jul 11, 2025CVE-2025-53864 Connect2id Nimbus JOSE+JWT: uncontrolled recursion
- Feb 11, 2024CVE-2023-52428 Connect2id Nimbus Jose\+jwt: denial of service (resources allocated without limits)
- Oct 15, 2019CVE-2019-17195 Connect2id Nimbus Jose\+jwt: exceptional condition mishandled
- Aug 20, 2017CVE-2017-12974 Connect2id Nimbus Jose\+jwt: cryptographic signature not verified
- Aug 20, 2017CVE-2017-12973 Connect2id Nimbus Jose\+jwt: improper Validation of Integrity Check Value
Questions about CVE-2017-12972
Is CVE-2017-12972 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:08 UTC. FIRST's EPSS gives it a 0.89% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Connect2id Nimbus Jose\+jwt are affected by CVE-2017-12972?
com.nimbusds:nimbus-jose-jwt before 4.39, per the GitHub advisory GHSA-2qp9-wg27-9pcv. The tables above give every range the sources list.
Which version fixes CVE-2017-12972?
4.39, per the GitHub advisory GHSA-2qp9-wg27-9pcv. Check the vendor's advisory before you rely on it.
How severe is CVE-2017-12972?
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-12972?
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.