CVE-2021-36692

Source
https://cve.org/CVERecord?id=CVE-2021-36692
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-36692.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-36692
Published
2021-08-30T21:15:09Z
Modified
2026-08-07T17:27:44Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/libjxl/libjxl

Affected ranges

Type
GIT
Repo
https://github.com/libjxl/libjxl
Events
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:libjxl_project:libjxl:0.3.7:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "0.3.7"
        },
        {
            "last_affected":  "0.3.7"
        }
    ],
    "source":  [
        "CPE_STRING",
        "REFERENCES"
    ]
}

Affected versions

0.*
0.3.7
v0.*
v0.3.7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-36692.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "218996673675454636206971500351580687935",
                "289713015421704113962406939315262015326",
                "151492106284367248620221020173088946544"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2021-36692-13120598",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/libjxl/libjxl/commit/7dfa400ded53919d986c5d3d23446a09e0cf481b",
        "target":  {
            "file":  "lib/extras/codec_apng.cc"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "83732117007404789023064002931192555137",
            "length":  5308
        },
        "id":  "CVE-2021-36692-77f02abb",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/libjxl/libjxl/commit/7dfa400ded53919d986c5d3d23446a09e0cf481b",
        "target":  {
            "file":  "lib/extras/codec_apng.cc",
            "function":  "DecodeImageAPNG"
        }
    }
]
vanir_signatures_modified
"2026-08-07T17:27:44Z"