7.5
HIGH CVSS 3.1
CVE-2020-28975
Libsvm scikit-learn Denial of Service (DoS)
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.

INFO

Published Date :

Nov. 21, 2020, 9:15 p.m.

Last Modified :

Nov. 21, 2024, 5:23 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2020-28975 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Scikit-learn scikit-learn
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 MEDIUM [email protected]
CVSS 3.1 HIGH [email protected]
Solution
Upgrade scikit-learn to address a denial of service vulnerability.
  • Upgrade scikit-learn to the latest version.
  • Apply the appropriate patch.
Public PoC/Exploit Available at Github

CVE-2020-28975 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2020-28975 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2020-28975 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Analyzing Typical Vulnerabilities in the AI Ecosystem

Updated: 3 weeks, 2 days ago
0 stars 0 fork 0 watcher
Born at : Aug. 19, 2025, 9:38 a.m. This repo has been linked 4 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2020-28975 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2020-28975 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://packetstormsecurity.com/files/160281/SciKit-Learn-0.23.2-Denial-Of-Service.html
    Added Reference http://seclists.org/fulldisclosure/2020/Nov/44
    Added Reference https://github.com/cjlin1/libsvm/blob/9a3a9708926dec87d382c43b203f2ca19c2d56a0/svm.cpp#L2501
    Added Reference https://github.com/scikit-learn/scikit-learn/commit/1bf13d567d3cd74854aa8343fd25b61dd768bb85
    Added Reference https://github.com/scikit-learn/scikit-learn/issues/18891
    Added Reference https://security.gentoo.org/glsa/202301-03
  • CVE Modified by [email protected]

    Aug. 04, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Jun. 26, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    May. 17, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Apr. 11, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Mar. 21, 2024

    Action Type Old Value New Value
    Added Tag MITRE disputed
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Changed Description ** DISPUTED ** 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. 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.
  • Modified Analysis by [email protected]

    Jan. 17, 2023

    Action Type Old Value New Value
    Changed Reference Type http://packetstormsecurity.com/files/160281/SciKit-Learn-0.23.2-Denial-Of-Service.html Exploit, Third Party Advisory http://packetstormsecurity.com/files/160281/SciKit-Learn-0.23.2-Denial-Of-Service.html Exploit, Third Party Advisory, VDB Entry
    Changed Reference Type http://seclists.org/fulldisclosure/2020/Nov/44 Third Party Advisory http://seclists.org/fulldisclosure/2020/Nov/44 Mailing List, Third Party Advisory
    Changed Reference Type https://github.com/scikit-learn/scikit-learn/commit/1bf13d567d3cd74854aa8343fd25b61dd768bb85 No Types Assigned https://github.com/scikit-learn/scikit-learn/commit/1bf13d567d3cd74854aa8343fd25b61dd768bb85 Patch, Third Party Advisory
    Changed Reference Type https://github.com/scikit-learn/scikit-learn/issues/18891 Exploit, Third Party Advisory https://github.com/scikit-learn/scikit-learn/issues/18891 Exploit, Issue Tracking, Third Party Advisory
    Changed Reference Type https://security.gentoo.org/glsa/202301-03 No Types Assigned https://security.gentoo.org/glsa/202301-03 Third Party Advisory
    Changed CPE Configuration OR *cpe:2.3:a:scikit-learn:scikit-learn:0.23.2:*:*:*:*:*:*:* OR *cpe:2.3:a:scikit-learn:scikit-learn:*:*:*:*:*:*:*:* versions from (including) 0.23.2 up to (excluding) 1.0.1
  • CVE Modified by [email protected]

    Jan. 11, 2023

    Action Type Old Value New Value
    Added Reference https://security.gentoo.org/glsa/202301-03 [No Types Assigned]
  • CVE Modified by [email protected]

    Nov. 25, 2022

    Action Type Old Value New Value
    Added Reference https://github.com/scikit-learn/scikit-learn/commit/1bf13d567d3cd74854aa8343fd25b61dd768bb85 [No Types Assigned]
  • Initial Analysis by [email protected]

    Dec. 03, 2020

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:N/I:N/A:P)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
    Changed Reference Type http://packetstormsecurity.com/files/160281/SciKit-Learn-0.23.2-Denial-Of-Service.html No Types Assigned http://packetstormsecurity.com/files/160281/SciKit-Learn-0.23.2-Denial-Of-Service.html Exploit, Third Party Advisory
    Changed Reference Type http://seclists.org/fulldisclosure/2020/Nov/44 No Types Assigned http://seclists.org/fulldisclosure/2020/Nov/44 Third Party Advisory
    Changed Reference Type https://github.com/cjlin1/libsvm/blob/9a3a9708926dec87d382c43b203f2ca19c2d56a0/svm.cpp#L2501 No Types Assigned https://github.com/cjlin1/libsvm/blob/9a3a9708926dec87d382c43b203f2ca19c2d56a0/svm.cpp#L2501 Exploit, Third Party Advisory
    Changed Reference Type https://github.com/scikit-learn/scikit-learn/issues/18891 No Types Assigned https://github.com/scikit-learn/scikit-learn/issues/18891 Exploit, Third Party Advisory
    Added CWE NIST NVD-CWE-noinfo
    Added CPE Configuration OR *cpe:2.3:a:scikit-learn:scikit-learn:0.23.2:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Dec. 01, 2020

    Action Type Old Value New Value
    Added Reference http://packetstormsecurity.com/files/160281/SciKit-Learn-0.23.2-Denial-Of-Service.html [No Types Assigned]
  • CVE Modified by [email protected]

    Nov. 30, 2020

    Action Type Old Value New Value
    Added Reference http://seclists.org/fulldisclosure/2020/Nov/44 [No Types Assigned]
  • CVE Modified by [email protected]

    Nov. 23, 2020

    Action Type Old Value New Value
    Changed 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. ** DISPUTED ** 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.
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 7.5
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 5
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.17 }} -0.28%

score

0.34557

percentile