ImageMagick: Buffer Overflow (CVE-2004-0827)
Published Sources: CVE.org
What is affected, what to do
Multiple buffer overflows in the ImageMagick graphics library 5.x before 5.4.4, and 6.x before 6.0.6.2, allow remote attackers to cause a denial of service (application crash) and possibly execute arbitrary code via malformed (1) AVI, (2) BMP, or (3) DIB files.
The available sources name no fixed version. Check the vendor guidance in the references below.
- Affected
- Enlightenment Imlib
eq 1.9..1.9 - Enlightenment Imlib
eq 1.9.1..1.9.1 - Enlightenment Imlib
eq 1.9.2..1.9.2 - Enlightenment Imlib
eq 1.9.3..1.9.3 - Enlightenment Imlib
eq 1.9.4..1.9.4 - Enlightenment Imlib
eq 1.9.5..1.9.5 - Enlightenment Imlib
eq 1.9.6..1.9.6 - Enlightenment Imlib
eq 1.9.7..1.9.7 - Enlightenment Imlib
eq 1.9.8..1.9.8 - Enlightenment Imlib
eq 1.9.9..1.9.9 - Enlightenment Imlib
eq 1.9.10..1.9.10 - Enlightenment Imlib
eq 1.9.11..1.9.11 - Enlightenment Imlib
eq 1.9.12..1.9.12 - Enlightenment Imlib
eq 1.9.13..1.9.13 - Enlightenment Imlib
eq 1.9.14..1.9.14 - Enlightenment Imlib2
eq 1.0..1.0 - Enlightenment Imlib2
eq 1.0.1..1.0.1 - Enlightenment Imlib2
eq 1.0.2..1.0.2 - Enlightenment Imlib2
eq 1.0.3..1.0.3 - Enlightenment Imlib2
eq 1.0.4..1.0.4 - Enlightenment Imlib2
eq 1.0.5..1.0.5 - Enlightenment Imlib2
eq 1.1..1.1 - Enlightenment Imlib2
eq 1.1.1..1.1.1 - ImageMagick
eq 5.3.3..5.3.3 - ImageMagick
eq 5.4.3..5.4.3 - ImageMagick
eq 5.4.4.5..5.4.4.5 - ImageMagick
eq 5.4.7..5.4.7 - ImageMagick
eq 5.4.8..5.4.8 - ImageMagick
eq 5.4.8.2.1.1.0..5.4.8.2.1.1.0 - ImageMagick
eq 5.5.3.2.1.2.0..5.5.3.2.1.2.0 - ImageMagick
eq 5.5.6.0_2003-04-09..5.5.6.0_2003-04-09 - ImageMagick
eq 5.5.7..5.5.7 - ImageMagick
eq 6.0.2..6.0.2 - Sun Java Desktop System
eq 2.0..2.0 - Sun Java Desktop System
eq 2003..2003 - Conectiva Conectiva Linux prg graficos
eq 9.0..9.0 - Conectiva Conectiva Linux prg graficos
eq 10.0..10.0 - MandrakeSoft Mandrake Linux
eq 9.2..9.2 - MandrakeSoft Mandrake Linux
eq 10.0..10.0 - MandrakeSoft Mandrake Corporate Server
eq 2.1..2.1 - Redhat Enterprise Linux
eq 2.1..2.1 - Redhat Enterprise Linux
eq 3.0..3.0 - Redhat Enterprise Linux Desktop
eq 3.0..3.0 - Red Hat Fedora Core
eq core_1.0..core_1.0 - Red Hat Fedora Core
eq core_2.0..core_2.0 - Red Hat Fedora Core
eq core_3.0..core_3.0 - Red Hat Linux Advanced Workstation
eq 2.1..2.1 - SuSE SuSE Linux
eq 8.0..8.0 - SuSE SuSE Linux
eq 8.1..8.1 - SuSE SuSE Linux
eq 8.2..8.2 - SuSE SuSE Linux
eq 9.0..9.0 - SuSE SuSE Linux
eq 9.1..9.1 - SuSE SuSE Linux
eq 9.2..9.2 - Turbolinux
eq desktop_10.0..desktop_10.0 - Turbolinux
eq server_7.0..server_7.0 - Turbolinux
eq server_8.0..server_8.0 - Turbolinux
eq workstation_7.0..workstation_7.0 - Turbolinux
eq workstation_8.0..workstation_8.0 - Ubuntu Linux
eq 4.1..4.1
- Enlightenment Imlib
Not sure whether and how you are affected? Ask a question about this vulnerability
Metrics
—
Priority
No value is available for this vulnerability.
—
CVSS v3
No value is available for this vulnerability.
5.5 %
EPSS score
Moderate — model estimates 1-10% exploitation likelihood.
Source: FIRST EPSS, percentile 92.8
Show all metrics
- Severity
- Not rated
Priority (0–325)
The priority score is a consolidated metric that condenses several individual signals into a single, action-guiding ranking: technical severity (CVSS), exploitation likelihood (EPSS), known-exploited status (KEV) and the context of the affected asset. The aim is to answer the only truly important question in vulnerability management: what first?
Read in glossary- 68.87 Methodology
Exploit maturity
An exploit is code or a technique that specifically uses a concrete vulnerability to force unintended behaviour — such as executing code or escalating privileges. It is the tool that turns a theoretical flaw into a practical attack.
Read in glossary- no public PoC known
EPSS score
The EPSS score is the absolute model output for an individual vulnerability: the estimated probability of real-world exploitation within the next 30 days, expressed as a value between 0 and 1 (i.e. 0 % to 100 %). A score of 0.42 means „the model estimates a 42 % chance of real-world exploitation within 30 days“.
Read in glossary- 5.5 %
- Moderate — model estimates 1-10% exploitation likelihood.
EPSS percentile
The EPSS percentile is the relative position of a vulnerability within all EPSS-scored CVEs, expressed as a value between 0 and 1. A percentile of 0.90 means „this CVE has a higher EPSS score than 90 % of all other scored CVEs“. Unlike the EPSS score, it is not a probability — but a positioning within a ranking.
Read in glossary- 92.8
- Critical — this CVE ranks in the top fifth of all CVEs scored today (rank ≥ 80%).
KEV status
The KEV catalogue is a list maintained by the US authority CISA of vulnerabilities for which active exploitation in the wild has been confirmed. It answers not the question „how severe?“ but „is it already being attacked?“ — thereby sharply prioritising patching.
Read in glossary- —
- Published
Detection rules
No NEOSEC detection rule is available for this vulnerability yet.
Classification under NIS2 and CRA
Rule-based classification from exploitation status and severity. It does not replace a case-by-case assessment.
NIS2
NIS2 is EU Directive (EU) 2022/2555 to raise the level of cybersecurity across the Union. It substantially broadens obligations compared with the first NIS directive: more sectors, mandatory risk management, staged reporting duties and personal accountability of senior management.
Read in glossary- Handle the vulnerability in regular vulnerability handling under Art. 21(2)(e) NIS2.
CRA
The CRA is EU Regulation (EU) 2024/2847 setting horizontal cybersecurity requirements for „products with digital elements“ — from industrial controllers and software to connected consumer devices. For the first time manufacturers must ensure security across the entire product lifecycle, handle vulnerabilities and provide security updates.
Read in glossary- From 11.12.2027, Annex I Part II CRA requires manufacturers of affected products with digital elements to handle vulnerabilities without delay and provide security updates.
ISO/IEC 27001
ISO/IEC 27001 is the internationally leading standard for an information security management system (ISMS). It describes a risk-based, process-oriented framework to systematically plan, implement, review and improve information security.
Read in glossary- Control A.8.8, management of technical vulnerabilities: assess relevance to your systems, plan remediation and keep evidence.
Description
Multiple buffer overflows in the ImageMagick graphics library 5.x before 5.4.4, and 6.x before 6.0.6.2, allow remote attackers to cause a denial of service (application crash) and possibly execute arbitrary code via malformed (1) AVI, (2) BMP, or (3) DIB files.
Source: cvelistv5, NVD (NIST)
Affected products
The following versions are affected. Older releases of the same product line are also vulnerable unless stated otherwise.
| Affected versions | Fixed in | ||
|---|---|---|---|
| enlightenment | imlib |
|
|
| enlightenment | imlib2 |
|
|
| imagemagick | imagemagick |
|
|
| sun | java_desktop_system |
|
|
Vendors and products
- Conectiva Conectiva Conectiva Linux prg graficos
- Enlightenment Imlib
- Enlightenment Imlib2
- ImageMagick ImageMagick
- Mandrakesoft MandrakeSoft Mandrake Linux
- Mandrakesoft MandrakeSoft Mandrake Corporate Server
- Red Hat Redhat Enterprise Linux
- Red Hat Redhat Enterprise Linux Desktop
- Red Hat Fedora Core
- Red Hat Red Hat Linux Advanced Workstation
- Sunnet Sun Java Desktop System
- SUSE SuSE SuSE Linux
Affected operating systems
| Linux | redhat | enterprise_linux | 2.1 |
| Linux | redhat | enterprise_linux | 3.0 |
| Linux | redhat | enterprise_linux_desktop | 3.0 |
| Linux | redhat | fedora_core | core_1.0 |
| Linux | redhat | fedora_core | core_2.0 |
| Linux | redhat | fedora_core | core_3.0 |
| Linux | conectiva | linux | 10.0 |
| Linux | conectiva | linux | 9.0 |
| Linux | redhat | linux_advanced_workstation | 2.1 |
| Linux | mandrakesoft | mandrake_linux | 10.0 |
| Linux | mandrakesoft | mandrake_linux | 9.2 |
| Linux | mandrakesoft | mandrake_linux_corporate_server | 2.1 |
| Linux | suse | suse_linux | 8.0 |
| Linux | suse | suse_linux | 8.1 |
| Linux | suse | suse_linux | 8.2 |
| Linux | suse | suse_linux | 9.0 |
| Linux | suse | suse_linux | 9.1 |
| Linux | suse | suse_linux | 9.2 |
| Linux | turbolinux | turbolinux | desktop_10.0 |
| Linux | turbolinux | turbolinux | server_7.0 |
| Linux | turbolinux | turbolinux | server_8.0 |
| Linux | turbolinux | turbolinux | workstation_7.0 |
| Linux | turbolinux | turbolinux | workstation_8.0 |
| Linux | ubuntu | ubuntu_linux | 4.1 |
References & sources
- oval.cisecurity.orgoval:org.mitre.oval:def:11123Vulnerability database, signature, x_refsource_OVAL
- vupen.comADV-2008-0412Vulnerability database, x_refsource_VUPEN
- sunsolve.sun.com201006Vendor advisory, x_refsource_SUNALERT
- debian.orgDSA-547Vendor advisory, x_refsource_DEBIAN
- redhat.comRHSA-2004:494Vendor advisory, x_refsource_REDHAT
- redhat.comRHSA-2004:480Vendor advisory, x_refsource_REDHAT
- sunsolve.sun.com231321Vendor advisory, x_refsource_SUNALERT
- exchange.xforce.ibmcloud.comimagemagick-bmp-Bo(17173)Vulnerability database, x_refsource_XF
- secunia.com28800Third-party advisory, x_refsource_SECUNIA
Embed badge
Show the severity and KEV status of this vulnerability on your site – with a link back here. The image is updated hourly.
<a href="https://intel.neosec.eu/en/cve/CVE-2004-0827"><img src="https://intel.neosec.eu/badge/cve/CVE-2004-0827.svg?lang=en" alt="CVE-2004-0827 – NEOSEC Intel" height="20"></a>