Read the docs
TI-2022-18751 Aliases CVE-2022-39377

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

Priority HIGH 69CWE-120Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 2 fixed, 1 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-120 and the CVSS impact.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.01358 71st percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial sysstat (sysstat): 12.7.1Red Hat: 2 advisoriesRed Hat: 2 fixed, 1 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
sysstatsysstat9.1.16 to before 12.7.112.7.1Patch availableCNA
  • sysstat Vendorsysstat Affected 9.1.16 to before 12.7.1 Fixed in 12.7.1 Patch available CNA

CPE configurations NVD · 5

CPEVersionsRoleVendor
cpe:2.3:a:sysstat_project:sysstat:*:*:*:*:*:*:*:*9.1.6 to before 12.6.1VulnerableSysstat Project
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*10.0VulnerableDebian
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*35VulnerableFedoraproject
cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*36VulnerableFedoraproject
cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*37VulnerableFedoraproject
  • cpe:2.3:a:sysstat_project:sysstat:*:*:*:*:*:*:*:* Versions 9.1.6 to before 12.6.1 Vulnerable ·Sysstat Project
  • cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Versions 10.0 Vulnerable ·Debian
  • cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* Versions 35 Vulnerable ·Fedoraproject
  • cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* Versions 36 Vulnerable ·Fedoraproject
  • cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:* Versions 37 Vulnerable ·Fedoraproject

Remediation

  • Fix · CNA sysstat (sysstat) Fixed in 12.7.1

Red Hat 2 advisories

  • RHSA-2023:2800 Released 2023-05-16 · Red Hat rating Moderate
    sysstat security and bug fix update
    • Red Hat Enterprise Linux AppStream (v. 8) sysstat-11.7.3-9.el8
  • RHSA-2023:2234 Released 2023-05-09 · Red Hat rating Moderate
    sysstat security and bug fix update
    • Red Hat Enterprise Linux AppStream (v. 9) sysstat-12.5.4-5.el9

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 7AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux AppStream (v. 8)Fixed RHSA-2023:2800
Red Hat Enterprise Linux AppStream (v. 9)Fixed RHSA-2023:2234

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-39377

References

  • TI-2007-03736 The init script (sysstat.in) in sysstat 5.1.2 up to 7.1.6 creates /tmp/sysstat.run… CVSS 2.0MEDIUM 4.4
  • TI-2004-00091 The isag utility, which processes sysstat data, allows local users to overwrite arbitrary… CVSS 2.0MEDIUM 4.6
  • TI-2004-00090 The (1) post and (2) trigger scripts in sysstat 4.0.7 and earlier allow local users to… CVSS 2.0MEDIUM 4.6

Sources