{"id":"CVE-2024-50074","published":"2024-10-29T00:50:16Z","modified":"2026-08-05T11:41:24Z","title":"parport: Proper fix for array out-of-bounds access","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nparport: Proper fix for array out-of-bounds access\n\nThe recent fix for array out-of-bounds accesses replaced sprintf()\ncalls blindly with snprintf().  However, since snprintf() returns the\nwould-be-printed size, not the actually output size, the length\ncalculation can still go over the given limit.\n\nUse scnprintf() instead of snprintf(), which returns the actually\noutput letters, for addressing the potential out-of-bounds access\nproperly.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0024,"percentile":0.15172,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/8aadef73ba3b325704ed5cfc4696a25c350182cf","tags":[]},{"url":"https://git.kernel.org/stable/c/b0641e53e6cb937487b6cfb15772374f0ba149b3","tags":[]},{"url":"https://git.kernel.org/stable/c/1826b6d69bbb7f9ae8711827facbb2ad7f8d0aaa","tags":[]},{"url":"https://git.kernel.org/stable/c/440311903231c6e6c9bcf8acb6a2885a422e00bc","tags":[]},{"url":"https://git.kernel.org/stable/c/fca048f222ce9dcbde5708ba2bf81d85a4a27952","tags":[]},{"url":"https://git.kernel.org/stable/c/66029078fee00646e2e9dbb8f41ff7819f8e7569","tags":[]},{"url":"https://git.kernel.org/stable/c/2a8b26a09c8e3ea03da1ef3cd0ef6b96e559fba6","tags":[]},{"url":"https://git.kernel.org/stable/c/02ac3a9ef3a18b58d8f3ea2b6e46de657bf6c4f9","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[]}],"priority":{"score":8.5,"factors":[{"name":"EPSS percentile","points":3.03},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 166a0bddcc27de41fe13f861c8348e8e53e988c8, < 8aadef73ba3b325704ed5cfc4696a25c350182cf",">= 47b3dce100778001cd76f7e9188944b5cb27a76d, < b0641e53e6cb937487b6cfb15772374f0ba149b3",">= a44f88f7576bc1916d8d6293f5c62fbe7cbe03e0, < 1826b6d69bbb7f9ae8711827facbb2ad7f8d0aaa",">= c719b393374d3763e64900ee19aaed767d5a08d6, < 440311903231c6e6c9bcf8acb6a2885a422e00bc",">= 7f4da759092a1a6ce35fb085182d02de8cc4cc84, < fca048f222ce9dcbde5708ba2bf81d85a4a27952",">= b579ea3516c371ecf59d073772bc45dfd28c8a0e, < 66029078fee00646e2e9dbb8f41ff7819f8e7569",">= ab11dac93d2d568d151b1918d7b84c2d02bacbd5, < 2a8b26a09c8e3ea03da1ef3cd0ef6b96e559fba6",">= ab11dac93d2d568d151b1918d7b84c2d02bacbd5, < 02ac3a9ef3a18b58d8f3ea2b6e46de657bf6c4f9","7789a1d6792af410aa9b39a1eb237ed24fa2170a",">= 4.19.320, < 4.19.323"]},{"vendor":"Linux","product":"Linux","versions":["6.11"]}],"euvd":{"id":"EUVD-2024-44748","exploited":false,"provenance":"source"}}