CVE-2022-31796: Medium severity ijg libjpeg vulnerability

Published May 29, 2022
·
Updated

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 Software

1 affected component
jpeg libjpeg=1.63

Event History

May 29, 2022
CVE Published
via MITRE·04:37 PM
Data Sourced
via MITRE·04:37 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2022-31796?

CVE-2022-31796 is rated as a moderate severity vulnerability due to the potential for heap-based buffer over-read which could lead to information leak.

2

How do I fix CVE-2022-31796?

To fix CVE-2022-31796, upgrade libjpeg to version 1.63 or later where the vulnerability has been addressed.

3

What causes CVE-2022-31796?

CVE-2022-31796 is caused by a heap-based buffer over-read in the HierarchicalBitmapRequester::FetchRegion function due to discrepancies in MCU size between allocation and usage.

4

Which software versions are affected by CVE-2022-31796?

CVE-2022-31796 specifically affects libjpeg version 1.63.

5

Is CVE-2022-31796 exploitable in the wild?

There is currently no public evidence indicating that CVE-2022-31796 is actively exploited in the wild, but it is recommended to apply the fix promptly.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203