boxscore/security
CVE · referencelatest edition

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

CVE-2024-42236MEDIUM
Linux Linux — usb: gadget: configfs: Prevent OOB read/write in usb_string_copy()
  AV  AC  PR  UI  S  C  I  A   CVSS    EPSS   %ile   KEV
   L   L   L   N  U  N  N  H    5.5   .0024   15.5     —
AFFECTED
  Product  Versions                                    Fixed
  Linux    88af8bbe4ef781031ad3370847553f3b42ba0076 –  —
  Linux    3.10 –                                      4.19.318
TIMELINE
  Jul 30  Reserved by Linux
  Aug 7   Published (CNA: Linux)
  Aug 4   RESCORED — CVE-2024-42236 (Linux). CVSS 7.8 → 5.5 (NVD).
CWE-787 · CNA: Linux · CVSS v3.1 · 9 references · NVD status: Modified

Description

In the Linux kernel, the following vulnerability has been resolved: usb: gadget: configfs: Prevent OOB read/write in usb_string_copy() Userspace provided string 's' could trivially have the length zero. Left unchecked this will firstly result in an OOB read in the form `if (str[0 - 1] == '\n') followed closely by an OOB write in the form `str[0 - 1] = '\0'`. There is already a validating check to catch strings that are too long. Let's supply an additional check for invalid strings that are too short.

Lifecycle

Complete event history — 3 events, chronological
DateEventDetail
July 30, 2024ReservedReserved by Linux
August 7, 2024PublishedPublished (CNA: Linux)
August 4, 2026RESCOREDRESCORED — CVE-2024-42236 (Linux). CVSS 7.8 → 5.5 (NVD).

Affected

Affected products and packages — 2 rows
VendorProduct / PackageEcosystemVersion introducedFixed
LinuxLinux88af8bbe4ef781031ad3370847553f3b42ba0076
LinuxLinux3.104.19.318

Weaknesses

CWE-787

References (9)

Related

Authoritative record: CVE-2024-42236 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-2024-42236 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 Wednesday, August 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.