# CVE-2022-39377: sysstat Incorrect Buffer Size calculation on 32-bit systems results in RCE via buffer overflow

- Severity: High 7.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.91%, higher than 58% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-11-08T00:00:00.000Z
- Modified: 2026-06-17T04:58:14.713Z
- Weaknesses: CWE-120, CWE-131
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- sysstat sysstat: >= 9.1.16, < 12.7.1
- sysstat_project sysstat: from 9.1.6 before 12.6.1
- debian debian_linux: 10.0
- fedoraproject fedora: 35; 36; 37

## Every score

- GitHub_M: CVSS:3.1 7.0 High `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/sysstat/sysstat/security/advisories/GHSA-q8r6-g56f-9w7x> (exploit, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2022/11/msg00014.html> (mailing-list, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PHUVUDIVDJZ7AVXD3XX3NBXXXKPOKN3N/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7X6WKTODOUDV6M3HZMASYNZP6EM4N7W4/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6F26ALXWYHT4LN2AHPZM34OQEXTJE3JZ/> (vendor-advisory)
- <https://security.gentoo.org/glsa/202211-07> (third-party-advisory, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00017.html>

## Sources

- CVE List: [CVE-2022-39377](https://www.cve.org/CVERecord?id=CVE-2022-39377), CVE Terms of Use, modified 2025-11-03
- NVD: [CVE-2022-39377](https://nvd.nist.gov/vuln/detail/CVE-2022-39377), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-39377 · Whole record: https://cve.day/CVE-2022-39377.json · Rebuilt by cve.day 2026-11-25T22:58:16.291Z
