CVE-2012-3535: Buffer Overflow

Published Jul 24, 2012
·
Updated

A heap-based buffer overflow was found in the way OpenJPEG, an open-source JPEG 2000 codec written in C language, performed parsing of JPEG2000 image files. A remote attacker could provide a specially crafted JPEG 2000 file, which when opened in an application linked against openjpeg would lead to that application crash, or, potentially arbitrary code execution with the privileges of the user running the application.

Acknowledgements:

This issue was discovered by Huzaifa Sidhpurwala of the Red Hat Security Response Team.

Other sources

Heap-based buffer overflow in OpenJPEG 1.5.0 and earlier allows remote attackers to cause a denial of service (application crash) and possibly execute arbitrary code via a crafted JPEG2000 file.

MITRE

Affected Software

3 affected components
uclouvain openjpeg<=1.5
uclouvain openjpeg=1.3
uclouvain openjpeg=1.4

Event History

Jul 24, 2012
Data Sourced
10:31 PM
DescriptionSeverityAffected Software
Sep 5, 2012
CVE Published
via MITRE·11:00 PM
Data Sourced
via MITRE·11:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2012-3535?

CVE-2012-3535 is considered a critical vulnerability as it can lead to remote code execution due to a heap-based buffer overflow.

2

How do I fix CVE-2012-3535?

To fix CVE-2012-3535, update OpenJPEG to version 1.5 or later, which addresses the buffer overflow issue.

3

Which versions of OpenJPEG are affected by CVE-2012-3535?

CVE-2012-3535 affects OpenJPEG versions 1.3, 1.4, and all versions up to and including 1.5.

4

How can a remote attacker exploit CVE-2012-3535?

A remote attacker can exploit CVE-2012-3535 by providing a specially crafted JPEG 2000 file that triggers the buffer overflow when the file is opened.

5

What impact does CVE-2012-3535 have on applications using OpenJPEG?

CVE-2012-3535 can allow attackers to gain control over applications linked against OpenJPEG, potentially executing arbitrary code.

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