CWE
787 119 122
Advisory Published
CVE Published
Updated

CVE-2023-2804: Buffer Overflow

First published: Sun Mar 26 2023(Updated: )

A heap-based buffer overflow issue was discovered in libjpeg-turbo in h2v2_merged_upsample_internal() function of jdmrgext.c file. The vulnerability can only be exploited with 12-bit data precision for which the range of the sample data type exceeds the valid sample range, hence, an attacker could craft a 12-bit lossless JPEG image that contains out-of-range 12-bit samples. An application attempting to decompress such image using merged upsampling would lead to segmentation fault or buffer overflows, causing an application to crash.

Credit: secalert@redhat.com secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
Libjpeg-turbo Libjpeg-turbo<2.1.91
Libjpeg-turbo Libjpeg-turbo=2.1.90
redhat/libjpeg-turbo<3.0
3.0

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 vulnerability ID for this issue?

    The vulnerability ID for this issue is CVE-2023-2804.

  • What is the severity of CVE-2023-2804?

    The severity of CVE-2023-2804 is medium with a severity value of 6.5.

  • Which software is affected by CVE-2023-2804?

    Libjpeg-turbo versions up to 2.1.91 and 2.1.90, as well as version 3.0, are affected by CVE-2023-2804.

  • What is the description of CVE-2023-2804?

    CVE-2023-2804 is a heap-based buffer overflow issue in libjpeg-turbo, specifically in the h2v2_merged_upsample_internal() function in the jdmrgext.c file.

  • How can an attacker exploit CVE-2023-2804?

    An attacker can exploit CVE-2023-2804 by using 12-bit data precision, causing the range of the sample data type to exceed the valid sample range.

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