CVE-2024-38587: speakup: Fix sizeof() vs ARRAY_SIZE() bug
Vulnerability summary
CVE-2024-38587 is a high (CVSS 7.8) Improper Validation of Array Index vulnerability in linux. EPSS estimates a 0.79% chance of exploitation in the next 30 days, higher than 57.5% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 28 · Related 24Timeline
- 19-06-2024PublishedVulnerability first disclosed.
- 15-10-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: speakup: Fix sizeof() vs ARRAY_SIZE() bug The "buf" pointer is an array of u16 values. This code should be using ARRAY_SIZE() (which is 256) instead of sizeof() (which is 512), otherwise it can the still got out of bounds.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.79%
Chance of exploitation in the next 30 days
Percentile
58%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.79% 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
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu110 products
- linux< 5.4.0-192.212 | < 5.15.0-121.131 | < 6.8.0-40.40
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 5.4.0-1130.140 | < 5.15.0-1069.75 | < 6.8.0-1013.14
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 756c5cb7c09e537b87b5d3acafcb101b2ccf394f, < 42f0a3f67158ed6b2908d2b9ffbf7e96d23fd358 | ≥ 8f6b62125befe1675446923e4171eac2c012959c, < cd7f3978c2ec741aedd1d860b2adb227314cf996 | ≥ 6401038acfa24cba9c28cce410b7505efadd0222, < 07ef95cc7a579731198c93beed281e3a79a0e586 | ≥ 0d130158db29f5e0b3893154908cf618896450a8, < 504178fb7d9f6cdb0496d5491efb05f45597e535 | ≥ 89af25bd4b4bf6a71295f07e07a8ae7dc03c6595, < 3726f75a1ccc16cd335c0ccfad1d92ee08ecba5e | ≥ 8defb1d22ba0395b81feb963b96e252b097ba76f, < c6e1650cf5df1bd6638eeee231a683ef30c7d4eb | ≥ 0efb15c14c493263cb3a5f65f5ddfd4603d19a76, < eb1ea64328d4cc7d7a912c563f8523d5259716ef | ≥ c8d2f34ea96ea3bce6ba2535f867f0d4ee3b22e1, < d52c04474feac8e305814a5228e622afe481b2ef | ≥ c8d2f34ea96ea3bce6ba2535f867f0d4ee3b22e1, < 008ab3c53bc4f0b2f20013c8f6c204a3203d0b8b | ≥ 4.19.313, < 4.19.316 | ≥ 5.4.275, < 5.4.278 | ≥ 5.10.216, < 5.10.219 | ≥ 5.15.157, < 5.15.161 | ≥ 6.1.88, < 6.1.93 | ≥ 6.6.29, < 6.6.33 | ≥ 6.8.8, < 6.8.12 | 6.9
- linux_kernel≥ 4.19.313, < 4.19.316 | ≥ 5.4.275, < 5.4.278 | ≥ 5.10.216, < 5.10.219 | ≥ 5.15.157, < 5.15.161 | ≥ 6.1.88, < 6.1.93 | ≥ 6.6.29, < 6.6.33 | ≥ 6.8.8, < 6.8.12 | ≥ 6.9, < 6.9.3
Debian1 product
- linux< 6.1.94-1 | < 6.8.12-1
3 vendors · 113 products