5.5

CVE-2026-63896: usb: gadget: composite: fix integer underflow in WebUSB GET_URL handling

Analyzed
AliasesUBUNTU-CVE-2026-63896DEBIAN-CVE-2026-63896
Published 19-07-2026Last modified 19-07-2026

Vulnerability summary

CVE-2026-63896 is a medium (CVSS 5.5) Integer Overflow or Wraparound vulnerability in linux. EPSS estimates a 0.17% chance of exploitation in the next 30 days, higher than 6% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.5/10
010
Medium · v3.1 (NVD)
EPSS score
0.17%
0%100%
Low · -0.05 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 29 · Related 29

Timeline

  1. 19-07-2026
    PublishedVulnerability first disclosed.

Description

In the Linux kernel, the following vulnerability has been resolved: usb: gadget: composite: fix integer underflow in WebUSB GET_URL handling The WebUSB GET_URL handler in composite_setup() narrows landing_page_length to fit the host-supplied wLength using landing_page_length = w_length - WEBUSB_URL_DESCRIPTOR_HEADER_LENGTH + landing_page_offset; If wLength is smaller than WEBUSB_URL_DESCRIPTOR_HEADER_LENGTH the unsigned subtraction wraps, and the subsequent memcpy(url_descriptor->URL, cdev->landing_page + landing_page_offset, landing_page_length - landing_page_offset); ends up copying close to UINT_MAX bytes from cdev->landing_page into cdev->req->buf. KASAN reports a slab-out-of-bounds in composite_setup on the kmalloc-2k gadget_info allocation, and FORTIFY_SOURCE traps the memcpy as a 4294967293-byte field-spanning write into url_descriptor->URL (size 252). A USB host can reach this from a single SETUP packet against any gadget that has webusb/use=1 and a landingPage configured. Handle the small-wLength case before the math: when the host requested fewer bytes than the URL descriptor header, only the header is meaningful and no URL bytes need to be copied. Setting landing_page_length to landing_page_offset makes the existing memcpy a no-op and leaves the descriptor returned to the host unchanged for all larger wLength values.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

0.17%

Chance of exploitation in the next 30 days

Percentile

6%

Versus all other CVEs

30-day change

Decrease -0.05 pp

From 0.21% on 21-10-2026

21-10-202620-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu141 products
  • linux< 6.8.0-146.146 | < 7.0.0-28.28
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-aws< 6.8.0-1066.69 | < 7.0.0-1009.9
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ 93c473948c588978cd55d9a3adad8b3e8057aa21, < 046870ff6b6f7b743c953c061043a9b30700d491 | ≥ 93c473948c588978cd55d9a3adad8b3e8057aa21, < f5869dfaa89854dcf34121036294d42d6c7acb8f | ≥ 93c473948c588978cd55d9a3adad8b3e8057aa21, < f8f5a8f48c7cae3fac85e04b593bd47939f9725f | ≥ 93c473948c588978cd55d9a3adad8b3e8057aa21, < a20f0ccf45708af6e063c7234c215d364b00de25 | ≥ 93c473948c588978cd55d9a3adad8b3e8057aa21, < 6c5dbc104dadd79fc2923497c20bae759a18758c | 6.3
  • linux_kernel≥ 6.3, < 6.6.143 | ≥ 6.7, < 6.12.93 | ≥ 6.13, < 6.18.35 | ≥ 6.19, < 7.0.12 | 7.1:rc1 | 7.1:rc2 | 7.1:rc3 | 7.1:rc4 | 7.1:rc5
Debian1 product
  • linux< 6.12.94-1 | < 7.0.12-1

3 vendors · 144 products

References

26 links
Show all 26 references