CVE-2026-31720
Last modified
CVE-2026-31720 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: usb: gadget: f_uac1_legacy: validate control request size f_audio_complete() copies req->length bytes into a 4-byte stack variable: u32 data = 0; memcpy(&data, req->buf, req->length); req->length is derived from the host-controlled USB request path, which can lead to a stack out-of-bounds write. Validate req->actual against the expected payload size for the supported control selectors and decode only the expected amount of data. This avoids copying a host-influenced length into a fixed-size stack object.. EPSS estimates a 0.13% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: usb: gadget: f_uac1_legacy: validate control request size f_audio_complete() copies req->length bytes into a 4-byte stack variable: u32 data = 0; memcpy(&data, req->buf, req->length); req->length is derived from the host-controlled USB request path, which can lead to a stack out-of-bounds write. Validate req->actual against the expected payload size for the supported control selectors and decode only the expected amount of data. This avoids copying a host-influenced length into a fixed-size stack object.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 2.6.31, < 5.10.253 | — |
| Linux | Linux Kernel | >= 5.11, < 5.15.203 | — |
| Linux | Linux Kernel | >= 5.16, < 6.1.168 | — |
| Linux | Linux Kernel | >= 6.2, < 6.6.134 | — |
| Linux | Linux Kernel | >= 6.7, < 6.12.81 | — |
| Linux | Linux Kernel | >= 6.13, < 6.18.22 | — |
| Linux | Linux Kernel | >= 6.19, < 6.19.12 | — |
| Linux | Linux Kernel | 7.0 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-31720?
How severe is CVE-2026-31720?
How do I fix CVE-2026-31720?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-31715In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-31716In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-31717In the Linux kernel, the following vulnerability has been re…8.8
- CVE-2026-31718In the Linux kernel, the following vulnerability has been re…9.8
- CVE-2026-31719In the Linux kernel, the following vulnerability has been re…7.5
- CVE-2026-3172Buffer overflow in parallel HNSW index build in pgvector 0.6…8.1
- CVE-2026-31721In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-31722In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-31723In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-31724In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-31725In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-31726In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2026-31720?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
