{"id":"CVE-2022-39377","published":"2022-11-08T00:00:00Z","modified":"2025-11-03T17:31:00Z","title":"sysstat Incorrect Buffer Size calculation on 32-bit systems results in RCE via buffer overflow","vendor":"sysstat","product":"sysstat","tier":"tail","description":{"text":"sysstat is a set of system performance tools for the Linux operating system. On 32 bit systems, in versions 9.1.16 and newer but prior to 12.7.1, allocate_structures contains a size_t overflow in sa_common.c. The allocate_structures function insufficiently checks bounds before arithmetic multiplication, allowing for an overflow in the size allocated for the buffer representing system activities. This issue may lead to Remote Code Execution (RCE). This issue has been patched in version 12.7.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01358,"percentile":0.72357,"provenance":"source"},"cwes":[{"id":"CWE-131","name":"Incorrect Calculation of Buffer Size"},{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input"}],"references":[{"url":"https://github.com/sysstat/sysstat/security/advisories/GHSA-q8r6-g56f-9w7x","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2022/11/msg00014.html","tags":["mailing-list"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PHUVUDIVDJZ7AVXD3XX3NBXXXKPOKN3N/","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7X6WKTODOUDV6M3HZMASYNZP6EM4N7W4/","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6F26ALXWYHT4LN2AHPZM34OQEXTJE3JZ/","tags":["vendor-advisory"]},{"url":"https://security.gentoo.org/glsa/202211-07","tags":["vendor-advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00017.html","tags":[]}],"priority":{"score":19.4,"factors":[{"name":"EPSS percentile","points":14.47},{"name":"CVSS severity","points":4.9}]},"vendorSlug":"sysstat","affectedVersions":[{"vendor":"sysstat","product":"sysstat","versions":[">= 9.1.16, < 12.7.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2025-04-22T15:40:45.706397Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-41838","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-sysstat-cve-2022-39377","children":[{"from":"CVE-2022-39377","to":"CVE-2023-33204","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"sysstat through 12.7.2 allows a multiplication integer overflow in check_overflow in common.c. NOTE: this issue exists because of an incomplete fix for CVE-2022-39377.","from":"CVE.org","in":"CVE-2023-33204"}]}]}}