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

Exp

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.

Published: 2022-11-08 Last update: 2025-11-03 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2022-39377 is rated High Exploit Risk (70.5/100): CVSS High severity, with medium exploitation likelihood (EPSS 1.19%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2022-39377

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2022-39377

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-04-01 1.29% 1.19% -0.10%
2 2025-11-26 1.15% 1.29% +0.15%
3 2025-11-21 1.15%

Full EPSS history (28 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2022-39377

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.0 3.1 HIGH
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:L)
They already need access on the box, or another person has to do something wrong; it’s not a remote drive-by.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
1.0 5.9 [email protected]
7.8 3.1 HIGH
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:L)
They already need access on the box, or another person has to do something wrong; it’s not a remote drive-by.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
1.8 5.9 [email protected]

Weakness enumeration for CVE-2022-39377

OS Trackers for CVE-2022-39377

vendor priority summary link
alpine high CVE-2022-39377: 1 source package rows (sysstat); 7 state rows across 7 repos (3.17-community, 3.18-community, 3.19-community, 3.20-community, 3.21-community, 3.22-community, edge-community); fixed 3, open 4. https://security.alpinelinux.org/vuln/CVE-2022-39377
debian not yet assigned CVE-2022-39377 not yet assigned priority: Debian including 1 source packages (sysstat), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2022-39377
gentoo normal CVE-2022-39377: 1 GLSA(s) (202211-07), 1 atom(s) (app-admin/sysstat); latest impact normal. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2022-39377
redhat medium https://access.redhat.com/security/cve/CVE-2022-39377
suse medium CVE-2022-39377 severity moderate: SUSE including 247 source package names (15.7.20.5.1:sysstat-12.0.2-150000.3.37.1, 2.0.4-5.5.214:sysstat-12.0.2-150000.3.37.1, …), 417 product×package rows across 160 product lines (Container suse/hpc/warewulf4-x86_64/sle-hpc-node, Container suse/sle-micro-rancher/5.2, … (160 product lines)): Known Affected 231, Fixed 128, Known Not Affected 58. https://www.suse.com/security/cve/CVE-2022-39377/
ubuntu medium CVE-2022-39377 medium priority: Ubuntu including 1 source packages (sysstat), 8 status rows across 8 suites (bionic, focal, jammy, kinetic, lunar, trusty, upstream, xenial): released 8. https://ubuntu.com/security/CVE-2022-39377

Affected software / configurations for CVE-2022-39377

Vendor Product Version Raw CPE
sysstat_project sysstat >= 9.1.6, < 12.6.1 cpe:2.3:a:sysstat_project:sysstat:*:*:*:*:*:*:*:*
debian debian_linux 10.0 cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
fedoraproject fedora 35 cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
fedoraproject fedora 36 cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
fedoraproject fedora 37 cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*

References for CVE-2022-39377

cvelogic Threat Intelligence