VDB

CVE-2024-38587

CVE-2024-38587 PUBLISHED CVSS 7.8 HIGH

speakup: Fix sizeof() vs ARRAY_SIZE() bug

Reported by linux · Published June 19, 2024

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux6.9.3, 6.8.12, 6.6.33, 6.1.93, 5.15.161, 5.10.219, 5.4.278, 4.19.316
RUGGEDCOM RST2428PSiemens3.1
SCALANCE XCM-/XRM-/XCH-/XRH-300 familySiemens3.1

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinux756c5cb7c09e537b87b5d3acafcb101b2ccf394f, 8f6b62125befe1675446923e4171eac2c012959c, 6401038acfa24cba9c28cce410b7505efadd0222
LinuxLinux6.9, 0, 4.19.316
SiemensSCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family0
SiemensRUGGEDCOM RST2428P0
SiemensSCALANCE XCM-/XRM-/XCH-/XRH-300 family0
linuxlinux_kernel5.15.157, 6.1.88, 6.6.29
SiemensSIMATIC S7-1500 TM MFP - GNU/Linux subsystem0
LinuxLinux6.9.3, 6.8.12, *

Timeline

  • Jun 19, 2024 CVE Published
  • Jun 20, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (12 in total, the first dated here)
  • Jan 8, 2026 Security Advisory (318 in total, the first dated here)
  • Mar 30, 2026 Distribution Patch (241 in total, the first dated here)
  • Nov 19, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-38587
vulnetix vdb fixes CVE-2024-38587

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-38587/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›