CVE-2022-39377
sysstat Incorrect Buffer Size calculation on 32-bit systems results in RCE via buffer overflow
Mitigation
- Upgrade sysstat to 12.7.1 or later.
Who should check
- Anyone running sysstat >= 9.1.16, < 12.7.1
Vulnerability facts
- Affected
- sysstat >= 9.1.16, < 12.7.1
- Fixed in
- sysstat 12.7.1
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.0 (v3.1, CNA)CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: High
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.91% chance of exploitation in 30 days (percentile 58, 2026-11-26)
- CWE
- CWE-131, CWE-120
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| sysstat | >= 9.1.16, < 12.7.1 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-39377. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-39377.md Affected: sysstat >= 9.1.16, < 12.7.1 Fixed in: sysstat 12.7.1 Steps: 1. Search this machine and project for sysstat: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
- https://github.com/sysstat/sysstat/security/advisories/GHSA-q8r6-g56f-9w7x
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PHUVUDIVDJZ7AVXD3XX3NBXXXKPOKN3N/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7X6WKTODOUDV6M3HZMASYNZP6EM4N7W4/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6F26ALXWYHT4LN2AHPZM34OQEXTJE3JZ/
- https://security.gentoo.org/glsa/202211-07
FAQ
Is CVE-2022-39377 being exploited?
There is no confirmed exploitation: CVE-2022-39377 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.91% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-39377?
High: CVSS 7.0 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2022-39377?
sysstat >= 9.1.16, < 12.7.1.
Is there a fix for CVE-2022-39377?
Yes. Fixed in sysstat 12.7.1. Upgrade sysstat to 12.7.1 or later.
How do I check if I'm affected by CVE-2022-39377?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.