CWE
125
Advisory Published
Updated

CVE-2022-31796

First published: Sun 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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
IJG libjpeg=1.63

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • 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.

  • 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.

  • 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.

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

    CVE-2022-31796 specifically affects libjpeg version 1.63.

  • 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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203