# CVE-2025-39718: vsock/virtio: Validate length in packet header before skb_put()

- Severity: High 8.4 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2025-09-05T17:21:25.959Z
- Modified: 2026-10-19T21:10:00.160Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

vsock/virtio: Validate length in packet header before skb_put()

When receiving a vsock packet in the guest, only the virtqueue buffer
size is validated prior to virtio_vsock_skb_rx_put(). Unfortunately,
virtio_vsock_skb_rx_put() uses the length from the packet header as the
length argument to skb_put(), potentially resulting in SKB overflow if
the host has gone wonky.

Validate the length as advertised by the packet header before calling
virtio_vsock_skb_rx_put().

(As written by CVE List.)

## Affected

- Linux Linux: from baddcc2c71572968cdaeee1c4ab3dc0ad90fa765 before 969b06bd8b7560efb100a34227619e7d318fbe05; from 71dc9ec9ac7d3eee785cdc986c3daeb821381e20 before ee438c492b2e0705d819ac0e25d04fae758d8f8f; from 71dc9ec9ac7d3eee785cdc986c3daeb821381e20 before faf332a10372390ce65d0b803888f4b25a388335; from 71dc9ec9ac7d3eee785cdc986c3daeb821381e20 before 676f03760ca1d69c2470cef36c44dc152494b47c; from 71dc9ec9ac7d3eee785cdc986c3daeb821381e20 before 0dab92484474587b82e8e0455839eaf5ac7bf894; from 6.1.63 before 6.1.149; 6.3 (not affected: before 6.3; from 6.1.149 up to 6.1.*; from 6.6.103 up to 6.6.*; from 6.12.44 up to 6.12.*; from 6.16.4 up to 6.16.*; from 6.17 up to *)
- linux linux_kernel: from 6.1.63 before 6.1.149; from 6.3 before 6.6.103; from 6.7 before 6.12.44; from 6.13 before 6.16.4
- debian debian_linux: 11.0

## Every score

- Linux: 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`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/969b06bd8b7560efb100a34227619e7d318fbe05> (patch)
- <https://git.kernel.org/stable/c/ee438c492b2e0705d819ac0e25d04fae758d8f8f> (patch)
- <https://git.kernel.org/stable/c/faf332a10372390ce65d0b803888f4b25a388335> (patch)
- <https://git.kernel.org/stable/c/676f03760ca1d69c2470cef36c44dc152494b47c> (patch)
- <https://git.kernel.org/stable/c/0dab92484474587b82e8e0455839eaf5ac7bf894> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html> (third-party-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-032379.html>

## Sources

- CVE List: [CVE-2025-39718](https://www.cve.org/CVERecord?id=CVE-2025-39718), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2025-39718](https://nvd.nist.gov/vuln/detail/CVE-2025-39718), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-39718 · Whole record: https://cve.day/CVE-2025-39718.json · Rebuilt by cve.day 2026-11-25T22:59:04.280Z
