CVE-2026-23178: HID: i2c-hid: fix potential buffer overflow in i2c_hid_get_report()
Vulnerability summary
CVE-2026-23178 is a high (CVSS 7.8) Heap-based Buffer Overflow vulnerability in linux. EPSS estimates a 0.20% chance of exploitation in the next 30 days, higher than 9.7% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 24 · Related 19Timeline
- 14-02-2026PublishedVulnerability first disclosed.
- 19-10-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: HID: i2c-hid: fix potential buffer overflow in i2c_hid_get_report() `i2c_hid_xfer` is used to read `recv_len + sizeof(__le16)` bytes of data into `ihid->rawbuf`. The former can come from the userspace in the hidraw driver and is only bounded by HID_MAX_BUFFER_SIZE(16384) by default (unless we also set `max_buffer_size` field of `struct hid_ll_driver` which we do not). The latter has size determined at runtime by the maximum size of different report types you could receive on any particular device and can be a much smaller value. Fix this by truncating `recv_len` to `ihid->bufsize - sizeof(__le16)`. The impact is low since access to hidraw devices requires root.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.20%
Chance of exploitation in the next 30 days
Percentile
10%
Versus all other CVEs
30-day change
Increase +0.05 pp
From 0.15% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu130 products
- linux< 6.8.0-117.117 | All versions (No fix recorded)
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 6.8.0-1055.58 | All versions (No fix recorded)
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Debian1 product
- linux< 6.1.164-1 | < 6.12.73-1 | < 6.18.10-1
Linux1 product
- linux≥ 85df713377ddc0482071c3e6b64c37bd1e48f1f1, < f9c9ad89d845f88a1509e9d672f65d234425fde9 | ≥ 85df713377ddc0482071c3e6b64c37bd1e48f1f1, < cff3f619fd1cb40cdd89971df9001f075613d219 | ≥ 85df713377ddc0482071c3e6b64c37bd1e48f1f1, < 786ec171788bdf9dda38789163f1b1fbb47f2d1e | ≥ 85df713377ddc0482071c3e6b64c37bd1e48f1f1, < 2124279f1f8c32c1646ce98e75a1a39b23b7db76 | ≥ 85df713377ddc0482071c3e6b64c37bd1e48f1f1, < 2497ff38c530b1af0df5130ca9f5ab22c5e92f29 | 5.18
3 vendors · 132 products