CVE-2025-37984
MEDIUMDescription
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().
How to fix
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Exploit Intelligence
Low risk: more likely to be exploited than 5% of all known CVEs.
References
Related Vulnerabilities
Other CWE-190 (Integer Overflow) vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2020-16040 | Medium | 6.5 | 100% | - | Fix |
| CVE-2019-11477 | High | 7.5 | 99% | - | Fix |
| CVE-2023-44443 | High | 7.8 | 94% | - | Fix |
| CVE-2014-0569 | High | 9.3 | 90% | - | - |
| CVE-2017-3599 | High | 7.5 | 90% | - | Fix |
| CVE-2023-21716 | Critical | 9.8 | 82% | - | Fix |
Embed a live status badge for CVE-2025-37984
Markdown
[](https://tridentstack.com/cve/CVE-2025-37984)HTML
<a href="https://tridentstack.com/cve/CVE-2025-37984"><img src="https://tridentstack.com/cve/badge/CVE-2025-37984.svg" alt="CVE-2025-37984"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
Start freeThis product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-11-14.