ID CVE-2012-5581
Summary Stack-based buffer overflow in tif_dir.c in LibTIFF before 4.0.2 allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted DOTRANGE tag in a TIFF image.
References
Vulnerable Configurations
  • LibTIFF 3.4
    cpe:2.3:a:libtiff:libtiff:3.4
  • LibTIFF 3.4 beta18
    cpe:2.3:a:libtiff:libtiff:3.4:beta18
  • LibTIFF 3.4 beta24
    cpe:2.3:a:libtiff:libtiff:3.4:beta24
  • LibTIFF 3.4 beta28
    cpe:2.3:a:libtiff:libtiff:3.4:beta28
  • LibTIFF 3.4 beta29
    cpe:2.3:a:libtiff:libtiff:3.4:beta29
  • LibTIFF 3.4 beta31
    cpe:2.3:a:libtiff:libtiff:3.4:beta31
  • LibTIFF 3.4 beta32
    cpe:2.3:a:libtiff:libtiff:3.4:beta32
  • LibTIFF 3.4 beta34
    cpe:2.3:a:libtiff:libtiff:3.4:beta34
  • LibTIFF 3.4 beta35
    cpe:2.3:a:libtiff:libtiff:3.4:beta35
  • LibTIFF 3.4 beta36
    cpe:2.3:a:libtiff:libtiff:3.4:beta36
  • LibTIFF 3.4 beta37
    cpe:2.3:a:libtiff:libtiff:3.4:beta37
  • LibTIFF 3.5.1
    cpe:2.3:a:libtiff:libtiff:3.5.1
  • LibTIFF 3.5.2
    cpe:2.3:a:libtiff:libtiff:3.5.2
  • LibTIFF 3.5.3
    cpe:2.3:a:libtiff:libtiff:3.5.3
  • LibTIFF 3.5.4
    cpe:2.3:a:libtiff:libtiff:3.5.4
  • LibTIFF 3.5.5
    cpe:2.3:a:libtiff:libtiff:3.5.5
  • LibTIFF 3.5.6
    cpe:2.3:a:libtiff:libtiff:3.5.6
  • LibTIFF 3.5.6 beta
    cpe:2.3:a:libtiff:libtiff:3.5.6:beta
  • LibTIFF 3.5.7
    cpe:2.3:a:libtiff:libtiff:3.5.7
  • LibTIFF 3.5.7 alpha
    cpe:2.3:a:libtiff:libtiff:3.5.7:alpha
  • LibTIFF 3.5.7 alpha2
    cpe:2.3:a:libtiff:libtiff:3.5.7:alpha2
  • LibTIFF 3.5.7 alpha3
    cpe:2.3:a:libtiff:libtiff:3.5.7:alpha3
  • LibTIFF 3.5.7 alpha4
    cpe:2.3:a:libtiff:libtiff:3.5.7:alpha4
  • LibTIFF 3.5.7 beta
    cpe:2.3:a:libtiff:libtiff:3.5.7:beta
  • LibTIFF 3.6.0
    cpe:2.3:a:libtiff:libtiff:3.6.0
  • LibTIFF 3.6.0 beta
    cpe:2.3:a:libtiff:libtiff:3.6.0:beta
  • LibTIFF 3.6.0 beta2
    cpe:2.3:a:libtiff:libtiff:3.6.0:beta2
  • LibTIFF 3.6.1
    cpe:2.3:a:libtiff:libtiff:3.6.1
  • LibTIFF 3.7.0
    cpe:2.3:a:libtiff:libtiff:3.7.0
  • LibTIFF 3.7.0 alpha
    cpe:2.3:a:libtiff:libtiff:3.7.0:alpha
  • LibTIFF 3.7.0 beta
    cpe:2.3:a:libtiff:libtiff:3.7.0:beta
  • LibTIFF 3.7.0 beta2
    cpe:2.3:a:libtiff:libtiff:3.7.0:beta2
  • LibTIFF 3.7.1
    cpe:2.3:a:libtiff:libtiff:3.7.1
  • LibTIFF 3.7.2
    cpe:2.3:a:libtiff:libtiff:3.7.2
  • LibTIFF 3.7.3
    cpe:2.3:a:libtiff:libtiff:3.7.3
  • LibTIFF 3.7.4
    cpe:2.3:a:libtiff:libtiff:3.7.4
  • LibTIFF 3.8.0
    cpe:2.3:a:libtiff:libtiff:3.8.0
  • LibTIFF 3.8.1
    cpe:2.3:a:libtiff:libtiff:3.8.1
  • LibTIFF 3.8.2
    cpe:2.3:a:libtiff:libtiff:3.8.2
  • LibTIFF 3.9
    cpe:2.3:a:libtiff:libtiff:3.9
  • LibTIFF 3.9.0
    cpe:2.3:a:libtiff:libtiff:3.9.0
  • LibTIFF 3.9.0 beta
    cpe:2.3:a:libtiff:libtiff:3.9.0:beta
  • LibTIFF 3.9.1
    cpe:2.3:a:libtiff:libtiff:3.9.1
  • LibTIFF 3.9.2
    cpe:2.3:a:libtiff:libtiff:3.9.2
  • LibTIFF 3.9.2-5.2.1
    cpe:2.3:a:libtiff:libtiff:3.9.2-5.2.1
  • LibTIFF 3.9.3
    cpe:2.3:a:libtiff:libtiff:3.9.3
  • LibTIFF 3.9.4
    cpe:2.3:a:libtiff:libtiff:3.9.4
  • LibTIFF 3.9.5
    cpe:2.3:a:libtiff:libtiff:3.9.5
  • libTIFF 4.0
    cpe:2.3:a:libtiff:libtiff:4.0
  • LibTIFF 4.0 alpha
    cpe:2.3:a:libtiff:libtiff:4.0:alpha
  • LibTIFF 4.0 beta1
    cpe:2.3:a:libtiff:libtiff:4.0:beta1
  • LibTIFF 4.0 beta2
    cpe:2.3:a:libtiff:libtiff:4.0:beta2
  • LibTIFF 4.0 beta3
    cpe:2.3:a:libtiff:libtiff:4.0:beta3
  • LibTIFF 4.0 beta4
    cpe:2.3:a:libtiff:libtiff:4.0:beta4
  • LibTIFF 4.0 beta5
    cpe:2.3:a:libtiff:libtiff:4.0:beta5
  • LibTIFF 4.0 beta6
    cpe:2.3:a:libtiff:libtiff:4.0:beta6
  • LibTIFF 4.0.1
    cpe:2.3:a:libtiff:libtiff:4.0.1
