CVE-2008-0411 Memory corruption in n/a

Medium 6.8 Published Updated

Remote attackers can execute arbitrary code by tricking users into opening a malicious PostScript file with a long Range array in Ghostscript.

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-2008-0411?

CVE-2008-0411 is a medium-severity memory corruption vulnerability in n/a, published on 28 Feb 2008. 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

Stack-based buffer overflow in the zseticcspace function in zicc.c in Ghostscript 8.61 and earlier allows remote attackers to execute arbitrary code via a postscript (.ps) file containing a long Range array in a .seticcspace operator.

Weakness: CWE-119

Which versions are affected by CVE-2008-0411?

It affects 1 product.

Linux distribution packages (40)
ghostscript Red Hat:enterprise_linux:3::asAll versions0:7.05-32.1.13
ghostscript-debuginfo Red Hat:enterprise_linux:3::asAll versions0:7.05-32.1.13
ghostscript-devel Red Hat:enterprise_linux:3::asAll versions0:7.05-32.1.13
hpijs Red Hat:enterprise_linux:3::asAll versions0:1.3-32.1.13
ghostscript Red Hat:enterprise_linux:3::desktopAll versions0:7.05-32.1.13
ghostscript-debuginfo Red Hat:enterprise_linux:3::desktopAll versions0:7.05-32.1.13
ghostscript-devel Red Hat:enterprise_linux:3::desktopAll versions0:7.05-32.1.13
hpijs Red Hat:enterprise_linux:3::desktopAll versions0:1.3-32.1.13
ghostscript Red Hat:enterprise_linux:3::esAll versions0:7.05-32.1.13
ghostscript-debuginfo Red Hat:enterprise_linux:3::esAll versions0:7.05-32.1.13
ghostscript-devel Red Hat:enterprise_linux:3::esAll versions0:7.05-32.1.13
hpijs Red Hat:enterprise_linux:3::esAll versions0:1.3-32.1.13
ghostscript Red Hat:enterprise_linux:3::wsAll versions0:7.05-32.1.13
ghostscript-debuginfo Red Hat:enterprise_linux:3::wsAll versions0:7.05-32.1.13
ghostscript-devel Red Hat:enterprise_linux:3::wsAll versions0:7.05-32.1.13
hpijs Red Hat:enterprise_linux:3::wsAll versions0:1.3-32.1.13
ghostscript Red Hat:enterprise_linux:4::asAll versions0:7.07-33.2.el4_6.1
ghostscript-debuginfo Red Hat:enterprise_linux:4::asAll versions0:7.07-33.2.el4_6.1
ghostscript-devel Red Hat:enterprise_linux:4::asAll versions0:7.07-33.2.el4_6.1
ghostscript-gtk Red Hat:enterprise_linux:4::asAll versions0:7.07-33.2.el4_6.1
ghostscript Red Hat:enterprise_linux:4::desktopAll versions0:7.07-33.2.el4_6.1
ghostscript-debuginfo Red Hat:enterprise_linux:4::desktopAll versions0:7.07-33.2.el4_6.1
ghostscript-devel Red Hat:enterprise_linux:4::desktopAll versions0:7.07-33.2.el4_6.1
ghostscript-gtk Red Hat:enterprise_linux:4::desktopAll versions0:7.07-33.2.el4_6.1
ghostscript Red Hat:enterprise_linux:4::esAll versions0:7.07-33.2.el4_6.1
ghostscript-debuginfo Red Hat:enterprise_linux:4::esAll versions0:7.07-33.2.el4_6.1
ghostscript-devel Red Hat:enterprise_linux:4::esAll versions0:7.07-33.2.el4_6.1
ghostscript-gtk Red Hat:enterprise_linux:4::esAll versions0:7.07-33.2.el4_6.1
ghostscript Red Hat:enterprise_linux:4::wsAll versions0:7.07-33.2.el4_6.1
ghostscript-debuginfo Red Hat:enterprise_linux:4::wsAll versions0:7.07-33.2.el4_6.1
ghostscript-devel Red Hat:enterprise_linux:4::wsAll versions0:7.07-33.2.el4_6.1
ghostscript-gtk Red Hat:enterprise_linux:4::wsAll versions0:7.07-33.2.el4_6.1
ghostscript Red Hat:enterprise_linux:5::clientAll versions0:8.15.2-9.1.el5_1.1
ghostscript-debuginfo Red Hat:enterprise_linux:5::clientAll versions0:8.15.2-9.1.el5_1.1
ghostscript-gtk Red Hat:enterprise_linux:5::clientAll versions0:8.15.2-9.1.el5_1.1
ghostscript Red Hat:enterprise_linux:5::client_workstationAll versions0:8.15.2-9.1.el5_1.1
ghostscript-debuginfo Red Hat:enterprise_linux:5::client_workstationAll versions0:8.15.2-9.1.el5_1.1
ghostscript-devel Red Hat:enterprise_linux:5::client_workstationAll versions0:8.15.2-9.1.el5_1.1
ghostscript Red Hat:enterprise_linux:5::serverAll versions0:8.15.2-9.1.el5_1.1
ghostscript-debuginfo Red Hat:enterprise_linux:5::serverAll versions0:8.15.2-9.1.el5_1.1

Products include Ghostscript Ghostscript.

How do I fix CVE-2008-0411?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2008-0411 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2008-0411 exists.

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as DEBIAN-CVE-2008-0411, DSA-1510-1, GHSA-3xp4-6gjh-55fh, RHSA-2008:0155.

Is CVE-2008-0411 in your software?

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

Check your SBOMs for free