Vulnerability

CVE-2024-50074

highCVSS 3.1 7.8Published 29 Oct 2024

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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 products

From the NVD's configuration data (CPE), vendor first.

  • Linux linux kernel
  • Red Hat enterprise linux

Weakness type

References

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning