High severity · published Oct 29, 2024
CVE-2024-50074
parport: Proper fix for array out-of-bounds access
7.8
CVSS
0.2%
EPSS
No
On KEV
Description
In the Linux kernel, the following vulnerability has been resolved:
parport: Proper fix for array out-of-bounds access
The recent fix for array out-of-bounds accesses replaced sprintf()
calls blindly with snprintf(). However, since snprintf() returns the
would-be-printed size, not the actually output size, the length
calculation can still go over the given limit.
Use scnprintf() instead of snprintf(), which returns the actually
output letters, for addressing the potential out-of-bounds access
properly.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 15% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
KE
Kernel · Linux
5.10.224 before 5.10.228; 5.11 before 5.15.169; 5.16 before 6.1.114; 6.2 before 6.6.58; 6.7 before 6.11.5; 6.12; +2 more · source: NVD
LI
Linux · Linux
166a0bddcc27de41fe13f861c8348e8e53e988c8 before 8aadef73ba3b325704ed5cfc4696a25c350182cf; 47b3dce100778001cd76f7e9188944b5cb27a76d before b0641e53e6cb937487b6cfb15772374f0ba149b3; a44f88f7576bc1916d8d6293f5c62fbe7cbe03e0 before 1826b6d69bbb7f9ae8711827facbb2ad7f8d0aaa; c719b393374d3763e64900ee19aaed767d5a08d6 before 440311903231c6e6c9bcf8acb6a2885a422e00bc; 7f4da759092a1a6ce35fb085182d02de8cc4cc84 before fca048f222ce9dcbde5708ba2bf81d85a4a27952; b579ea3516c371ecf59d073772bc45dfd28c8a0e before 66029078fee00646e2e9dbb8f41ff7819f8e7569; +11 more · source: vendor
EL
Enterprise Linux · Redhat
8.0; 9.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-50074
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-50074
Patch
https://git.kernel.org/stable/c/02ac3a9ef3a18b58d8f3ea2b6e46de657bf6c4f9
Patch
https://git.kernel.org/stable/c/1826b6d69bbb7f9ae8711827facbb2ad7f8d0aaa
Patch
https://git.kernel.org/stable/c/2a8b26a09c8e3ea03da1ef3cd0ef6b96e559fba6
Patch
https://git.kernel.org/stable/c/440311903231c6e6c9bcf8acb6a2885a422e00bc
Patch
https://git.kernel.org/stable/c/66029078fee00646e2e9dbb8f41ff7819f8e7569
git.kernel.org
https://git.kernel.org/stable/c/8aadef73ba3b325704ed5cfc4696a25c350182cf
More from Kernel
9.8
CVE-2025-39682
tls: fix handling of zero-length records on the rx_list
8.8
CVE-2026-53266
netfilter: bridge: make ebt_snat ARP rewrite writable
8.8
CVE-2013-6282
Linux Kernel Improper Input Validation Vulnerability
8.4
CVE-2022-0185
Linux Kernel Heap-Based Buffer Overflow Vulnerability
8.4
CVE-2013-2094
Linux Kernel Privilege Escalation Vulnerability
