Skip to content
OpenAdvisories
High · 7.0 CVE-2022-39377 EUVD-2022-41838

sysstat Incorrect Buffer Size calculation on 32-bit systems results in RCE via buffer overflow

Published Nov 8, 2022 · Updated Nov 3, 2025 · 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.

Affected products

VendorProductAffectedFixed
sysstat sysstat >= 9.1.16, < 12.7.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 sysstat 12.6.1-1 —
Debian 13 sysstat 12.6.1-1 —
Debian 12 sysstat 12.6.1-1 —
Debian 11 sysstat 12.5.2-2+deb11u1 DLA-4336-1
Debian 10 sysstat 12.0.3-2+deb10u1 DLA-3188-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS sysstat 12.5.2-2ubuntu0.1 USN-6145-1, USN-5748-1
Ubuntu 20.04 LTS sysstat 12.2.0-2ubuntu0.2 USN-6145-1, USN-5748-1
Ubuntu 18.04 LTS sysstat 11.6.1-1ubuntu0.2 USN-5748-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS sysstat 11.6.1-1ubuntu0.2+esm1 USN-6145-1
Ubuntu Pro 16.04 LTS sysstat 11.2.0-1ubuntu0.3+esm1 USN-6145-1, USN-5735-1
Ubuntu Pro 14.04 LTS sysstat 10.2.0-1ubuntu0.1~esm1 USN-6145-1
ReleasePackageFixed inAdvisory
RHEL 9 sysstat 12.5.4-5.el9 RHSA-2023:2234
RHEL 8 sysstat 11.7.3-9.el8 RHSA-2023:2800

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 sysstat 12.5.4-5.el9 ALSA-2023:2234
AlmaLinux 8 sysstat 11.7.3-9.el8 ALSA-2023:2800
ReleasePackageFixed inAdvisory
SLES 15 SP6 sysstat 12.0.2-150000.3.37.1 SUSE-SU-2025:0019-1
SLES 12 SP5 sysstat 12.0.2-20.23.1 SUSE-SU-2025:0012-1
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLE Micro 5.5 sysstat 12.0.2-150000.3.37.1 SUSE-SU-2025:0019-1
SLE Micro 5.4 sysstat 12.0.2-150000.3.37.1 SUSE-SU-2025:0019-1
SLE Micro 5.3 sysstat 12.0.2-150000.3.37.1 SUSE-SU-2025:0019-1
SLE Micro 5.2 sysstat 12.0.2-150000.3.37.1 SUSE-SU-2025:0019-1
SLE Micro 5.1 sysstat 12.0.2-150000.3.37.1 SUSE-SU-2025:0019-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed sysstat 12.6.1-2.1 openSUSE-SU-2024:12658-1
openSUSE Leap 15.6 sysstat 12.0.2-150000.3.37.1 SUSE-SU-2025:0019-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
openSUSE Leap Micro 5.5 sysstat 12.0.2-150000.3.37.1 SUSE-SU-2025:0019-1
ReleasePackageFixed inAdvisory
Alpine v3.24 sysstat 12.6.2-r0 —
Alpine v3.23 sysstat 12.6.2-r0 —
Alpine v3.22 sysstat 12.6.2-r0 —
Alpine v3.21 sysstat 12.6.2-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 sysstat 12.5.6-1.amzn2023.0.2 ALAS2023-2023-094
Amazon Linux 2 sysstat 10.1.5-18.amzn2.0.2 ALAS2-2023-1925

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) sysstat 12.7.1-1 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 sysstat 12.5.4-5.0.1.el9 ELSA-2023-2234
Oracle Linux 8 sysstat 11.7.3-9.0.1.el8 ELSA-2023-2800

Advisories 17

References