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
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 package | Versions | Reported by |
|---|---|---|
| Google LLC libjxl | from unspecified up to 0.6.0 | CVE List |
| libjxl_project libjxl | before 0.6.0 | NVD |
All scores
| 4.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L | |
| NVD | 4.4medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L |
| NVD | 3.6low CVSS:2.0 | AV: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> 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/735 | exploit, issue-tracking, patch, third-party-advisory | |
| https://github.com/libjxl/libjxl/pull/757 | patch, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-22563 changed 2024-09-17 | CVE Terms of Use |
| NVD | CVE-2021-22563 changed 2026-06-17 | Public domain |