Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 90%

In the Linux kernel, the following vulnerability has been resolved: usb: gadget: composite: fix integer underflow in WebUSB GET_URL handling The… (CVE-2026-63896)

0
Medium
Published: 07/19/2026 (07/19/2026, 18:31:44 UTC)
Source: GCVE Database

Description

A vulnerability in the Linux kernel's USB gadget composite driver related to WebUSB GET_URL handling causes an integer underflow. This underflow can lead to an out-of-bounds memory copy when the host supplies a small wLength value, potentially causing memory corruption. The issue arises because the code subtracts a constant from wLength without checking if wLength is smaller than that constant, resulting in an unsigned wraparound. The vulnerability is triggered by a USB host sending a crafted SETUP packet to a gadget with webusb/use=1 and a landingPage configured. The fix involves handling the small wLength case before the arithmetic to prevent the underflow and avoid copying excessive bytes.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/19/2026, 20:12:32 UTC

Technical Analysis

The Linux kernel's USB gadget composite driver had an integer underflow vulnerability in the WebUSB GET_URL handler within composite_setup(). When the host-supplied wLength is smaller than WEBUSB_URL_DESCRIPTOR_HEADER_LENGTH, subtracting this constant from wLength causes an unsigned integer wraparound. This leads to a memcpy operation copying nearly UINT_MAX bytes from the landing_page buffer into the request buffer, causing out-of-bounds memory access. The vulnerability can be triggered by a single SETUP packet from a USB host targeting any gadget with webusb/use=1 and a configured landingPage. The fix ensures that if wLength is smaller than the header length, landing_page_length is set to landing_page_offset, making the memcpy a no-op and preventing memory corruption.

Potential Impact

This vulnerability allows a USB host to cause an out-of-bounds memory copy in the kernel's USB gadget driver, potentially leading to memory corruption. Such corruption could result in system instability, crashes, or other undefined behavior. There is no evidence of known exploits in the wild. The impact is limited to systems running vulnerable Linux kernel versions with USB gadgets configured with webusb/use=1 and a landingPage.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The vulnerability description indicates that a fix has been implemented in the Linux kernel source code by handling the small wLength case before performing arithmetic to prevent integer underflow. Users should monitor official Linux kernel advisories and apply updates when available. In the meantime, disabling or avoiding use of USB gadgets with webusb/use=1 and landingPage configured may reduce exposure.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-5hvq-fg66-prgg
Osv Schema Version
1.4.0
Aliases
["CVE-2026-63896"]
Ecosystems
[]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a5d27ab2a4a8d598912ffb8

Added to database: 07/19/2026, 19:38:19 UTC

Last enriched: 07/19/2026, 20:12:32 UTC

Last updated: 07/20/2026, 17:26:47 UTC

Views: 12

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses