ID CVE-2012-3535
Summary 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.
References
Vulnerable Configurations
  • OpenJPEG 1.5
    cpe:2.3:a:openjpeg:openjpeg:1.5
  • OpenJPEG 1.4
    cpe:2.3:a:openjpeg:openjpeg:1.4
  • OpenJPEG 1.3
    cpe:2.3:a:openjpeg:openjpeg:1.3
CVSS
Base: 6.8 (as of 06-09-2012 - 10:44)
Impact:
Exploitability:
CWE CWE-119
CAPEC
  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Overflow Buffers
    Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
  • Client-side Injection-induced Buffer Overflow
    This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
  • Filter Failure through Buffer Overflow
    In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
  • MIME Conversion
    An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.
  • Overflow Binary Resource File
    An attack of this type exploits a buffer overflow vulnerability in the handling of binary resources. Binary resources may include music files like MP3, image files like JPEG files, and any other binary file. These attacks may pass unnoticed to the client machine through normal usage of files, such as a browser loading a seemingly innocent JPEG file. This can allow the attacker access to the execution stack and execute arbitrary code in the target process. This attack pattern is a variant of standard buffer overflow attacks using an unexpected vector (binary files) to wrap its attack and open up a new attack vector. The attacker is required to either directly serve the binary content to the victim, or place it in a locale like a MP3 sharing application, for the victim to download. The attacker then is notified upon the download or otherwise locates the vulnerability opened up by the buffer overflow.
  • Buffer Overflow via Symbolic Links
    This type of attack leverages the use of symbolic links to cause buffer overflows. An attacker can try to create or manipulate a symbolic link file such that its contents result in out of bounds data. When the target software processes the symbolic link file, it could potentially overflow internal buffers with insufficient bounds checking.
  • Overflow Variables and Tags
    This type of attack leverages the use of tags or variables from a formatted configuration data to cause buffer overflow. The attacker crafts a malicious HTML page or configuration file that includes oversized strings, thus causing an overflow.
  • Buffer Overflow via Parameter Expansion
    In this attack, the target software is given input that the attacker knows will be modified and expanded in size during processing. This attack relies on the target software failing to anticipate that the expanded data may exceed some internal limit, thereby creating a buffer overflow.
  • Buffer Overflow in an API Call
    This attack targets libraries or shared code modules which are vulnerable to buffer overflow attacks. An attacker who has access to an API may try to embed malicious code in the API function call and exploit a buffer overflow vulnerability in the function's implementation. All clients that make use of the code library thus become vulnerable by association. This has a very broad effect on security across a system, usually affecting more than one software process.
  • Buffer Overflow in Local Command-Line Utilities
    This attack targets command-line utilities available in a number of shells. An attacker can leverage a vulnerability found in a command-line utility to escalate privilege to root.
