# CVE-2024-50074: parport: Proper fix for array out-of-bounds access

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-10-29 · Modified: 2026-08-05
- Aliases: UBUNTU-CVE-2024-50074, DEBIAN-CVE-2024-50074
- Record: https://cvemate.com/vulnerability/CVE-2024-50074 · JSON: https://cvemate.com/vulnerability/CVE-2024-50074/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.24%, percentile 16.094%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 133)

- debian linux (Debian): \< 6.1.115-1 \| \< 6.11.5-1
- ubuntu linux (Ubuntu): \< 5.4.0-208.228 \| \< 5.15.0-133.144 \| \< 6.8.0-56.58
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 5.4.0-1140.150 \| \< 5.15.0-1078.85 \| \< 6.8.0-1025.27
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1080.87~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1142.152~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1027.29~22.04.1
- ubuntu linux-aws-fips (Ubuntu): \< 5.4.0-1140.151+fips1 \| \< 5.15.0-1078.85+fips1
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-1145.152 \| \< 5.15.0-1081.90 \| \< 6.8.0-1025.30
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.15 (Ubuntu): \< 5.15.0-1081.90~20.04.1

## References (first 20 of 53)

- <https://git.kernel.org/stable/c/8aadef73ba3b325704ed5cfc4696a25c350182cf>
- <https://git.kernel.org/stable/c/b0641e53e6cb937487b6cfb15772374f0ba149b3>
- <https://git.kernel.org/stable/c/1826b6d69bbb7f9ae8711827facbb2ad7f8d0aaa>
- <https://git.kernel.org/stable/c/440311903231c6e6c9bcf8acb6a2885a422e00bc>
- <https://git.kernel.org/stable/c/fca048f222ce9dcbde5708ba2bf81d85a4a27952>
- <https://git.kernel.org/stable/c/66029078fee00646e2e9dbb8f41ff7819f8e7569>
- <https://git.kernel.org/stable/c/2a8b26a09c8e3ea03da1ef3cd0ef6b96e559fba6>
- <https://git.kernel.org/stable/c/02ac3a9ef3a18b58d8f3ea2b6e46de657bf6c4f9>
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- <https://ubuntu.com/security/CVE-2024-50074>
- <https://www.cve.org/CVERecord?id=CVE-2024-50074>
- <https://git.kernel.org/linus/02ac3a9ef3a18b58d8f3ea2b6e46de657bf6c4f9>
- <https://ubuntu.com/security/notices/USN-7276-1>
- <https://ubuntu.com/security/notices/USN-7277-1>
- <https://ubuntu.com/security/notices/USN-7288-1>
- <https://ubuntu.com/security/notices/USN-7289-1>
- <https://ubuntu.com/security/notices/USN-7291-1>
- <https://ubuntu.com/security/notices/USN-7288-2>
- <https://ubuntu.com/security/notices/USN-7289-2>

---

Data as of 2026-12-05T04:44:43.252Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
