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.
{
"extracted_events": [
{
"introduced": "0.3.7"
},
{
"last_affected": "0.3.7"
}
],
"source": [
"CPE_STRING",
"REFERENCES"
],
"cpe": "cpe:2.3:a:libjxl_project:libjxl:0.3.7:*:*:*:*:*:*:*"
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-36692.json"
[
{
"target": {
"file": "lib/extras/codec_apng.cc"
},
"deprecated": false,
"source": "https://github.com/libjxl/libjxl/commit/7dfa400ded53919d986c5d3d23446a09e0cf481b",
"id": "CVE-2021-36692-13120598",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"218996673675454636206971500351580687935",
"289713015421704113962406939315262015326",
"151492106284367248620221020173088946544"
]
},
"signature_type": "Line"
},
{
"target": {
"function": "DecodeImageAPNG",
"file": "lib/extras/codec_apng.cc"
},
"deprecated": false,
"source": "https://github.com/libjxl/libjxl/commit/7dfa400ded53919d986c5d3d23446a09e0cf481b",
"id": "CVE-2021-36692-77f02abb",
"signature_version": "v1",
"digest": {
"length": 5308.0,
"function_hash": "83732117007404789023064002931192555137"
},
"signature_type": "Function"
}
]
"2026-08-07T17:27:44Z"