Description
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.
Metrics
CVSS 3.1 7.5/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HAffected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- http://packetstormsecurity.com/files/160281/SciKit-Learn-0.23.2-Denial-Of-Service.htmlExploit, Third Party Advisory, VDB Entry
- http://seclists.org/fulldisclosure/2020/Nov/44Mailing List, Third Party Advisory
- https://github.com/cjlin1/libsvm/blob/9a3a9708926dec87d382c43b203f2ca19c2d56a0/svm.cpp#L2501Exploit, Third Party Advisory
- https://github.com/scikit-learn/scikit-learn/commit/1bf13d567d3cd74854aa8343fd25b61dd768bb85Patch, Third Party Advisory
- https://github.com/scikit-learn/scikit-learn/issues/18891Exploit, Issue Tracking, Third Party Advisory
- https://security.gentoo.org/glsa/202301-03Third Party Advisory
- http://packetstormsecurity.com/files/160281/SciKit-Learn-0.23.2-Denial-Of-Service.htmlExploit, Third Party Advisory, VDB Entry
- http://seclists.org/fulldisclosure/2020/Nov/44Mailing List, Third Party Advisory
- https://github.com/cjlin1/libsvm/blob/9a3a9708926dec87d382c43b203f2ca19c2d56a0/svm.cpp#L2501Exploit, Third Party Advisory
- https://github.com/scikit-learn/scikit-learn/commit/1bf13d567d3cd74854aa8343fd25b61dd768bb85Patch, Third Party Advisory
- https://github.com/scikit-learn/scikit-learn/issues/18891Exploit, Issue Tracking, Third Party Advisory
- https://security.gentoo.org/glsa/202301-03Third Party Advisory
Timeline
- Published
- Nov 21, 2020
- Last modified
- Jun 17, 2026
- NVD status
- Modified