CVE-2022-32978

Source
https://cve.org/CVERecord?id=CVE-2022-32978
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-32978.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-32978
Downstream
Published
2022-06-10T14:49:06Z
Modified
2026-07-23T08:25:05.549289Z
Summary
[none]
Details

There is an assertion failure in SingleComponentLSScan::ParseMCU in singlecomponentlsscan.cpp in libjpeg before 1.64 via an empty JPEG-LS scan.

Database specific
{
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "fixed": "1.64"
                }
            ],
            "source": "DESCRIPTION"
        }
    ],
    "cna_assigner": "mitre",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/32xxx/CVE-2022-32978.json"
}
References

Affected packages

Git / github.com/thorfdbg/libjpeg

Affected ranges

Type
GIT
Repo
https://github.com/thorfdbg/libjpeg
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "source": "REFERENCES"
}

Database specific

vanir_signatures_modified
"2026-07-23T08:25:05Z"
vanir_signatures
[
    {
        "signature_type": "Function",
        "deprecated": false,
        "digest": {
            "length": 2810.0,
            "function_hash": "163515957555476654476716648341094672251"
        },
        "signature_version": "v1",
        "source": "https://github.com/thorfdbg/libjpeg/commit/4746b577931e926a49e50de9720a4946de3069a7",
        "id": "CVE-2022-32978-55200ea4",
        "target": {
            "function": "SampleInterleavedLSScan::ParseMCU",
            "file": "codestream/sampleinterleavedlsscan.cpp"
        }
    },
    {
        "signature_type": "Function",
        "deprecated": false,
        "digest": {
            "length": 2328.0,
            "function_hash": "311285046678055315024752986528906340906"
        },
        "signature_version": "v1",
        "source": "https://github.com/thorfdbg/libjpeg/commit/4746b577931e926a49e50de9720a4946de3069a7",
        "id": "CVE-2022-32978-5689dc72",
        "target": {
            "function": "SingleComponentLSScan::ParseMCU",
            "file": "codestream/singlecomponentlsscan.cpp"
        }
    },
    {
        "signature_type": "Line",
        "deprecated": false,
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "280594311517971789971203805469285792835",
                "152281044020064936939215788550432439759",
                "262519431338909069941027999591901449611",
                "197514939160667512479996465199404682623",
                "198321237115231452784671131740169231885",
                "317299035883896088909785713870291028212",
                "321259370930290079189657963577302053983",
                "122386116870419651546625519921519775685"
            ]
        },
        "signature_version": "v1",
        "source": "https://github.com/thorfdbg/libjpeg/commit/4746b577931e926a49e50de9720a4946de3069a7",
        "id": "CVE-2022-32978-8798bcde",
        "target": {
            "file": "codestream/sampleinterleavedlsscan.cpp"
        }
    },
    {
        "signature_type": "Line",
        "deprecated": false,
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "279784259655055939818511820799877684835",
                "198321237115231452784671131740169231885",
                "133851965833139932519803887623922890079",
                "64937156121700232804210135073088639598",
                "236524264625233893874486566012351735951"
            ]
        },
        "signature_version": "v1",
        "source": "https://github.com/thorfdbg/libjpeg/commit/4746b577931e926a49e50de9720a4946de3069a7",
        "id": "CVE-2022-32978-b7b8509b",
        "target": {
            "file": "codestream/singlecomponentlsscan.cpp"
        }
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-32978.json"