CVE-2022-31620 Denial of service in n/a
An out-of-bounds array access in libjpeg can cause an assertion failure and denial of service when processing specific JPEG scans.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2022-31620?
CVE-2022-31620 is a medium-severity denial of service vulnerability in n/a, published on 25 May 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
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.
Weakness: CWE-617
Which versions are affected by CVE-2022-31620?
It affects 1 product.
Products include Libjpeg Project Libjpeg.
How do I fix CVE-2022-31620?
Upgrade to a fixed version.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2022-31620 being exploited?
There is no known exploitation of CVE-2022-31620 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2022-31620, GHSA-62v2-wx44-h68c, UBUNTU-CVE-2022-31620.