# CVE-2024-53061: media: s5p-jpeg: prevent buffer overflows

- Severity: High 7.3 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 25% of CVEs (2026-12-01)
- Published: 2024-11-19T17:22:32.189Z
- Modified: 2026-08-05T11:43:24.079Z
- Weaknesses: CWE-191
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

media: s5p-jpeg: prevent buffer overflows

The current logic allows word to be less than 2. If this happens,
there will be buffer overflows, as reported by smatch. Add extra
checks to prevent it.

While here, remove an unused word = 0 assignment.

(As written by CVE List.)

## Affected

- Linux Linux: from 6c96dbbc2aa9f5b4aed8792989d69eae22bf77c4 before c5f6fefcda8fac8f082b6c5bf416567f4e100c51; from 6c96dbbc2aa9f5b4aed8792989d69eae22bf77c4 before e5117f6e7adcf9fd7546cdd0edc9abe4474bc98b; from 6c96dbbc2aa9f5b4aed8792989d69eae22bf77c4 before f54e8e1e39dacccebcfb9a9a36f0552a0a97e2ef; from 6c96dbbc2aa9f5b4aed8792989d69eae22bf77c4 before a930cddfd153b5d4401df0c01effa14c831ff21e; from 6c96dbbc2aa9f5b4aed8792989d69eae22bf77c4 before c85db2d4432de4ff9d97006691ce2dcb5bda660e; from 6c96dbbc2aa9f5b4aed8792989d69eae22bf77c4 before 784bc785a453eb2f8433dd62075befdfa1b2d6fd; from 6c96dbbc2aa9f5b4aed8792989d69eae22bf77c4 before c951a0859fdacf49a2298b5551a7e52b95ff6f51; from 6c96dbbc2aa9f5b4aed8792989d69eae22bf77c4 before 14a22762c3daeac59a5a534e124acbb4d7a79b3a; 4.4 (not affected: before 4.4; from 4.19.324 up to 4.19.*; from 5.4.286 up to 5.4.*; from 5.10.230 up to 5.10.*; from 5.15.172 up to 5.15.*; from 6.1.117 up to 6.1.*; from 6.6.61 up to 6.6.*; from 6.11.8 up to 6.11.*; from 6.12 up to *)
- linux linux_kernel: from 4.4 before 4.19.324; from 4.20 before 5.4.286; from 5.5 before 5.10.230; from 5.11 before 5.15.172; from 5.16 before 6.1.117; from 6.2 before 6.6.61; from 6.7 before 6.11.8; 6.12

## Every score

- Linux: CVSS:3.1 7.3 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H`
- CISA-ADP: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/c5f6fefcda8fac8f082b6c5bf416567f4e100c51> (patch)
- <https://git.kernel.org/stable/c/e5117f6e7adcf9fd7546cdd0edc9abe4474bc98b> (patch)
- <https://git.kernel.org/stable/c/f54e8e1e39dacccebcfb9a9a36f0552a0a97e2ef> (patch)
- <https://git.kernel.org/stable/c/a930cddfd153b5d4401df0c01effa14c831ff21e> (patch)
- <https://git.kernel.org/stable/c/c85db2d4432de4ff9d97006691ce2dcb5bda660e> (patch)
- <https://git.kernel.org/stable/c/784bc785a453eb2f8433dd62075befdfa1b2d6fd> (patch)
- <https://git.kernel.org/stable/c/c951a0859fdacf49a2298b5551a7e52b95ff6f51> (patch)
- <https://git.kernel.org/stable/c/14a22762c3daeac59a5a534e124acbb4d7a79b3a> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Sources

- CVE List: [CVE-2024-53061](https://www.cve.org/CVERecord?id=CVE-2024-53061), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-53061](https://nvd.nist.gov/vuln/detail/CVE-2024-53061), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-53061 · Whole record: https://cve.day/CVE-2024-53061.json · Rebuilt by cve.day 2026-11-25T22:58:48.796Z
