CVE-2012-4405 Integer overflow in n/a

Medium 6.8 Published Updated

Remote attackers can cause denial of service or execute arbitrary code via crafted PostScript or PDF files exploiting integer underflows in the ICC library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2012-4405?

CVE-2012-4405 is a medium-severity vulnerability in n/a, published on 18 Sep 2012. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Multiple integer underflows in the icmLut_allocate function in International Color Consortium (ICC) Format library (icclib), as used in Ghostscript 9.06 and Argyll Color Management System, allow remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted (1) PostScript or (2) PDF file with embedded images, which triggers a heap-based buffer overflow. NOTE: this issue is also described as an array index error.

Weakness: CWE-189

Which versions are affected by CVE-2012-4405?

It affects 3 products.

Linux distribution packages (30)
ghostscript Red Hat:enterprise_linux:5::clientAll versions0:8.70-14.el5_8.1
ghostscript-debuginfo Red Hat:enterprise_linux:5::clientAll versions0:8.70-14.el5_8.1
ghostscript-gtk Red Hat:enterprise_linux:5::clientAll versions0:8.70-14.el5_8.1
ghostscript Red Hat:enterprise_linux:5::client_workstationAll versions0:8.70-14.el5_8.1
ghostscript-debuginfo Red Hat:enterprise_linux:5::client_workstationAll versions0:8.70-14.el5_8.1
ghostscript-devel Red Hat:enterprise_linux:5::client_workstationAll versions0:8.70-14.el5_8.1
ghostscript Red Hat:enterprise_linux:5::serverAll versions0:8.70-14.el5_8.1
ghostscript-debuginfo Red Hat:enterprise_linux:5::serverAll versions0:8.70-14.el5_8.1
ghostscript-devel Red Hat:enterprise_linux:5::serverAll versions0:8.70-14.el5_8.1
ghostscript-gtk Red Hat:enterprise_linux:5::serverAll versions0:8.70-14.el5_8.1
ghostscript Red Hat:enterprise_linux:6::clientAll versions0:8.70-14.el6_3.1
ghostscript-debuginfo Red Hat:enterprise_linux:6::clientAll versions0:8.70-14.el6_3.1
ghostscript-devel Red Hat:enterprise_linux:6::clientAll versions0:8.70-14.el6_3.1
ghostscript-doc Red Hat:enterprise_linux:6::clientAll versions0:8.70-14.el6_3.1
ghostscript-gtk Red Hat:enterprise_linux:6::clientAll versions0:8.70-14.el6_3.1
ghostscript Red Hat:enterprise_linux:6::computenodeAll versions0:8.70-14.el6_3.1
ghostscript-debuginfo Red Hat:enterprise_linux:6::computenodeAll versions0:8.70-14.el6_3.1
ghostscript-devel Red Hat:enterprise_linux:6::computenodeAll versions0:8.70-14.el6_3.1
ghostscript-doc Red Hat:enterprise_linux:6::computenodeAll versions0:8.70-14.el6_3.1
ghostscript-gtk Red Hat:enterprise_linux:6::computenodeAll versions0:8.70-14.el6_3.1
ghostscript Red Hat:enterprise_linux:6::serverAll versions0:8.70-14.el6_3.1
ghostscript-debuginfo Red Hat:enterprise_linux:6::serverAll versions0:8.70-14.el6_3.1
ghostscript-devel Red Hat:enterprise_linux:6::serverAll versions0:8.70-14.el6_3.1
ghostscript-doc Red Hat:enterprise_linux:6::serverAll versions0:8.70-14.el6_3.1
ghostscript-gtk Red Hat:enterprise_linux:6::serverAll versions0:8.70-14.el6_3.1
ghostscript Red Hat:enterprise_linux:6::workstationAll versions0:8.70-14.el6_3.1
ghostscript-debuginfo Red Hat:enterprise_linux:6::workstationAll versions0:8.70-14.el6_3.1
ghostscript-devel Red Hat:enterprise_linux:6::workstationAll versions0:8.70-14.el6_3.1
ghostscript-doc Red Hat:enterprise_linux:6::workstationAll versions0:8.70-14.el6_3.1
ghostscript-gtk Red Hat:enterprise_linux:6::workstationAll versions0:8.70-14.el6_3.1

Products include Argyllcms Cms, Color Icclib, Ghostscript Ghostscript.

How do I fix CVE-2012-4405?

Apply the vendor's patch.

Is CVE-2012-4405 being exploited?

There is no known exploitation of CVE-2012-4405 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2012-4405, DSA-2595-1, GHSA-6vmw-rrmp-q45c, RHSA-2012:1256.

Is CVE-2012-4405 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free