CVE-2025-37984crypto: ecdsa - Harden against integer overflows in DIV_ROUND_UP()
- 7.0HighCVSS base score
- 0.19%Exploitation in 30 daysEPSS · top 91% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In the Linux kernel, the following vulnerability has been resolved: crypto: ecdsa - Harden against integer overflows in DIV_ROUND_UP() Herbert notes that DIV_ROUND_UP() may overflow unnecessarily if an ecdsa implementation's ->key_size() callback returns an unusually large value. Herbert instead suggests (for a division by 8): X / 8 + !!(X & 7) Based on this formula, introduce a generic DIV_ROUND_UP_POW2() macro and use it in lieu of DIV_ROUND_UP() for ->key_size() return values. Additionally, use the macro in ecc_digits_from_bytes(), whose "nbytes" parameter is a ->key_size() return value in some instances, or a user-specified ASN.1 length in the case of ecdsa_get_signature_rs().
Timeline
ID reserved
By Linux
- 34 days later
· 34 days later
Published
- 17 months later
· 17 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | High7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.19% · top 91% of all CVEs (17 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.0.
Affected products
- affected 55779f26eab9af12474a447001bd17070f055712 – < f02f0218be412cff1c844addf58e002071be298b
- affected c6ab5c915da460c0397960af3c308386c3f3247b – < f2133b849ff273abddb6da622daddd8f6f6fa448
- affected c6ab5c915da460c0397960af3c308386c3f3247b – < 921b8167f10708e38080f84e195cdc68a7a561f1
- affected c6ab5c915da460c0397960af3c308386c3f3247b – < b16510a530d1e6ab9683f04f8fb34f2e0f538275
- affected 6.6.70 – < 6.6.99
- affected 6.10
- unaffected < 6.10
- unaffected 6.6.99 – ≤ 6.6.*
- unaffected 6.12.39 – ≤ 6.12.*
- unaffected 6.14.5 – ≤ 6.14.*
- unaffected 6.15 – ≤ *
References
References4
- https://git.kernel.org/stable/c/f02f0218be412cff1c844addf58e002071be298b (opens in a new tab)
- https://git.kernel.org/stable/c/f2133b849ff273abddb6da622daddd8f6f6fa448 (opens in a new tab)
- https://git.kernel.org/stable/c/921b8167f10708e38080f84e195cdc68a7a561f1 (opens in a new tab)
- https://git.kernel.org/stable/c/b16510a530d1e6ab9683f04f8fb34f2e0f538275 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-15868 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-37984)Record last updated .