CVE-2024-37676
An issue in htop-dev htop v.2.20 allows a local attacker to cause an out-of-bounds access in the...
An issue in htop-dev htop v.2.20 allows a local attacker to cause an out-of-bounds access in the Header_populateFromSettings function.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
8.4
An issue in htop-dev htop v.2.20 allows a local attacker to cause an out-of-bounds access in the Header_populateFromSettings function.
- Record
CVE-2024-37676- CVSS 3.1
- 8.4 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-119, CWE-787
- Updated
- 2026-11-02
EUVDEUVD-2024-36802
8.4
An issue in htop-dev htop v.2.20 allows a local attacker to cause an out-of-bounds access in the Header_populateFromSettings function.
- Record
EUVD-2024-36802- CVSS 3.1
- 8.4 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-j7q8-96xp-m3gc
8.4
An issue in htop-dev htop v.2.20 allows a local attacker to cause an out-of-bounds access in the...
An issue in htop-dev htop v.2.20 allows a local attacker to cause an out-of-bounds access in the Header_populateFromSettings function.
- Record
GHSA-j7q8-96xp-m3gc- CVSS 3.1
- 8.4 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-119
- Updated
- 2026-11-02
NVD
8.4
An issue in htop-dev htop v.2.20 allows a local attacker to cause an out-of-bounds access in the Header_populateFromSettings function.
- Record
CVE-2024-37676- CVSS 3.1
- 8.4 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-119, CWE-787
- Updated
- 2026-11-02
OSVALPINE-CVE-2024-37676
8.4
An issue in htop-dev htop v.2.20 allows a local attacker to cause an out-of-bounds access in the Header_populateFromSettings function.
- Record
ALPINE-CVE-2024-37676- CVSS 3.1
- 8.4 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2024-37676
8.4
An issue in htop-dev htop v.2.20 allows a local attacker to cause an out-of-bounds access in the Header_populateFromSettings function.
- Record
UBUNTU-CVE-2024-37676- CVSS 3.1
- 8.4 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVAZL-42826 No score
CVE-2024-37676 affecting package htop 3.0.5-5
An issue in htop-dev htop v.2.20 allows a local attacker to cause an out-of-bounds access in the Header_populateFromSettings function.
- Record
AZL-42826- Updated
- 2026-11-02
OSVopenSUSE-SU-2026:11531-1 No score
htop-3.5.3-1.1 on GA media
These are all security issues fixed in the htop-3.5.3-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2026:11531-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2026:21585-1 No score
Security update for htop
This update for htop fixes the following issues:
Changes in htop:
- Update to version 3.5.3:
- Improve the htoprc settings parser to avoid segfaults on tampered configuration files (sanitised sort keys, validated configuration invariants, NULL safety for header columns and screens)
- Add zswap pool usage meters
- Fix out-of-bounds access when parsing the power supply type (Linux)
- Mark a CPU offline when it is unplugged from the middle and release its data on hot-unplug (Linux)
- Fix a Clang MemorySanitizer-reported issue
- Exit follow mode when a search or filter is cancelled
- Fix blank STARTTIME and wrong ELAPSED for threads (Darwin)
- Use strchr instead of strstr in XUtils
- Document the CPU meter segments in the man page and add an External Libraries section covering libnl-3/libnl-genl-3
- CVE-2024-37676: out-of-bounds access in Header_populateFromSettings reachable from a tampered htoprc; the settings parser hardening above is what upstream lists as covering it. openSUSE is assessed not affected (boo#1226729)
- Record
openSUSE-SU-2026:21585-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
htopAlpine:v3.22 |
before 3.4.1-r1 | 3.4.1-r1 |
htopAlpine:v3.23 |
before 3.4.1-r2 | 3.4.1-r2 |
htopAlpine:v3.24 |
before 3.5.3-r0 | 3.5.3-r0 |
htopAzure Linux:2 |
through 3.0.5-5 | None known |
htopUbuntu:20.04:LTS |
All versions, plus listed versions 2.2.0-22.2.0-2build1 |
None known |
htopopenSUSE:Tumbleweed |
before 3.5.3-1.1 | 3.5.3-1.1 |
htopopenSUSE:Leap 16.0 |
before 3.5.3-bp160.1.1 | 3.5.3-bp160.1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2024-37676 is a high vulnerability (CVSS 8.4) in Htop, published June 20, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.20%, the 10th percentile. Fixed in htop 3.4.1-r1.