{"id":"CVE-2020-28975","aliases":["CVE-2020-28975","GHSA-jxfp-4rvq-9h9m","PYSEC-2020-108"],"related":[],"kind":"vulnerability","state":"published","title":"scikit-learn Denial of Service","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"**EN DISPUTA** La función svm_predict_values en el archivo svm.cpp en Libsvm versión v324, como es usado en scikit-learn versiones 0.23.2 y otros productos, permite a atacantes causar una denegación de servicio (fallo de segmentación) por medio de un modelo SVM diseñado (introducido por medio de pickle, json o cualquier otro modelo estándar de permanencia) con un valor grande en la matriz _n_supportNOTA: la posición del proveedor de scikit-learn es que el comportamiento sólo puede ocurrir si la API de la biblioteca es violada por una aplicación que cambia un atributo privado","source":"nvd"},{"lang":"en","text":"** 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.","format":"markdown","source":"pysec"}],"published":"2020-11-21T00:00:00.000Z","modified":"2026-06-17T03:10:56.217Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","score":5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0.23.2","status":"affected","fixed":"1.0.1"}],"ecosystem":"PyPI","package":"scikit-learn","purl":"pkg:pypi/scikit-learn","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"0.23.2","fixed":"1.0.1"}],"vendor":"scikit-learn","product":"scikit-learn","cpe":"cpe:2.3:a:scikit-learn:scikit-learn:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.24.dev0"}],"ecosystem":"PyPI","package":"scikit-learn","purl":"pkg:pypi/scikit-learn","source":"pysec"}],"references":[{"url":"https://github.com/scikit-learn/scikit-learn/issues/18891","tags":["exploit","issue-tracking","report","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/cjlin1/libsvm/blob/9a3a9708926dec87d382c43b203f2ca19c2d56a0/svm.cpp#L2501","tags":["exploit","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"http://seclists.org/fulldisclosure/2020/Nov/44","tags":["mailing-list","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"http://packetstormsecurity.com/files/160281/SciKit-Learn-0.23.2-Denial-Of-Service.html","tags":["exploit","third-party-advisory","vdb-entry","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/scikit-learn/scikit-learn/commit/1bf13d567d3cd74854aa8343fd25b61dd768bb85","tags":["patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://security.gentoo.org/glsa/202301-03","tags":["third-party-advisory","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-28975","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/scikit-learn/PYSEC-2020-108.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/scikit-learn/scikit-learn","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-jxfp-4rvq-9h9m","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2024-06-26T20:03:17.341Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-28975","url":"https://www.cve.org/CVERecord?id=CVE-2020-28975","licence":"CVE Terms of Use","modified":"2024-08-04T16:48:01.573Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-jxfp-4rvq-9h9m","url":"https://github.com/advisories/GHSA-jxfp-4rvq-9h9m","licence":"CC-BY-4.0","modified":"2024-12-03T06:16:59.181Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-28975","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-28975","licence":"Public domain","modified":"2026-06-17T03:10:56.217Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2020-108","url":"https://osv.dev/vulnerability/PYSEC-2020-108","licence":"CC-BY-4.0","modified":"2026-06-10T17:02:41.379Z"}],"updatedAt":"2026-11-25T22:57:55.906Z","epss":{"score":0.03568,"percentile":0.89656,"date":"2026-12-01T12:00:22.000Z"}}