CVE-2022-31796 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.
MediumCVSS 6.5
EPSS 0.94%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
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.
Upgrade path
10 packages: 3 fixed, 6 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/libjpeg(Ubuntu 20.04) | = 0.0~git20190821.87636f3b26b4-1; = 0.0~git20190821.87636f3b26b4-1.1; All versions | No fix listed | No fix yet |
| ubuntu/libjpeg(Ubuntu 22.04) | = 0.0~git20210129.91985dc-1build1; = 0.0~git20210908.58455ca-1; = 0.0~git20211115.76133b7-1; = 0.0~git20211203.966a8ed-1 +1 more | No fix listed | No fix yet |
| ubuntu/libjpeg(Ubuntu 24.04) | = 0.0~git20220805.54ec643-1; All versions | No fix listed | No fix yet |
| ubuntu/libjpeg(Ubuntu 25.10) | = 0.0~git20241105.c719010-1; All versions | No fix listed | No fix yet |
| ubuntu/libjpeg(Ubuntu 26.04) | = 0.0~git20241105.c719010-1; = 0.0~git20250815.25f7128-1; = 0.0~git20250815.25f7128-2; All versions | No fix listed | No fix yet |
| ubuntu/libjpeg(Ubuntu 26.10) | = 0.0~git20250815.25f7128-2; = 0.0~git20250815.25f7128-3; All versions | No fix listed | No fix yet |
| debian/libjpeg(Debian 12) | < 0.0~git20220615.842c7ba-1 | 0.0~git20220615.842c7ba-1 | Fixed |
| debian/libjpeg(Debian 13) | < 0.0~git20220615.842c7ba-1 | 0.0~git20220615.842c7ba-1 | Fixed |
| debian/libjpeg(Debian 14) | < 0.0~git20220615.842c7ba-1 | 0.0~git20220615.842c7ba-1 | Fixed |
| jpeg libjpeg | = 1.63 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/libjpeg(Ubuntu:22.04) | All versions | No fix listed |
| jpeg libjpeg | = 1.63 | No fix listed |
| ubuntu/libjpeg(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/libjpeg(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/libjpeg(Ubuntu:26.10) | All versions | No fix listed |
| debian/libjpeg(Debian:12) | < 0.0~git20220615.842c7ba-1 | 0.0~git20220615.842c7ba-1 |
| debian/libjpeg(Debian:14) | < 0.0~git20220615.842c7ba-1 | 0.0~git20220615.842c7ba-1 |
| debian/libjpeg(Debian:13) | < 0.0~git20220615.842c7ba-1 | 0.0~git20220615.842c7ba-1 |
| ubuntu/libjpeg(Ubuntu:20.04) | All versions | No fix listed |
| ubuntu/libjpeg(Ubuntu:20.04) | = 0.0~git20190821.87636f3b26b4-1 | No fix listed |
| ubuntu/libjpeg(Ubuntu:20.04) | = 0.0~git20190821.87636f3b26b4-1.1 | No fix listed |
| ubuntu/libjpeg(Ubuntu:22.04) | = 0.0~git20210129.91985dc-1build1 | No fix listed |
| ubuntu/libjpeg(Ubuntu:22.04) | = 0.0~git20210908.58455ca-1 | No fix listed |
| ubuntu/libjpeg(Ubuntu:22.04) | = 0.0~git20211115.76133b7-1 | No fix listed |
| ubuntu/libjpeg(Ubuntu:22.04) | = 0.0~git20211203.966a8ed-1 | No fix listed |
| ubuntu/libjpeg(Ubuntu:24.04) | = 0.0~git20220805.54ec643-1 | No fix listed |
| ubuntu/libjpeg(Ubuntu:25.10) | All versions | No fix listed |
| ubuntu/libjpeg(Ubuntu:25.10) | = 0.0~git20241105.c719010-1 | No fix listed |
| ubuntu/libjpeg(Ubuntu:26.10) | = 0.0~git20250815.25f7128-2 | No fix listed |
| ubuntu/libjpeg(Ubuntu:26.10) | = 0.0~git20250815.25f7128-3 | No fix listed |
| ubuntu/libjpeg(Ubuntu:26.04) | = 0.0~git20241105.c719010-1 | No fix listed |
| ubuntu/libjpeg(Ubuntu:26.04) | = 0.0~git20250815.25f7128-1 | No fix listed |
| ubuntu/libjpeg(Ubuntu:26.04) | = 0.0~git20250815.25f7128-2 | No fix listed |
References
- Debian Security Tracker CVE-2022-31796 vendor-advisory
- github.com third-party-advisory
- github.com patch third-party-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- www.cve.org issue-tracking