# CVE-2022-31796

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-05-29 · Modified: 2024-08-03
- Aliases: UBUNTU-CVE-2022-31796, DEBIAN-CVE-2022-31796
- Record: https://cvemate.com/vulnerability/CVE-2022-31796 · JSON: https://cvemate.com/vulnerability/CVE-2022-31796/json

## Description

```text
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.
```

## Signals

- CVSS: 6.5 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- EPSS: 0.939%, percentile 62.108%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian libjpeg (Debian): \< 0.0~git20220615.842c7ba-1
- ubuntu libjpeg (Ubuntu): All versions (No fix recorded)
- jpeg libjpeg: 1.63

## References

- <https://github.com/thorfdbg/libjpeg/issues/71>
- <https://github.com/thorfdbg/libjpeg/commit/187035b9726710b4fe11d565c7808975c930895d>
- <https://ubuntu.com/security/CVE-2022-31796>
- <https://www.cve.org/CVERecord?id=CVE-2022-31796>
- <https://security-tracker.debian.org/tracker/CVE-2022-31796>

---

Data as of 2026-12-05T05:31:30.417Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
