CVE-2024-56827: Openjpeg: heap buffer overflow in lib/openjp2/j2k.c

Published Jan 1, 2025
·
Updated

A flaw was found in the OpenJPEG project. A heap buffer overflow condition may be triggered when certain options are specified while using the opjdecompress utility. This can lead to an application crash or other undefined behavior.

Other sources

This bug is triggered when we use opjdecompress with the -t option and its argument set to 1. The latest version v2.5.2 also has this vulnerability.

Reproducible: Always

Steps to Reproduce: see https://github.com/uclouvain/openjpeg/issues/1564

References: https://github.com/uclouvain/openjpeg/issues/1564 https://github.com/uclouvain/openjpeg/commit/e492644fbded4c820ca55b5e50e598d346e850e8

Red Hat

Affected Software

2 affected components
debian/openjpeg2<=2.4.0-3, <=2.5.0-2
OpenJPEG OpenJPEG

Event History

Jan 1, 2025
Data Sourced
via Red Hat·05:04 PM
DescriptionSeverityAffected Software
Jan 9, 2025
CVE Published
via MITRE·03:40 AM
Data Sourced
via MITRE·03:40 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:15 AM
DescriptionSeverityWeakness
Jan 27, 2025
Data Sourced
via Ubuntu·01:42 PM
RemedyDescriptionSeverityAffected Software
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-2024-56827?

CVE-2024-56827 has a high severity level due to the potential for heap buffer overflow leading to application crashes.

2

How do I fix CVE-2024-56827?

To fix CVE-2024-56827, update the OpenJPEG package to version 2.5.0-3 or later.

3

What systems are affected by CVE-2024-56827?

CVE-2024-56827 affects OpenJPEG versions up to 2.4.0-3 and 2.5.0-2 on Debian-based systems.

4

What does CVE-2024-56827 exploit?

CVE-2024-56827 exploits a heap buffer overflow in the opj_decompress utility under specific options.

5

What are the potential consequences of CVE-2024-56827?

The potential consequences of CVE-2024-56827 include application crashes and undefined behavior.

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