CVE-2022-39377: sysstat Incorrect Buffer Size calculation on 32-bit systems results in RCE via buffer overflow
Vulnerability summary
CVE-2022-39377 is a high (CVSS 7.8) vulnerability in debian debian_linux. EPSS estimates a 1.35% chance of exploitation in the next 30 days, higher than 72.3% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 5 · Related 3Timeline
- 08-11-2022PublishedVulnerability first disclosed.
- 03-11-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 6 sources · 1 version- CVE.orgCNA7.0HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HDiffers
- OSV · Red hatEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated7.0HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HDiffers
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · AlpineEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
1.35%
Chance of exploitation in the next 30 days
Percentile
72%
Versus all other CVEs
30-day change
Increase +0.08 pp
From 1.27% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundSysstat
Maturity: poc
Weaknesses
CWE · root cause- CWE-120Buffer Copy without Checking Size of InputThe product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer.
- CWE-131Incorrect Calculation of Buffer SizeThe product does not correctly calculate the size to be used when allocating a buffer.
Affected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat3 products
- sysstat< 0:12.5.4-5.el9 | < 0:11.7.3-9.el8
- sysstat-debuginfo< 0:12.5.4-5.el9 | < 0:11.7.3-9.el8
- sysstat-debugsource< 0:12.5.4-5.el9 | < 0:11.7.3-9.el8
Debian2 products
- sysstat< 12.6.1-1
- debian_linuxEOL10.0
Alpine1 product
- sysstat≥ 9.1.6, < 12.6.2-r0
Fedoraproject1 product
- fedoraEOL35 | 36 | 37
Mageia1 product
- sysstat< 12.5.2-1.1.mga8
Opensuse1 product
- sysstat&distro=openSUSE Tumbleweed< 12.6.1-2.1
Sysstat1 product
- sysstat≥ 9.1.16, < 12.7.1
Sysstat_project1 product
- sysstat≥ 9.1.6, < 12.6.1
Ubuntu1 product
- sysstat< 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
9 vendors · 12 products
References
29 links- github.com/sysstat/sysstat/security/advisories/GHSA-q8r6-g56f-9w7xAdvisoryARTICLEREPORTExploitThird Party Advisory
- lists.fedoraproject.org/archives/…Vendor Advisory
- lists.fedoraproject.org/archives/…Vendor Advisory
- lists.fedoraproject.org/archives/…Vendor Advisory