VDB

CVE-2025-39815

CVE-2025-39815 PUBLISHED CVSS 7.8 HIGH

RISC-V: KVM: fix stack overrun when loading vlenb

Reported by linux · Published September 16, 2025

In the Linux kernel, the following vulnerability has been resolved: RISC-V: KVM: fix stack overrun when loading vlenb The userspace load can put up to 2048 bits into an xlen bit stack buffer. We want only xlen bits, so check the size beforehand.

Fixed versions

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

PackageEcosystemFixed in
linux_kernellinux6.16.5, 6.12.45
LinuxLinuxc76bf8359188a11f8fd790e5bbd6077894a245cc, 799766208f09f95677a9ab111b93872d414fbad7, 6d28659b692a0212f360f8bd8a58712b339f9aac

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
LinuxLinux2fa290372dfe7dd248b1c16f943f273a3e674f22, 2fa290372dfe7dd248b1c16f943f273a3e674f22, 2fa290372dfe7dd248b1c16f943f273a3e674f22
LinuxLinux6.8, 0, 6.12.45
LinuxLinux2fa290372dfe7dd248b1c16f943f273a3e674f22, 6.16.5, 6.17
linuxlinux_kernel6.8, 6.8, 6.8

Timeline

  • Sep 16, 2025 CVE Published
  • Sep 17, 2025 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2025 Coalition ESS Score (8 in total, the first dated here)
  • Dec 15, 2025 Security Advisory (116 in total, the first dated here)
  • Dec 16, 2025 PoC Published
  • Mar 29, 2026 Distribution Patch (105 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-39815
vulnetix vdb fixes CVE-2025-39815

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-2025-39815/fixes/registry"

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

References

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