libjpeg 1.63 has a heap-based buffer over-read in HierarchicalBitmapRequester::FetchRegion in hierarchicalbitmaprequester.cpp because the MCU size can be different between allocation and use.
{
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31796.json"
}"2026-07-23T08:25:05Z"
[
{
"target": {
"function": "HierarchicalBitmapRequester::PrepareForDecoding",
"file": "control/hierarchicalbitmaprequester.cpp"
},
"id": "CVE-2022-31796-8bccecfc",
"digest": {
"function_hash": "119444156195613824511099033342764519263",
"length": 967.0
},
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"source": "https://github.com/thorfdbg/libjpeg/commit/187035b9726710b4fe11d565c7808975c930895d"
},
{
"target": {
"file": "control/hierarchicalbitmaprequester.cpp"
},
"id": "CVE-2022-31796-a8404c91",
"digest": {
"line_hashes": [
"275194022272869071068134012543535481483",
"268265372830608522807979456787937917286",
"262621107754778797773294723602385097369",
"294690950030755224121112201988537691422"
],
"threshold": 0.9
},
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"source": "https://github.com/thorfdbg/libjpeg/commit/187035b9726710b4fe11d565c7808975c930895d"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-31796.json"