cve.bz

CVE-2022-39377 Incorrect Calculation of Buffer Size

7.8 highExploit referenceEPSS 1.4%

High (7.8). EPSS 1.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
1.4% (unchanged from 1.4% a week ago; 1.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 72nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2025-04-22. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-131 Incorrect Calculation of Buffer Size
CWE-120 Buffer Copy without Checking Size of Input (Classic Buffer Overflow)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-39377 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-39377?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-39377?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-39377 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
sysstat_project:sysstatfrom 9.1.6 before 12.6.1
debian:debian_linux10.0
fedoraproject:fedora35
fedoraproject:fedora36
fedoraproject:fedora37

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10sysstat12.0.3-2+deb10u1DLA-3188-1
Debian11sysstat12.5.2-2+deb11u1DLA-4336-1
Debian12, 13, 14sysstat12.6.1-1DEBIAN-CVE-2022-39377
Ubuntu18.04:LTSsysstat11.6.1-1ubuntu0.2UBUNTU-CVE-2022-39377 USN-5748-1
Ubuntu20.04:LTSsysstat12.2.0-2ubuntu0.2UBUNTU-CVE-2022-39377 USN-5748-1 USN-6145-1
Ubuntu22.04:LTSsysstat12.5.2-2ubuntu0.1UBUNTU-CVE-2022-39377 USN-5748-1 USN-6145-1
UbuntuPro:14.04:LTSsysstat10.2.0-1ubuntu0.1~esm1UBUNTU-CVE-2022-39377 USN-6145-1
UbuntuPro:16.04:LTSsysstat11.2.0-1ubuntu0.3+esm1UBUNTU-CVE-2022-39377 USN-5735-1 USN-6145-1
UbuntuPro:18.04:LTSsysstat11.6.1-1ubuntu0.2+esm1USN-6145-1
Red Hatenterprise_linux:8::appstreamsysstat, sysstat-debuginfo, sysstat-debugsource0:11.7.3-9.el8RHSA-2023:2800
Red Hatenterprise_linux:9::appstreamsysstat, sysstat-debuginfo, sysstat-debugsource0:12.5.4-5.el9RHSA-2023:2234
SUSELinux Enterprise Micro 5.1, Linux Enterprise Micro 5.2, Linux Enterprise Micro 5.3 and 4 moresysstat12.0.2-150000.3.37.1SUSE-SU-2025:0019-1
SUSELinux Enterprise Server LTSS Extended Security 12 SP5sysstat12.0.2-20.23.1SUSE-SU-2025:0012-1
openSUSELeap 15.6, Leap Micro 5.5sysstat12.0.2-150000.3.37.1SUSE-SU-2025:0019-1
openSUSETumbleweedsysstat12.6.1-2.1openSUSE-SU-2024:12658-1
AlmaLinux8sysstat11.7.3-9.el8ALSA-2023:2800
AlmaLinux9sysstat12.5.4-5.el9ALSA-2023:2234
Alpinev3.21, v3.22, v3.23 and 1 moresysstat12.6.2-r0ALPINE-CVE-2022-39377
Azure Linux2sysstat12.7.1-1AZL-11450

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8sysstat-0:11.7.3-9.el8Fixed 2023-05-16RHSA-2023:2800
Red Hat Enterprise Linux 9sysstat-0:12.5.4-5.el9Fixed 2023-05-09RHSA-2023:2234
Red Hat Enterprise Linux 7sysstatOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-39377.

Attack patterns (CAPEC)

  • CAPEC-47 Buffer Overflow via Parameter Expansion Likelihood: Medium · Severity: High
  • CAPEC-100 Overflow Buffers Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-120 (13).

References

Check your stackJSON