CVE-2020-28975
HIGH 7.5CVSS 3.1scikit-learn Denial of Service
svm_predict_values in svm.cpp in Libsvm v324, as used in scikit-learn 0.23.2 and other products, allows attackers to cause a denial of service (segmentation fault) via a crafted model SVM (introduced via pickle, json, or any other model permanence standard) with a large value in the _n_support array. NOTE: the scikit-learn vendor's position is that the behavior can only occur if the library's API is violated by an application that changes a private attribute.
- Published
- 21 Nov 2020
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Also known as
- GHSA-jxfp-4rvq-9h9mPYSEC-2020-108
- Sources
- NVDJSONOSV GHSA-jxfp-4rvq-9h9mJSONOSV PYSEC-2020-108JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | scikit-learn | scikit-learncpe:2.3:a:scikit-learn:scikit-learn:*:*:*:*:*:*:*:* |
>= 0.23.2, < 1.0.1 | 1.0.1 |
| OSV | PyPI | scikit-learn | >= 0.23.2, < 1.0.1 | 1.0.1 |
| OSV | PyPI | scikit-learn | < 0.24.dev0 | 0.24.dev0 |
References
- http://packetstormsecurity.com/files/160281/SciKit-Learn-0.23.2-Denial-Of-Service.html · Exploit, Third Party Advisory, VDB Entry, WEB
- http://seclists.org/fulldisclosure/2020/Nov/44 · Mailing List, Third Party Advisory, WEB
- https://github.com/cjlin1/libsvm/blob/9a3a9708926dec87d382c43b203f2ca19c2d56a0/svm.cpp#L2501 · Exploit, Third Party Advisory, WEB
- https://github.com/scikit-learn/scikit-learn/commit/1bf13d567d3cd74854aa8343fd25b61dd768bb85 · Patch, Third Party Advisory, WEB
- https://github.com/scikit-learn/scikit-learn/issues/18891 · Exploit, Issue Tracking, Third Party Advisory, WEB, REPORT
- https://security.gentoo.org/glsa/202301-03 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-28975 · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/scikit-learn/PYSEC-2020-108.yaml · WEB
- https://github.com/scikit-learn/scikit-learn · PACKAGE
- https://github.com/advisories/GHSA-jxfp-4rvq-9h9m · ADVISORY
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 21 Nov 2020)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 21 Nov 2020)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 24 May 2022)