{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-50131","published":"2025-06-18T11:15:42.920000Z","last_modified":"2026-08-04T10:18:05.643000Z","status":"Modified","cvss":{"version":"3.1","score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-787"],"cpes":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.7","version_end_excluding":"5.10.137"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.11","version_end_excluding":"5.15.61"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.16","version_end_excluding":"5.18.18"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.19","version_end_excluding":"5.19.2"}],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux_kernel"],"epss":{"score":0.00326,"percentile":0.18188,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"os","platform":"linux","eol":false,"packages":[],"severity":"high","priority_score":47,"links":{"html_es":"/es/cve/CVE-2022-50131/","html_en":"/en/cve/CVE-2022-50131/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-50131","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-50131"},"untrusted":{"vendor_name":"Linux","product_name":"Linux Kernel","desc_en":"In the Linux kernel, the following vulnerability has been resolved:\n\nHID: mcp2221: prevent a buffer overflow in mcp_smbus_write()\n\nSmatch Warning:\ndrivers/hid/hid-mcp2221.c:388 mcp_smbus_write() error: __memcpy()\n'&mcp->txbuf[5]' too small (59 vs 255)\ndrivers/hid/hid-mcp2221.c:388 mcp_smbus_write() error: __memcpy() 'buf'\ntoo small (34 vs 255)\n\nThe 'len' variable can take a value between 0-255 as it can come from\ndata->block[0] and it is user data. So add an bound check to prevent a\nbuffer overflow in memcpy().","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/3c0f8a59f2cc8841ee6653399a77f4f3e6e9a270","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/62ac2473553a00229e67bdf3cb023b62cf7f5a9a","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/6402116a7b5ec80fa40fd145a80c813019cd555f","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/66c8e816f2f2ca4a61b406503bd10bad1b35f72f","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/91443c669d280937968f0aa4edefa741cfe35314","tags":["Patch"]}]}}