CVE-2021-22563
JSON

4.5medium

Memory Overread in libjxl

Severity
4.5medium CVSS:3.1 by Google
Exploit likelihood
0.31% (higher than 25% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Google

Description

Invalid JPEG XL images using libjxl can cause an out of bounds access on a std::vector<std::vector<T>> when rendering splines. The OOB read access can either lead to a segfault, or rendering splines based on other process memory. It is recommended to upgrade past 0.6.0 or patch with https://github.com/libjxl/libjxl/pull/757

Affected

Product or packageVersionsReported by
Google LLC libjxlfrom unspecified up to 0.6.0CVE List
libjxl_project libjxlbefore 0.6.0NVD

All scores

Google4.5medium CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
NVD4.4medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
NVD3.6low CVSS:2.0AV:L/AC:L/Au:N/C:N/I:P/A:P

Classification

What each source says

CVE List

Invalid JPEG XL images using libjxl can cause an out of bounds access on a std::vector<std::vector<T>> when rendering splines. The OOB read access can either lead to a segfault, or rendering splines based on other process memory. It is recommended to upgrade past 0.6.0 or patch with https://github.com/libjxl/libjxl/pull/757

NVD (es)

Las imágenes JPEG XL no válidas que usan libjxl pueden causar un acceso fuera de límites en un std::vector&gt; cuando se renderizan splines. El acceso de lectura OOB puede conllevar a un segfault, o renderizar splines basados en la memoria de otro proceso. Se recomienda actualizar a partir de la versión 0.6.0 o parchear con https://github.com/libjxl/libjxl/pull/757

References

https://github.com/libjxl/libjxl/issues/735exploit, issue-tracking, patch, third-party-advisory
https://github.com/libjxl/libjxl/pull/757patch, third-party-advisory

Sources

SourceRecordLicence
CVE ListCVE-2021-22563 changed 2024-09-17CVE Terms of Use
NVDCVE-2021-22563 changed 2026-06-17Public domain