{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-50156","published":"2025-06-18T11:15:45.747000Z","last_modified":"2026-08-04T10:18:06.150000Z","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":"4.15.1","version_end_excluding":"4.19.256"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"4.20","version_end_excluding":"5.4.211"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.5","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"},{"criteria":"cpe:2.3:o:linux:linux_kernel:4.15:-:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"4.15"},{"criteria":"cpe:2.3:o:linux:linux_kernel:4.15:rc6:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"4.15"},{"criteria":"cpe:2.3:o:linux:linux_kernel:4.15:rc7:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"4.15"},{"criteria":"cpe:2.3:o:linux:linux_kernel:4.15:rc8:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"4.15"},{"criteria":"cpe:2.3:o:linux:linux_kernel:4.15:rc9:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"4.15"}],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux_kernel"],"epss":{"score":0.00327,"percentile":0.18342,"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-50156/","html_en":"/en/cve/CVE-2022-50156/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-50156","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-50156"},"untrusted":{"vendor_name":"Linux","product_name":"Linux Kernel","desc_en":"In the Linux kernel, the following vulnerability has been resolved:\n\nHID: cp2112: prevent a buffer overflow in cp2112_xfer()\n\nSmatch warnings:\ndrivers/hid/hid-cp2112.c:793 cp2112_xfer() error: __memcpy()\n'data->block[1]' too small (33 vs 255)\ndrivers/hid/hid-cp2112.c:793 cp2112_xfer() error: __memcpy() 'buf' too\nsmall (64 vs 255)\n\nThe 'read_length' variable is provided by 'data->block[0]' which comes\nfrom user and it(read_length) can take a value between 0-255. Add an\nupper bound to 'read_length' variable to prevent a buffer overflow in\nmemcpy().","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/26e427ac85c2b8d0d108cc80b6de34d33e2780c4","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/381583845d19cb4bd21c8193449385f3fefa9caf","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/3af7d60e9a6c17d6d41c4341f8020511887d372d","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/519ff31a6ddd87aa4905bd9bf3b92e8b88801614","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/8489a20ac481b08c0391608d81ed3796d373cfdf","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/e7028944e61014ae915e7fb74963d3835f2f761a","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/ebda3d6b004bb6127a66a616524a2de152302ca7","tags":["Patch"]}]}}