CVE-2012-3535: Buffer Overflow
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
Event History
Frequently Asked Questions
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.
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.
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.
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.
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.