boxscore/security
CVE · referencelatest edition

Reference page — cumulative record through Monday, October 19, 2026 UTC. Reference pages update as the archive grows; only dated daily editions are immutable pages of record.

CVE-2025-21704

Linux Linux — usb: cdc-acm: Check control transfer buffer size before access
  AV  AC  PR  UI  S  C  I  A   CVSS    EPSS   %ile   KEV
   L   L   L   N  U  H  H  H    7.8   .0037   29.1     —
AFFECTED
  Product  Versions                                    Fixed
  Linux    1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 –  —
  Linux    2.6.12 –                                    5.4.291
TIMELINE
  Dec 29  Reserved by Linux
  Feb 22  Published (CNA: Linux)
  Oct 15  ENRICHED — CVE-2025-21704 (Linux). Received CVSS 7.8 and CPE data from NVD.
  Oct 15  EXPLOIT PUBLISHED — CVE-2025-21704 (Linux). Public exploit reference added.
CWE-787 · CNA: Linux · CVSS v3.1 · 13 references · NVD status: Modified

Description

In the Linux kernel, the following vulnerability has been resolved: usb: cdc-acm: Check control transfer buffer size before access If the first fragment is shorter than struct usb_cdc_notification, we can't calculate an expected_size. Log an error and discard the notification instead of reading lengths from memory outside the received data, which can lead to memory corruption when the expected_size decreases between fragments, causing `expected_size - acm->nb_index` to wrap. This issue has been present since the beginning of git history; however, it only leads to memory corruption since commit ea2583529cd1 ("cdc-acm: reassemble fragmented notifications"). A mitigating factor is that acm_ctrl_irq() can only execute after userspace has opened /dev/ttyACM*; but if ModemManager is running, ModemManager will do that automatically depending on the USB device's vendor/product IDs and its other interfaces.

Lifecycle

Complete event history — 4 events, chronological
DateEventDetail
December 29, 2024ReservedReserved by Linux
February 22, 2025PublishedPublished (CNA: Linux)
October 15, 2026ENRICHEDENRICHED — CVE-2025-21704 (Linux). Received CVSS 7.8 and CPE data from NVD.
October 15, 2026EXPLOIT PUBLISHEDEXPLOIT PUBLISHED — CVE-2025-21704 (Linux). Public exploit reference added.

Affected

Affected products and packages — 2 rows
VendorProduct / PackageEcosystemVersion introducedFixed
LinuxLinux—1da177e4c3f41524e886b7f1b8a0c1fc7321cac2—
LinuxLinux—2.6.125.4.291

Weaknesses

CWE-787

References (13)

Related

Authoritative record: CVE-2025-21704 at cve.org

Vendors: linux

Weaknesses: CWE-787

About this page

This is a reference page, not a dated page of record. It assembles the complete lifecycle of CVE-2025-21704 from the CVE Program record, NVD enrichment, the CISA KEV catalog, EPSS, and OSV advisories. The box score's numbers (CVSS, EPSS, KEV status) are current as of Monday, October 19, 2026 UTC and are re-derived as the archive grows; only dated daily editions are immutable pages of record. The authoritative source for this identifier is cve.org.