Vulnerability · Published May 29, 2022 · Assigned by mitre

CVE-2022-31796

Medium 6.5

In plain English

A medium-severity security flaw in the libjpeg package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 61% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)6.5Medium
Exploit odds (30 days)0.9%top 38.9% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12libjpeg0.0~git20220615.842c7ba-1DEBIAN-CVE-2022-31796
Debian:13libjpeg0.0~git20220615.842c7ba-1DEBIAN-CVE-2022-31796
Debian:14libjpeg0.0~git20220615.842c7ba-1DEBIAN-CVE-2022-31796
Ubuntu:22.04:LTSlibjpegno fix listedUBUNTU-CVE-2022-31796
Ubuntu:24.04:LTSlibjpegno fix listedUBUNTU-CVE-2022-31796
Ubuntu:25.10libjpegno fix listedUBUNTU-CVE-2022-31796
Ubuntu:26.04:LTSlibjpegno fix listedUBUNTU-CVE-2022-31796
Ubuntu:26.10libjpegno fix listedUBUNTU-CVE-2022-31796

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References