CVE-2024-11403CWE-125CWE-787

Out of Bounds Memory Read/Write in libjxl

Medium · published November 25, 2024

CVSS v4.0
6.9
EPSS
1%
Percentile
49.6
In the wild
Unconfirmed
What it is

⚠️ An out-of-bounds read/write is lurking in LibJXL versions before commit 9cc451b91! It's like baking a cake without checking the recipe—mixing in ingredients that could spoil the whole batch! 🎂 Think of LibJXL as a restaurant kitchen that accepts any ingredients thrown at it, without checking if they’re fresh or safe. A guest could inadvertently cause the chef to grab spoiled items, leading to a disastrous meal—or in tech terms, a system crash! If exploited, this vulnerability could lead to memory corruption, which allows attackers to read uninitialized memory or, even worse, control flow to functions they shouldn't access. Although not actively exploited, getting caught in this scenario could leave your data vulnerable and your applications acting unpredictably, which is absolutely not what you want!

Put simply

Think of LibJXL as a restaurant kitchen that accepts any ingredients thrown at it, without checking if they’re fresh or safe. A guest could inadvertently cause the chef to grab spoiled items, leading to a disastrous meal—or in tech terms, a system crash! This vulnerability stems from inadequate boundary checks in the JPEG decoder of the LibJXL library when handling untrusted input, allowing for out-of-bounds writes. The related jpegli component also suffers from similar issues due to assumptions about memory layout, enabling potential unauthorized memory access.

What to do

If exploited, this vulnerability could lead to memory corruption, which allows attackers to read uninitialized memory or, even worse, control flow to functions they shouldn't access. Although not actively exploited, getting caught in this scenario could leave your data vulnerable and your applications acting unpredictably, which is absolutely not what you want! To secure your systems, make sure to update LibJXL to the latest version post-commit 9cc451b91. Conduct a thorough audit of all JPEG handling functionalities and apply defensive coding practices to validate input data securely. 🛡️ You've got this! Fixing this vulnerability will help keep your systems safe and sound. 🚀💪

The record
Technical detail
CVSS v4.0
6.9 · MEDIUM
Vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:P/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N
EPSS
0.00631 · 49.6th percentile
Weaknesses
CWE-125 · Out-of-bounds Read; CWE-787 · Out-of-bounds Write
Published
2024-11-25T13:08Z
EPSS history
Timeline
  • 25 NOV 13:08Z
    Out of Bounds Memory Read/Write in libjxl
    cvelistv5