Access
VectorComplexityAuthentication
NETWORK MEDIUM NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
nessus via4
  • NASL family Mandriva Local Security Checks
    NASL id MANDRIVA_MDVSA-2013-110.NASL
    description Updated openjpeg packages fix security vulnerability : An out-of heap-based buffer bounds read and write flaw, leading to invalid free, was found in the way a tile coder / decoder (TCD) implementation of OpenJPEG, an open source JPEG 2000 codec written in C language, performed releasing of previously allocated memory for the TCD encoder handle by processing certain Gray16 TIFF images. A remote attacker could provide a specially crafted TIFF image file, which once converted into the JPEG 2000 file format with an application linked against OpenJPEG (such as 'image_to_j2k'), would lead to that application crash, or, potentially arbitrary code execution with the privileges of the user running the application (CVE-2009-5030). An input validation flaw, leading to a heap-based buffer overflow, was found in the way OpenJPEG handled the tile number and size in an image tile header. A remote attacker could provide a specially crafted image file that, when decoded using an application linked against OpenJPEG, would cause the application to crash or, potentially, execute arbitrary code with the privileges of the user running the application (CVE-2012-3358). It was found that OpenJPEG failed to sanity-check an image header field before using it. A remote attacker could provide a specially crafted image file that could cause an application linked against OpenJPEG to crash or, possibly, execute arbitrary code (CVE-2012-3535).
    last seen 2019-02-21
    modified 2019-01-02
    plugin id 66122
    published 2013-04-20
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=66122
    title Mandriva Linux Security Advisory : openjpeg (MDVSA-2013:110)
  • NASL family Mandriva Local Security Checks
    NASL id MANDRIVA_MDVSA-2012-157.NASL
    description A security issue was identified and fixed in openjpeg : 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 (CVE-2012-3535). The updated packages have been patched to correct this issue.
    last seen 2019-02-21
    modified 2018-07-19
    plugin id 62423
    published 2012-10-04
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=62423
    title Mandriva Linux Security Advisory : openjpeg (MDVSA-2012:157)
  • NASL family FreeBSD Local Security Checks
    NASL id FREEBSD_PKG_02DB20D7E34A11E3BD92BCAEC565249C.NASL
    description Openjpeg release notes report : That CVE-2012-3535 and CVE-2012-3358 are fixed in the 1.5.1 release. That CVE-2013-4289, CVE-2013-4290, CVE-2013-1447, CVE-2013-6045, CVE-2013-6052, CVE-2013-6054, CVE-2013-6053, CVE-2013-6887, where fixed in the 1.5.2 release.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 74176
    published 2014-05-26
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=74176
    title FreeBSD : openjpeg -- Multiple vulnerabilities (02db20d7-e34a-11e3-bd92-bcaec565249c)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2012-14664.NASL
    description Resolves CVE-2012-3535 ... openjpeg: heap-based buffer overflow when decoding jpeg2000 files [fedora-all] Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2015-10-20
    plugin id 62550
    published 2012-10-16
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=62550
    title Fedora 18 : openjpeg-1.5.0-5.fc18 (2012-14664)
  • NASL family CentOS Local Security Checks
    NASL id CENTOS_RHSA-2012-1283.NASL
    description Updated openjpeg packages that fix one security issue are now available for Red Hat Enterprise Linux 6. The Red Hat Security Response Team has rated this update as having important security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link in the References section. OpenJPEG is an open source library for reading and writing image files in JPEG 2000 format. It was found that OpenJPEG failed to sanity-check an image header field before using it. A remote attacker could provide a specially crafted image file that could cause an application linked against OpenJPEG to crash or, possibly, execute arbitrary code. (CVE-2012-3535) This issue was discovered by Huzaifa Sidhpurwala of the Red Hat Security Response Team. Users of OpenJPEG should upgrade to these updated packages, which contain a patch to correct this issue. All running applications using OpenJPEG must be restarted for the update to take effect.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 62127
    published 2012-09-18
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=62127
    title CentOS 6 : openjpeg (CESA-2012:1283)
  • NASL family Oracle Linux Local Security Checks
    NASL id ORACLELINUX_ELSA-2012-1283.NASL
    description From Red Hat Security Advisory 2012:1283 : Updated openjpeg packages that fix one security issue are now available for Red Hat Enterprise Linux 6. The Red Hat Security Response Team has rated this update as having important security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link in the References section. OpenJPEG is an open source library for reading and writing image files in JPEG 2000 format. It was found that OpenJPEG failed to sanity-check an image header field before using it. A remote attacker could provide a specially crafted image file that could cause an application linked against OpenJPEG to crash or, possibly, execute arbitrary code. (CVE-2012-3535) This issue was discovered by Huzaifa Sidhpurwala of the Red Hat Security Response Team. Users of OpenJPEG should upgrade to these updated packages, which contain a patch to correct this issue. All running applications using OpenJPEG must be restarted for the update to take effect.
    last seen 2019-02-21
    modified 2018-07-18
    plugin id 68627
    published 2013-07-12
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=68627
    title Oracle Linux 6 : openjpeg (ELSA-2012-1283)
  • NASL family SuSE Local Security Checks
    NASL id OPENSUSE-2012-717.NASL
    description This update fixes a heap-based buffer overflow in OpenJPEG which could allow remote attackers to cause a denial of service (application crash) and possibly execute arbitrary code via a crafted JPEG2000 file.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 74783
    published 2014-06-13
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=74783
    title openSUSE Security Update : openjpeg (openSUSE-SU-2012:1370-1)
  • NASL family Debian Local Security Checks
    NASL id DEBIAN_DSA-2629.NASL
    description - CVE-2009-5030 Heap memory corruption leading to invalid free when processing certain Gray16 TIFF images. - CVE-2012-3358 Huzaifa Sidhpurwala of the Red Hat Security Response Team found a heap-based buffer overflow in JPEG2000 image parsing. - CVE-2012-3535 Huzaifa Sidhpurwala of the Red Hat Security Response Team found a heap-based buffer overflow when decoding JPEG2000 images.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 64880
    published 2013-02-26
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=64880
    title Debian DSA-2629-1 : openjpeg - several issues
  • NASL family Red Hat Local Security Checks
    NASL id REDHAT-RHSA-2012-1283.NASL
    description Updated openjpeg packages that fix one security issue are now available for Red Hat Enterprise Linux 6. The Red Hat Security Response Team has rated this update as having important security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link in the References section. OpenJPEG is an open source library for reading and writing image files in JPEG 2000 format. It was found that OpenJPEG failed to sanity-check an image header field before using it. A remote attacker could provide a specially crafted image file that could cause an application linked against OpenJPEG to crash or, possibly, execute arbitrary code. (CVE-2012-3535) This issue was discovered by Huzaifa Sidhpurwala of the Red Hat Security Response Team. Users of OpenJPEG should upgrade to these updated packages, which contain a patch to correct this issue. All running applications using OpenJPEG must be restarted for the update to take effect.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 62169
    published 2012-09-18
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=62169
    title RHEL 6 : openjpeg (RHSA-2012:1283)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2012-14707.NASL
    description Resolves CVE-2012-3535 ... openjpeg: heap-based buffer overflow when decoding jpeg2000 files [fedora-all] Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2015-10-20
    plugin id 62654
    published 2012-10-23
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=62654
    title Fedora 16 : openjpeg-1.4-14.fc16 (2012-14707)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2012-14717.NASL
    description Resolves CVE-2012-3535 ... openjpeg: heap-based buffer overflow when decoding jpeg2000 files [fedora-all] Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2015-10-20
    plugin id 62790
    published 2012-11-02
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=62790
    title Fedora 17 : openjpeg-1.4-14.fc17 (2012-14717)
  • NASL family Amazon Linux Local Security Checks
    NASL id ALA_ALAS-2012-125.NASL
    description It was found that OpenJPEG failed to sanity-check an image header field before using it. A remote attacker could provide a specially crafted image file that could cause an application linked against OpenJPEG to crash or, possibly, execute arbitrary code. (CVE-2012-3535)
    last seen 2019-02-21
    modified 2018-04-18
    plugin id 69615
    published 2013-09-04
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=69615
    title Amazon Linux AMI : openjpeg (ALAS-2012-125)
  • NASL family Gentoo Local Security Checks
    NASL id GENTOO_GLSA-201310-07.NASL
    description The remote host is affected by the vulnerability described in GLSA-201310-07 (OpenJPEG: User-assisted execution of arbitrary code) OpenJPEG contains an invalid free error and multiple buffer overflow flaws. Please review the CVE identifiers referenced below for details. Impact : A remote attacker could entice a user to open a specially crafted JPEG file, possibly resulting in execution of arbitrary code or a Denial of Service condition. Workaround : There is no known workaround at this time.
    last seen 2019-02-21
    modified 2018-07-12
    plugin id 70380
    published 2013-10-11
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=70380
    title GLSA-201310-07 : OpenJPEG: User-assisted execution of arbitrary code
  • NASL family Scientific Linux Local Security Checks
    NASL id SL_20120917_OPENJPEG_ON_SL6_X.NASL
    description OpenJPEG is an open source library for reading and writing image files in JPEG 2000 format. It was found that OpenJPEG failed to sanity-check an image header field before using it. A remote attacker could provide a specially crafted image file that could cause an application linked against OpenJPEG to crash or, possibly, execute arbitrary code. (CVE-2012-3535) Users of OpenJPEG should upgrade to these updated packages, which contain a patch to correct this issue. All running applications using OpenJPEG must be restarted for the update to take effect.
    last seen 2019-02-21
    modified 2018-12-31
    plugin id 62174
    published 2012-09-18
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=62174
    title Scientific Linux Security Update : openjpeg on SL6.x i386/x86_64
