# CVE-2021-36692: libjxl v0.3.7 is affected by a Divide By Zero in issue in lib/extras/codecapng.cc jxl::DecodeImageAPNG().

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/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): 1.22%, higher than 69% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-08-30T20:14:39.000Z
- Modified: 2026-06-17T03:59:00.660Z
- Weaknesses: CWE-369
- Assigned by: mitre

## Description

libjxl v0.3.7 is affected by a Divide By Zero in issue in lib/extras/codec_apng.cc jxl::DecodeImageAPNG(). When encoding a malicous APNG file using cjxl, an attacker can trigger a denial of service.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- libjxl_project libjxl: 0.3.7

## Every score

- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:N/A:P`

## References

- <https://github.com/libjxl/libjxl/issues/308> (exploit, issue-tracking, third-party-advisory)
- <https://github.com/libjxl/libjxl/pull/313> (patch, third-party-advisory)
- <https://github.com/libjxl/libjxl/commit/7dfa400ded53919d986c5d3d23446a09e0cf481b> (patch, third-party-advisory)

## Sources

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

---

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