CVSS
Base: 6.8 (as of 07-01-2013 - 11:05)
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 Solaris Local Security Checks
    NASL id SOLARIS11_LIBTIFF_20140617.NASL
    description The remote Solaris system is missing necessary patches to address security updates : - Stack-based buffer overflow in tif_dir.c in LibTIFF before 4.0.2 allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted DOTRANGE tag in a TIFF image. (CVE-2012-5581)
    last seen 2019-02-21
    modified 2018-11-15
    plugin id 80683
    published 2015-01-19
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=80683
    title Oracle Solaris Third-Party Patch Update : libtiff (cve_2012_5581_denial_of)
  • NASL family Ubuntu Local Security Checks
    NASL id UBUNTU_USN-1655-1.NASL
    description It was discovered that LibTIFF incorrectly handled certain malformed images using the DOTRANGE tag. If a user or automated system were tricked into opening a specially crafted TIFF image, a remote attacker could crash the application, leading to a denial of service, or possibly execute arbitrary code with user privileges. Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu 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 2018-12-01
    plugin id 63164
    published 2012-12-06
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=63164
    title Ubuntu 8.04 LTS / 10.04 LTS / 11.10 / 12.04 LTS : tiff vulnerability (USN-1655-1)
  • NASL family Solaris Local Security Checks
    NASL id SOLARIS10_119900.NASL
    description GNOME 2.6.0: GNOME libtiff - library for reading and writing TIFF. Date this patch was last updated by Sun : Sep/15/16 This plugin has been deprecated and either replaced with individual 119900 patch-revision plugins, or deemed non-security related.
    last seen 2019-02-21
    modified 2018-07-30
    plugin id 22959
    published 2006-11-06
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=22959
    title Solaris 10 (sparc) : 119900-18 (deprecated)
  • NASL family Debian Local Security Checks
    NASL id DEBIAN_DSA-2589.NASL
    description The tiff library for handling TIFF image files contained a stack-based buffer overflow, potentially allowing attackers who can submit such files to a vulnerable system to execute arbitrary code.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 63273
    published 2012-12-17
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=63273
    title Debian DSA-2589-1 : tiff - buffer overflow
  • NASL family Solaris Local Security Checks
    NASL id SOLARIS10_X86_119901.NASL
    description GNOME 2.6.0_x86: GNOME libtiff - library for reading and writing T. Date this patch was last updated by Sun : Sep/15/16 This plugin has been deprecated and either replaced with individual 119901 patch-revision plugins, or deemed non-security related.
    last seen 2019-02-21
    modified 2018-07-30
    plugin id 22992
    published 2006-11-06
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=22992
    title Solaris 10 (x86) : 119901-17 (deprecated)
  • NASL family Mandriva Local Security Checks
    NASL id MANDRIVA_MDVSA-2012-184.NASL
    description A vulnerability was found and corrected in libtiff : A stack-based buffer overflow was found in the way libtiff handled DOTRANGE tags. An attacker could use this flaw to create a specially crafted TIFF file that, when opened, would cause an application linked against libtiff to crash or, possibly, execute arbitrary code (CVE-2012-5581). The updated packages have been patched to correct this issue.
    last seen 2019-02-21
    modified 2018-07-19
    plugin id 63344
    published 2012-12-28
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=63344
    title Mandriva Linux Security Advisory : libtiff (MDVSA-2012:184)
  • NASL family SuSE Local Security Checks
    NASL id SUSE_11_LIBTIFF-DEVEL-130109.NASL
    description Various memory corruption vulnerabilities have been fixed in libtiff. CVE-2012-4447 / CVE-2012-4564 / CVE-2012-5581 have been assigned to these issues.
    last seen 2019-02-21
    modified 2013-10-25
    plugin id 64199
    published 2013-01-25
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=64199
    title SuSE 11.2 Security Update : libtiff (SAT Patch Number 7216)
  • NASL family CentOS Local Security Checks
    NASL id CENTOS_RHSA-2012-1590.NASL
    description Updated libtiff packages that fix multiple security issues are now available for Red Hat Enterprise Linux 5 and 6. The Red Hat Security Response Team has rated this update as having moderate security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links in the References section. The libtiff packages contain a library of functions for manipulating Tagged Image File Format (TIFF) files. A heap-based buffer overflow flaw was found in the way libtiff processed certain TIFF images using the Pixar Log Format encoding. An attacker could create a specially crafted TIFF file that, when opened, could cause an application using libtiff to crash or, possibly, execute arbitrary code with the privileges of the user running the application. (CVE-2012-4447) A stack-based buffer overflow flaw was found in the way libtiff handled DOTRANGE tags. An attacker could use this flaw to create a specially crafted TIFF file that, when opened, would cause an application linked against libtiff to crash or, possibly, execute arbitrary code. (CVE-2012-5581) A heap-based buffer overflow flaw was found in the tiff2pdf tool. An attacker could use this flaw to create a specially crafted TIFF file that would cause tiff2pdf to crash or, possibly, execute arbitrary code. (CVE-2012-3401) A missing return value check flaw, leading to a heap-based buffer overflow, was found in the ppm2tiff tool. An attacker could use this flaw to create a specially crafted PPM (Portable Pixel Map) file that would cause ppm2tiff to crash or, possibly, execute arbitrary code. (CVE-2012-4564) The CVE-2012-5581, CVE-2012-3401, and CVE-2012-4564 issues were discovered by Huzaifa Sidhpurwala of the Red Hat Security Response Team. All libtiff users should upgrade to these updated packages, which contain backported patches to resolve these issues. All running applications linked against libtiff must be restarted for this update to take effect.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 63306
    published 2012-12-20
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=63306
    title CentOS 5 / 6 : libtiff (CESA-2012:1590)
  • NASL family Red Hat Local Security Checks
    NASL id REDHAT-RHSA-2012-1590.NASL
    description Updated libtiff packages that fix multiple security issues are now available for Red Hat Enterprise Linux 5 and 6. The Red Hat Security Response Team has rated this update as having moderate security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links in the References section. The libtiff packages contain a library of functions for manipulating Tagged Image File Format (TIFF) files. A heap-based buffer overflow flaw was found in the way libtiff processed certain TIFF images using the Pixar Log Format encoding. An attacker could create a specially crafted TIFF file that, when opened, could cause an application using libtiff to crash or, possibly, execute arbitrary code with the privileges of the user running the application. (CVE-2012-4447) A stack-based buffer overflow flaw was found in the way libtiff handled DOTRANGE tags. An attacker could use this flaw to create a specially crafted TIFF file that, when opened, would cause an application linked against libtiff to crash or, possibly, execute arbitrary code. (CVE-2012-5581) A heap-based buffer overflow flaw was found in the tiff2pdf tool. An attacker could use this flaw to create a specially crafted TIFF file that would cause tiff2pdf to crash or, possibly, execute arbitrary code. (CVE-2012-3401) A missing return value check flaw, leading to a heap-based buffer overflow, was found in the ppm2tiff tool. An attacker could use this flaw to create a specially crafted PPM (Portable Pixel Map) file that would cause ppm2tiff to crash or, possibly, execute arbitrary code. (CVE-2012-4564) The CVE-2012-5581, CVE-2012-3401, and CVE-2012-4564 issues were discovered by Huzaifa Sidhpurwala of the Red Hat Security Response Team. All libtiff users should upgrade to these updated packages, which contain backported patches to resolve these issues. All running applications linked against libtiff must be restarted for this update to take effect.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 63293
    published 2012-12-19
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=63293
    title RHEL 5 / 6 : libtiff (RHSA-2012:1590)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2012-20404.NASL
    description - Update to libtiff 3.9.7 (includes previously-added security fixes) - Add patches for CVE-2012-4447, CVE-2012-4564, CVE-2012-5581 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 2016-05-09
    plugin id 63362
    published 2012-12-31
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=63362
    title Fedora 16 : libtiff-3.9.7-1.fc16 (2012-20404)
  • NASL family Oracle Linux Local Security Checks
    NASL id ORACLELINUX_ELSA-2012-1590.NASL
    description From Red Hat Security Advisory 2012:1590 : Updated libtiff packages that fix multiple security issues are now available for Red Hat Enterprise Linux 5 and 6. The Red Hat Security Response Team has rated this update as having moderate security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links in the References section. The libtiff packages contain a library of functions for manipulating Tagged Image File Format (TIFF) files. A heap-based buffer overflow flaw was found in the way libtiff processed certain TIFF images using the Pixar Log Format encoding. An attacker could create a specially crafted TIFF file that, when opened, could cause an application using libtiff to crash or, possibly, execute arbitrary code with the privileges of the user running the application. (CVE-2012-4447) A stack-based buffer overflow flaw was found in the way libtiff handled DOTRANGE tags. An attacker could use this flaw to create a specially crafted TIFF file that, when opened, would cause an application linked against libtiff to crash or, possibly, execute arbitrary code. (CVE-2012-5581) A heap-based buffer overflow flaw was found in the tiff2pdf tool. An attacker could use this flaw to create a specially crafted TIFF file that would cause tiff2pdf to crash or, possibly, execute arbitrary code. (CVE-2012-3401) A missing return value check flaw, leading to a heap-based buffer overflow, was found in the ppm2tiff tool. An attacker could use this flaw to create a specially crafted PPM (Portable Pixel Map) file that would cause ppm2tiff to crash or, possibly, execute arbitrary code. (CVE-2012-4564) The CVE-2012-5581, CVE-2012-3401, and CVE-2012-4564 issues were discovered by Huzaifa Sidhpurwala of the Red Hat Security Response Team. All libtiff users should upgrade to these updated packages, which contain backported patches to resolve these issues. All running applications linked against libtiff must be restarted for this update to take effect.
    last seen 2019-02-21
    modified 2018-07-18
    plugin id 68667
    published 2013-07-12
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=68667
    title Oracle Linux 5 / 6 : libtiff (ELSA-2012-1590)
  • NASL family Amazon Linux Local Security Checks
    NASL id ALA_ALAS-2012-147.NASL
    description A heap-based buffer overflow flaw was found in the way libtiff processed certain TIFF images using the Pixar Log Format encoding. An attacker could create a specially crafted TIFF file that, when opened, could cause an application using libtiff to crash or, possibly, execute arbitrary code with the privileges of the user running the application. (CVE-2012-4447) A stack-based buffer overflow flaw was found in the way libtiff handled DOTRANGE tags. An attacker could use this flaw to create a specially crafted TIFF file that, when opened, would cause an application linked against libtiff to crash or, possibly, execute arbitrary code. (CVE-2012-5581) A heap-based buffer overflow flaw was found in the tiff2pdf tool. An attacker could use this flaw to create a specially crafted TIFF file that would cause tiff2pdf to crash or, possibly, execute arbitrary code. (CVE-2012-3401) A missing return value check flaw, leading to a heap-based buffer overflow, was found in the ppm2tiff tool. An attacker could use this flaw to create a specially crafted PPM (Portable Pixel Map) file that would cause ppm2tiff to crash or, possibly, execute arbitrary code. (CVE-2012-4564)
    last seen 2019-02-21
    modified 2018-04-18
    plugin id 69637
    published 2013-09-04
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=69637
    title Amazon Linux AMI : libtiff (ALAS-2012-147)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2012-20348.NASL
    description Add upstream patches for CVE-2012-4447, CVE-2012-4564 (note: CVE-2012-5581 is already fixed in 4.0.3) 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 2016-05-09
    plugin id 63493
    published 2013-01-14
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=63493
    title Fedora 18 : libtiff-4.0.3-2.fc18 (2012-20348)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2012-20446.NASL
    description - Update to libtiff 3.9.7 (includes previously-added security fixes) - Add patches for CVE-2012-4447, CVE-2012-4564, CVE-2012-5581 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 2016-05-09
    plugin id 63363
    published 2012-12-31
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=63363
    title Fedora 17 : libtiff-3.9.7-1.fc17 (2012-20446)
  • NASL family Scientific Linux Local Security Checks
    NASL id SL_20121218_LIBTIFF_ON_SL5_X.NASL
    description A heap-based buffer overflow flaw was found in the way libtiff processed certain TIFF images using the Pixar Log Format encoding. An attacker could create a specially crafted TIFF file that, when opened, could cause an application using libtiff to crash or, possibly, execute arbitrary code with the privileges of the user running the application. (CVE-2012-4447) A stack-based buffer overflow flaw was found in the way libtiff handled DOTRANGE tags. An attacker could use this flaw to create a specially crafted TIFF file that, when opened, would cause an application linked against libtiff to crash or, possibly, execute arbitrary code. (CVE-2012-5581) A heap-based buffer overflow flaw was found in the tiff2pdf tool. An attacker could use this flaw to create a specially crafted TIFF file that would cause tiff2pdf to crash or, possibly, execute arbitrary code. (CVE-2012-3401) A missing return value check flaw, leading to a heap-based buffer overflow, was found in the ppm2tiff tool. An attacker could use this flaw to create a specially crafted PPM (Portable Pixel Map) file that would cause ppm2tiff to crash or, possibly, execute arbitrary code. (CVE-2012-4564) All running applications linked against libtiff must be restarted for this update to take effect.
    last seen 2019-02-21
    modified 2018-12-31
    plugin id 63314
    published 2012-12-20
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=63314
    title Scientific Linux Security Update : libtiff on SL5.x, SL6.x i386/x86_64
  • NASL family Mandriva Local Security Checks
    NASL id MANDRIVA_MDVSA-2013-046.NASL
    description Updated libtiff packages fix security vulnerabilities : libtiff did not properly convert between signed and unsigned integer values, leading to a buffer overflow. An attacker could use this flaw to create a specially crafted TIFF file that, when opened, would cause an application linked against libtiff to crash or, possibly, execute arbitrary code (CVE-2012-2088). Multiple integer overflow flaws, leading to heap-based buffer overflows, were found in the tiff2pdf tool. An attacker could use these flaws to create a specially crafted TIFF file that would cause tiff2pdf to crash or, possibly, execute arbitrary code (CVE-2012-2113). Huzaifa Sidhpurwala discovered that the tiff2pdf utility incorrectly handled certain malformed TIFF images. If a user or automated system were tricked into opening a specially crafted TIFF image, a remote attacker could crash the application, leading to a denial of service, or possibly execute arbitrary code with user privileges (CVE-2012-3401). It was discovered that a buffer overflow in libtiff's parsing of files using PixarLog compression could lead to the execution of arbitrary code (CVE-2012-4447). ppm2tiff does not check the return value of the TIFFScanlineSize function, which allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted PPM image that triggers an integer overflow, a zero-memory allocation, and a heap-based buffer overflow (CVE-2012-4564). It was discovered that LibTIFF incorrectly handled certain malformed images using the DOTRANGE tag. If a user or automated system were tricked into opening a specially crafted TIFF image, a remote attacker could crash the application, leading to a denial of service, or possibly execute arbitrary code with user privileges (CVE-2012-5581).
    last seen 2019-02-21
    modified 2018-07-19
    plugin id 66060
    published 2013-04-20
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=66060
    title Mandriva Linux Security Advisory : libtiff (MDVSA-2013:046)
  • NASL family SuSE Local Security Checks
    NASL id SUSE_LIBTIFF-8419.NASL
    description Various memory corruption vulnerabilities have been fixed in libtiff. CVE-2012-4447 / CVE-2012-4564 / CVE-2012-5581 have been assigned to these issues.
    last seen 2019-02-21
    modified 2013-02-25
    plugin id 64093
    published 2013-01-25
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=64093
    title SuSE 10 Security Update : libtiff (ZYPP Patch Number 8419)
  • NASL family SuSE Local Security Checks
    NASL id OPENSUSE-2013-29.NASL
    description This update of tiff fixed a heap-based buffer overflow vulnerability and an integer overflow issue.
    last seen 2019-02-21
    modified 2014-06-13
    plugin id 74956
    published 2014-06-13
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=74956
    title openSUSE Security Update : tiff (openSUSE-2013-29)