redhat via4
advisories
bugzilla
id 842918
title CVE-2012-3535 openjpeg: heap-based buffer overflow when decoding jpeg2000 files
oval
AND
  • OR
    • comment Red Hat Enterprise Linux 6 Client is installed
      oval oval:com.redhat.rhsa:tst:20100842001
    • comment Red Hat Enterprise Linux 6 Server is installed
      oval oval:com.redhat.rhsa:tst:20100842002
    • comment Red Hat Enterprise Linux 6 Workstation is installed
      oval oval:com.redhat.rhsa:tst:20100842003
    • comment Red Hat Enterprise Linux 6 ComputeNode is installed
      oval oval:com.redhat.rhsa:tst:20100842004
  • OR
    • AND
      • comment openjpeg is earlier than 0:1.3-9.el6_3
        oval oval:com.redhat.rhsa:tst:20121283005
      • comment openjpeg is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20121068006
    • AND
      • comment openjpeg-devel is earlier than 0:1.3-9.el6_3
        oval oval:com.redhat.rhsa:tst:20121283007
      • comment openjpeg-devel is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20121068010
    • AND
      • comment openjpeg-libs is earlier than 0:1.3-9.el6_3
        oval oval:com.redhat.rhsa:tst:20121283009
      • comment openjpeg-libs is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20121068008
rhsa
id RHSA-2012:1283
released 2012-09-17
severity Important
title RHSA-2012:1283: openjpeg security update (Important)
rpms
  • openjpeg-0:1.3-9.el6_3
  • openjpeg-devel-0:1.3-9.el6_3
  • openjpeg-libs-0:1.3-9.el6_3
refmap via4
bid 55214
fedora
  • FEDORA-2012-14664
  • FEDORA-2012-14707
mandriva MDVSA-2012:157
misc
mlist
  • [oss-security] 20120827 CVE Request: Heap-based buffer overflow in openjpeg
  • [oss-security] 20120827 Re: CVE Request: Heap-based buffer overflow in openjpeg
osvdb 84978
secunia
  • 50360
  • 50681
xf openjpeg-files-bo(77994)
Last major update 04-04-2013 - 23:12
Published 05-09-2012 - 19:55
Last modified 28-08-2017 - 21:31
Back to Top