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

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2022-11-08 · Modified: 2025-11-03
- Aliases: MGASA-2022-0433, RHSA-2023:2234, RHSA-2023:2800, UBUNTU-CVE-2022-39377, USN-5735-1, USN-5748-1, DEBIAN-CVE-2022-39377, openSUSE-SU-2024:12658-1, ALPINE-CVE-2022-39377
- Record: https://cvemate.com/vulnerability/CVE-2022-39377 · JSON: https://cvemate.com/vulnerability/CVE-2022-39377/json

## 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.
```

## Signals

- CVSS: 7.8 high (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 1.347%, percentile 72.383%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- alpine sysstat (Alpine Linux): ≥ 9.1.6, \< 12.6.2-r0
- debian sysstat (Debian): \< 12.6.1-1
- ubuntu sysstat (Ubuntu): \< 10.2.0-1ubuntu0.1~esm1 \| \< 11.2.0-1ubuntu0.3+esm1 \| \< 11.6.1-1ubuntu0.2 \| \< 12.2.0-2ubuntu0.2 \| \< 12.5.2-2ubuntu0.1
- debian debian\_linux: 10.0
- fedoraproject fedora: 35 \| 36 \| 37
- mageia sysstat (Mageia): \< 12.5.2-1.1.mga8
- opensuse sysstat&distro=openSUSE Tumbleweed (openSUSE): \< 12.6.1-2.1
- redhat sysstat (Red Hat): \< 0:12.5.4-5.el9 \| \< 0:11.7.3-9.el8
- redhat sysstat-debuginfo (Red Hat): \< 0:12.5.4-5.el9 \| \< 0:11.7.3-9.el8
- redhat sysstat-debugsource (Red Hat): \< 0:12.5.4-5.el9 \| \< 0:11.7.3-9.el8
- sysstat\_project sysstat: ≥ 9.1.6, \< 12.6.1
- sysstat sysstat: ≥ 9.1.16, \< 12.7.1

## References (first 20 of 29)

- <https://github.com/sysstat/sysstat/security/advisories/GHSA-q8r6-g56f-9w7x>
- <https://lists.debian.org/debian-lts-announce/2022/11/msg00014.html>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PHUVUDIVDJZ7AVXD3XX3NBXXXKPOKN3N/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7X6WKTODOUDV6M3HZMASYNZP6EM4N7W4/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6F26ALXWYHT4LN2AHPZM34OQEXTJE3JZ/>
- <https://security.gentoo.org/glsa/202211-07>
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00017.html>
- <https://advisories.mageia.org/MGASA-2022-0433.html>
- <https://bugs.mageia.org/show_bug.cgi?id=31120>
- <https://www.debian.org/lts/security/2022/dla-3188>
- <http://sebastien.godard.pagesperso-orange.fr/>
- <https://access.redhat.com/errata/RHSA-2023:2234>
- <https://access.redhat.com/security/updates/classification/#moderate>
- <https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/9.2_release_notes/index>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2141207>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2023/rhsa-2023_2234.json>
- <https://access.redhat.com/security/cve/CVE-2022-39377>
- <https://www.cve.org/CVERecord?id=CVE-2022-39377>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-39377>
- <https://access.redhat.com/errata/RHSA-2023:2800>

---

Data as of 2026-12-05T11:18:34.347Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
