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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.34% (percentile 20, 2026-11-26)
- **CWE:** CWE-125
- **Published:** 2024-10-29T00:50:16.263Z
- **Modified:** 2026-08-05T11:41:24.682Z

## Who should check

- Anyone running Linux \>= 166a0bddcc27de41fe13f861c8348e8e53e988c8, \< 8aadef73ba3b325704ed5cfc4696a25c350182cf; \>= 47b3dce100778001cd76f7e9188944b5cb27a76d, \< b0641e53e6cb937487b6cfb15772374f0ba149b3; \>= a44f88f7576bc1916d8d6293f5c62fbe7cbe03e0, \< 1826b6d69bbb7f9ae8711827facbb2ad7f8d0aaa; \>= c719b393374d3763e64900ee19aaed767d5a08d6, \< 440311903231c6e6c9bcf8acb6a2885a422e00bc; \>= 7f4da759092a1a6ce35fb085182d02de8cc4cc84, \< fca048f222ce9dcbde5708ba2bf81d85a4a27952; \>= b579ea3516c371ecf59d073772bc45dfd28c8a0e, \< 66029078fee00646e2e9dbb8f41ff7819f8e7569; \>= ab11dac93d2d568d151b1918d7b84c2d02bacbd5, \< 2a8b26a09c8e3ea03da1ef3cd0ef6b96e559fba6; \>= ab11dac93d2d568d151b1918d7b84c2d02bacbd5, \< 02ac3a9ef3a18b58d8f3ea2b6e46de657bf6c4f9; 7789a1d6792af410aa9b39a1eb237ed24fa2170a; \>= 4.19.320, \< 4.19.323; …
- Anyone running Linux 6.11

## 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.

## Affected and fixed versions

- Linux: \>= 166a0bddcc27de41fe13f861c8348e8e53e988c8, \< 8aadef73ba3b325704ed5cfc4696a25c350182cf; \>= 47b3dce100778001cd76f7e9188944b5cb27a76d, \< b0641e53e6cb937487b6cfb15772374f0ba149b3; \>= a44f88f7576bc1916d8d6293f5c62fbe7cbe03e0, \< 1826b6d69bbb7f9ae8711827facbb2ad7f8d0aaa; \>= c719b393374d3763e64900ee19aaed767d5a08d6, \< 440311903231c6e6c9bcf8acb6a2885a422e00bc; \>= 7f4da759092a1a6ce35fb085182d02de8cc4cc84, \< fca048f222ce9dcbde5708ba2bf81d85a4a27952; \>= b579ea3516c371ecf59d073772bc45dfd28c8a0e, \< 66029078fee00646e2e9dbb8f41ff7819f8e7569; \>= ab11dac93d2d568d151b1918d7b84c2d02bacbd5, \< 2a8b26a09c8e3ea03da1ef3cd0ef6b96e559fba6; \>= ab11dac93d2d568d151b1918d7b84c2d02bacbd5, \< 02ac3a9ef3a18b58d8f3ea2b6e46de657bf6c4f9; 7789a1d6792af410aa9b39a1eb237ed24fa2170a; \>= 4.19.320, \< 4.19.323; … (cvelist)
- Linux: 6.11 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-50074. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-50074.md
Affected: Linux >= 166a0bddcc27de41fe13f861c8348e8e53e988c8, < 8aadef73ba3b325704ed5cfc4696a25c350182cf; >= 47b3dce100778001cd76f7e9188944b5cb27a76d, < b0641e53e6cb937487b6cfb15772374f0ba149b3; >= a44f88f7576bc1916d8d6293f5c62fbe7cbe03e0, < 1826b6d69bbb7f9ae8711827facbb2ad7f8d0aaa; >= c719b393374d3763e64900e…
Fixed in: Linux 8aadef73ba3b325704ed5cfc4696a25c350182cf, Linux 1826b6d69bbb7f9ae8711827facbb2ad7f8d0aaa, Linux 440311903231c6e6c9bcf8acb6a2885a422e00bc, Linux 66029078fee00646e2e9dbb8f41ff7819f8e7569, Linux 2a8b26a09c8e3ea03da1ef3cd0ef6b96e559fba6, Linux 02ac3a9ef3a18b58d8f3ea2b6e46de657bf6c4f9, Linux 4.19.…

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-50074 being exploited?

There is no confirmed exploitation: CVE-2024-50074 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.34% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-50074?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-50074?

Linux \>= 166a0bddcc27de41fe13f861c8348e8e53e988c8, \< 8aadef73ba3b325704ed5cfc4696a25c350182cf; \>= 47b3dce100778001cd76f7e9188944b5cb27a76d, \< b0641e53e6cb937487b6cfb15772374f0ba149b3; \>= a44f88f7576bc1916d8d6293f5c62fbe7cbe03e0, \< 1826b6d69bbb7f9ae8711827facbb2ad7f8d0aaa; \>= c719b393374d3763e64900ee19aaed767d5a08d6, \< 440311903231c6e6c9bcf8acb6a2885a422e00bc; \>= 7f4da759092a1a6ce35fb085182d02de8cc4cc84, \< fca048f222ce9dcbde5708ba2bf81d85a4a27952; \>= b579ea3516c371ecf59d073772bc45dfd28c8a0e, \< 66029078fee00646e2e9dbb8f41ff7819f8e7569; \>= ab11dac93d2d568d151b1918d7b84c2d02bacbd5, \< 2a8b26a09c8e3ea03da1ef3cd0ef6b96e559fba6; \>= ab11dac93d2d568d151b1918d7b84c2d02bacbd5, \< 02ac3a9ef3a18b58d8f3ea2b6e46de657bf6c4f9; 7789a1d6792af410aa9b39a1eb237ed24fa2170a; \>= 4.19.320, \< 4.19.323; …; Linux 6.11.

### Is there a fix for CVE-2024-50074?

Yes. Fixed in Linux 8aadef73ba3b325704ed5cfc4696a25c350182cf, Linux 1826b6d69bbb7f9ae8711827facbb2ad7f8d0aaa, Linux 440311903231c6e6c9bcf8acb6a2885a422e00bc, Linux 66029078fee00646e2e9dbb8f41ff7819f8e7569, Linux 2a8b26a09c8e3ea03da1ef3cd0ef6b96e559fba6, Linux 02ac3a9ef3a18b58d8f3ea2b6e46de657bf6c4f9, Linux 4.19.323. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-50074?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/1826b6d69bbb7f9ae8711827facbb2ad7f8d0aaa>
- patch: <https://git.kernel.org/stable/c/440311903231c6e6c9bcf8acb6a2885a422e00bc>
- patch: <https://git.kernel.org/stable/c/fca048f222ce9dcbde5708ba2bf81d85a4a27952>
- patch: <https://git.kernel.org/stable/c/66029078fee00646e2e9dbb8f41ff7819f8e7569>
- patch: <https://git.kernel.org/stable/c/2a8b26a09c8e3ea03da1ef3cd0ef6b96e559fba6>
- patch: <https://git.kernel.org/stable/c/02ac3a9ef3a18b58d8f3ea2b6e46de657bf6c4f9>
- other: <https://git.kernel.org/stable/c/8aadef73ba3b325704ed5cfc4696a25c350182cf>
- other: <https://git.kernel.org/stable/c/b0641e53e6cb937487b6cfb15772374f0ba149b3>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-50074>

HTML: <https://flawdb.com/CVE-2024-50074> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-50074>