redhat via4
advisories
bugzilla
id 871700
title CVE-2012-4564 libtiff: Missing return value check in ppm2tiff leading to heap-buffer overflow when reading a tiff file
oval
OR
  • AND
    • comment Red Hat Enterprise Linux 5 is installed
      oval oval:com.redhat.rhsa:tst:20070055001
    • OR
      • AND
        • comment libtiff is earlier than 0:3.8.2-18.el5_8
          oval oval:com.redhat.rhsa:tst:20121590002
        • comment libtiff is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20080847003
      • AND
        • comment libtiff-devel is earlier than 0:3.8.2-18.el5_8
          oval oval:com.redhat.rhsa:tst:20121590004
        • comment libtiff-devel is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20080847005
  • 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 libtiff is earlier than 0:3.9.4-9.el6_3
          oval oval:com.redhat.rhsa:tst:20121590010
        • comment libtiff is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20110318011
      • AND
        • comment libtiff-devel is earlier than 0:3.9.4-9.el6_3
          oval oval:com.redhat.rhsa:tst:20121590012
        • comment libtiff-devel is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20110318015
      • AND
        • comment libtiff-static is earlier than 0:3.9.4-9.el6_3
          oval oval:com.redhat.rhsa:tst:20121590014
        • comment libtiff-static is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20110318013
rhsa
id RHSA-2012:1590
released 2012-12-18
severity Moderate
title RHSA-2012:1590: libtiff security update (Moderate)
rpms
  • libtiff-0:3.8.2-18.el5_8
  • libtiff-devel-0:3.8.2-18.el5_8
  • libtiff-0:3.9.4-9.el6_3
  • libtiff-devel-0:3.9.4-9.el6_3
  • libtiff-static-0:3.9.4-9.el6_3
refmap via4
bid 56715
debian DSA-2589
misc https://bugzilla.redhat.com/show_bug.cgi?id=867235
mlist [oss-security] 20121128 libtiff: Stack based buffer overflow when handling DOTRANGE tags
secunia 51491
suse openSUSE-SU-2013:0187
ubuntu USN-1655-1
xf libtiff-dotrange-bo(80339)
Last major update 07-02-2013 - 23:55
Published 04-01-2013 - 17:55
Last modified 29-11-2017 - 21:29
Back to Top