Vulnerability · Published May 25, 2022 · Assigned by mitre
CVE-2022-31620
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 1.4% (higher than 73% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)6.5Medium
Exploit odds (30 days)1.4%top 26.9% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
In libjpeg before 1.64, BitStream<false>::Get in bitstream.hpp has an assertion failure that may cause denial of service. This is related to out-of-bounds array access during arithmetically coded lossless scan or arithmetically coded sequential scan.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | libjpeg | 0.0~git20220615.842c7ba-1 | DEBIAN-CVE-2022-31620 |
| Debian:13 | libjpeg | 0.0~git20220615.842c7ba-1 | DEBIAN-CVE-2022-31620 |
| Debian:14 | libjpeg | 0.0~git20220615.842c7ba-1 | DEBIAN-CVE-2022-31620 |
| Ubuntu:22.04:LTS | libjpeg | no fix listed | UBUNTU-CVE-2022-31620 |
| Ubuntu:24.04:LTS | libjpeg | no fix listed | UBUNTU-CVE-2022-31620 |
| Ubuntu:25.10 | libjpeg | no fix listed | UBUNTU-CVE-2022-31620 |
| Ubuntu:26.04:LTS | libjpeg | no fix listed | UBUNTU-CVE-2022-31620 |
| Ubuntu:26.10 | libjpeg | no fix listed | UBUNTU-CVE-2022-31620 |
Affected products (as reported)
References
- https://github.com/thorfdbg/libjpeg/issues/70 x_refsource_MISC
- https://github.com/thorfdbg/libjpeg/commit/ef4a29a62ab48b8dc235f4af52cfd6319eda9a6a x_refsource_MISC