{"cve":"CVE-2022-26477","nvd":{"published":"2022-06-27T18:15:08.853","modified":"2026-06-17T04:35:16.220","status":"Modified","description":"The Security Team noticed that the termination condition of the for loop in the readExternal method is a controllable variable, which, if tampered with, may lead to CPU exhaustion. As a fix, we added an upper bound and termination condition in the read and write logic. We classify it as a \"low-priority but useful improvement\". SystemDS is a distributed system and needs to serialize/deserialize data but in many code paths (e.g., on Spark broadcast/shuffle or writing to sequence files) the byte stream is anyway protected by additional CRC fingerprints. In this particular case though, the number of decoders is upper-bounded by twice the number of columns, which means an attacker would need to modify two entries in the byte stream in a consistent manner. By adding these checks robustness was strictly improved with almost zero overhead. These code changes are available in versions higher than 2.2.1.","cvss_v4":null,"cvss_v3":{"version":"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},"cwes":["CWE-400"],"references":["https://lists.apache.org/thread/r4x2d2r6d4zykdrrx6s2l4qbxgzws0z3","https://security.netapp.com/advisory/ntap-20220812-0003/","https://lists.apache.org/thread/r4x2d2r6d4zykdrrx6s2l4qbxgzws0z3","https://security.netapp.com/advisory/ntap-20220812-0003/"],"products":["apache:systemds"],"source":"nvd","synced_at":"2026-10-19T21:32:39.174919249+00:00"},"epss":{"cve":"CVE-2022-26477","score":0.02253,"percentile":0.82923,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-m43h-hfrq-x8wx","url":"https://osv.dev/vulnerability/GHSA-m43h-hfrq-x8wx","summary":"SystemDS CPU exhaustion vulnerability","modified":"2024-10-28T14:52:54.896159Z","packages":[{"ecosystem":"Maven","name":"org.apache.systemds:systemds","purl":"pkg:maven/org.apache.systemds/systemds","ranges":["<2.2.2"],"fixed":["2.2.2"]},{"ecosystem":"PyPI","name":"systemds","purl":"pkg:pypi/systemds","ranges":["<2.2.2"],"fixed":["2.2.2"]}]},{"id":"PYSEC-2022-222","url":"https://osv.dev/vulnerability/PYSEC-2022-222","summary":"","modified":"2023-11-08T04:08:54.044327Z","packages":[{"ecosystem":"PyPI","name":"systemds","purl":"pkg:pypi/systemds","ranges":["<2.2.2"],"fixed":["2.2.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}