# CVE-2021-22563: Memory Overread in libjxl

- Severity: Medium 4.5 (CVSS:3.1, scored by Google) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L`
- 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.31%, higher than 25% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-11-01T13:10:13.942Z
- Modified: 2026-06-17T03:37:25.953Z
- Weaknesses: CWE-125, CWE-126
- 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

(As written by CVE List.)

## Affected

- Google LLC libjxl: from unspecified up to 0.6.0
- libjxl_project libjxl: before 0.6.0

## Every score

- Google: CVSS:3.1 4.5 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L`
- NVD: CVSS:3.1 4.4 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L`
- NVD: CVSS:2.0 3.6 Low `AV:L/AC:L/Au:N/C:N/I:P/A:P`

## 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

- CVE List: [CVE-2021-22563](https://www.cve.org/CVERecord?id=CVE-2021-22563), CVE Terms of Use, modified 2024-09-17
- NVD: [CVE-2021-22563](https://nvd.nist.gov/vuln/detail/CVE-2021-22563), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-22563 · Whole record: https://cve.day/CVE-2021-22563.json · Rebuilt by cve.day 2026-11-25T22:58:05.289Z
