{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-50074","id":"CVE-2024-50074","title":"parport: Proper fix for array out-of-bounds access","description":"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 snp","descriptionLong":"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.","published":"2024-10-29T00:50:16.263Z","updated":"2026-11-17T07:01:46.836874576Z","reserved":"2024-10-21T19:36:19.940Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"166a0bddcc27de41fe13f861c8348e8e53e988c8","lessThan":"8aadef73ba3b325704ed5cfc4696a25c350182cf","status":"affected","versionType":"git"},{"version":"47b3dce100778001cd76f7e9188944b5cb27a76d","lessThan":"b0641e53e6cb937487b6cfb15772374f0ba149b3","status":"affected","versionType":"git"},{"version":"a44f88f7576bc1916d8d6293f5c62fbe7cbe03e0","lessThan":"1826b6d69bbb7f9ae8711827facbb2ad7f8d0aaa","status":"affected","versionType":"git"},{"version":"c719b393374d3763e64900ee19aaed767d5a08d6","lessThan":"440311903231c6e6c9bcf8acb6a2885a422e00bc","status":"affected","versionType":"git"},{"version":"7f4da759092a1a6ce35fb085182d02de8cc4cc84","lessThan":"fca048f222ce9dcbde5708ba2bf81d85a4a27952","status":"affected","versionType":"git"},{"version":"b579ea3516c371ecf59d073772bc45dfd28c8a0e","lessThan":"66029078fee00646e2e9dbb8f41ff7819f8e7569","status":"affected","versionType":"git"},{"version":"ab11dac93d2d568d151b1918d7b84c2d02bacbd5","lessThan":"2a8b26a09c8e3ea03da1ef3cd0ef6b96e559fba6","status":"affected","versionType":"git"},{"version":"ab11dac93d2d568d151b1918d7b84c2d02bacbd5","lessThan":"02ac3a9ef3a18b58d8f3ea2b6e46de657bf6c4f9","status":"affected","versionType":"git"},{"version":"7789a1d6792af410aa9b39a1eb237ed24fa2170a","status":"affected","versionType":"git"},{"version":"4.19.320","lessThan":"4.19.323","status":"affected","versionType":"semver"},{"version":"5.4.282","lessThan":"5.4.285","status":"affected","versionType":"semver"},{"version":"5.10.224","lessThan":"5.10.228","status":"affected","versionType":"semver"},{"version":"5.15.165","lessThan":"5.15.169","status":"affected","versionType":"semver"},{"version":"6.1.103","lessThan":"6.1.114","status":"affected","versionType":"semver"},{"version":"6.6.44","lessThan":"6.6.58","status":"affected","versionType":"semver"},{"version":"6.10.3","lessThan":"6.11","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.11","status":"affected"},{"version":"0","lessThan":"6.11","status":"unaffected","versionType":"semver"},{"version":"4.19.323","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.285","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.228","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.169","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.114","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.58","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.11.5","lessThanOrEqual":"6.11.*","status":"unaffected","versionType":"semver"},{"version":"6.12","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-125"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/8aadef73ba3b325704ed5cfc4696a25c350182cf","tags":["web"]},{"url":"https://git.kernel.org/stable/c/b0641e53e6cb937487b6cfb15772374f0ba149b3","tags":["web"]},{"url":"https://git.kernel.org/stable/c/1826b6d69bbb7f9ae8711827facbb2ad7f8d0aaa","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/440311903231c6e6c9bcf8acb6a2885a422e00bc","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/fca048f222ce9dcbde5708ba2bf81d85a4a27952","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/66029078fee00646e2e9dbb8f41ff7819f8e7569","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/2a8b26a09c8e3ea03da1ef3cd0ef6b96e559fba6","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/02ac3a9ef3a18b58d8f3ea2b6e46de657bf6c4f9","tags":["Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html","tags":["web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50074.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-50074","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.0024,"epssPercentile":0.15232,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-50074","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-50074","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-50074","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-50074","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}