CVEfocus › CVE database › CVE-2022-39377

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

CVSS 7.0 HighEPSS 0.9% (higher than 58% of CVEs)Published 2022-11-08Updated 2025-11-03Assigner: GitHub_M

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.

CWE-120CWE-131

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

14Fixed
2Fix pending
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04sysstatFixed12.5.2-2ubuntu0.1UBUNTU-CVE-2022-39377
Ubuntu 20.04sysstatFixed12.2.0-2ubuntu0.2UBUNTU-CVE-2022-39377
Ubuntu 18.04sysstatFixed11.6.1-1ubuntu0.2UBUNTU-CVE-2022-39377
Ubuntu 16.04sysstatFix pending11.2.0-1ubuntu0.3+esm1 (Ubuntu Pro)UBUNTU-CVE-2022-39377
Ubuntu 14.04sysstatFix pending10.2.0-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2022-39377
Debian 14sysstatFixed12.6.1-1DEBIAN-CVE-2022-39377
Debian 13sysstatFixed12.6.1-1DEBIAN-CVE-2022-39377
Debian 12sysstatFixed12.6.1-1DEBIAN-CVE-2022-39377
Red Hat Enterprise Linux 9sysstatFixed0:12.5.4-5.el9RHSA-2023:2234
Red Hat Enterprise Linux 8sysstatFixed0:11.7.3-9.el8RHSA-2023:2800
Red Hat Enterprise Linux 7sysstatWill not fix
Out of support scope
AlmaLinux 9sysstatFixed12.5.4-5.el9ALSA-2023:2234
AlmaLinux 8sysstatFixed11.7.3-9.el8ALSA-2023:2800
Alpine Linux 3.24sysstatFixed12.6.2-r0ALPINE-CVE-2022-39377
Alpine Linux 3.23sysstatFixed12.6.2-r0ALPINE-CVE-2022-39377
Alpine Linux 3.22sysstatFixed12.6.2-r0ALPINE-CVE-2022-39377
Alpine Linux 3.21sysstatFixed12.6.2-r0ALPINE-CVE-2022-39377

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.