{"document":{"aggregate_severity":{"namespace":"https://access.redhat.com/security/updates/classification/","text":"Important"},"category":"csaf_vex","csaf_version":"2.0","distribution":{"text":"Copyright © Red Hat, Inc. All rights reserved.","tlp":{"label":"WHITE","url":"https://www.first.org/tlp/"}},"lang":"en","notes":[{"category":"legal_disclaimer","text":"This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.","title":"Terms of Use"}],"publisher":{"category":"vendor","contact_details":"https://access.redhat.com/security/team/contact/","issuing_authority":"Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.","name":"Red Hat Product Security","namespace":"https://www.redhat.com"},"references":[{"category":"self","summary":"Canonical URL","url":"https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-55298.json"}],"title":"ImageMagick: ImageMagick Format String Bug in InterpretImageFilename leads to arbitrary code execution","tracking":{"current_release_date":"2026-07-14T05:36:58+00:00","generator":{"date":"2026-07-14T05:36:58+00:00","engine":{"name":"Red Hat SDEngine","version":"5.3.2"}},"id":"CVE-2025-55298","initial_release_date":"2025-08-26T17:20:17.112000+00:00","revision_history":[{"date":"2025-08-26T17:20:17.112000+00:00","number":"1","summary":"Initial version"},{"date":"2026-02-02T07:28:14.391349+00:00","number":"2","summary":"Current version"},{"date":"2026-07-14T05:36:58+00:00","number":"3","summary":"Last generated version"}],"status":"final","version":"3"}},"product_tree":{"branches":[{"branches":[{"branches":[{"category":"product_name","name":"Red Hat Enterprise Linux 6","product":{"name":"Red Hat Enterprise Linux 6","product_id":"red_hat_enterprise_linux_6","product_identification_helper":{"cpe":"cpe:/o:redhat:enterprise_linux:6"}}}],"category":"product_family","name":"Red Hat Enterprise Linux 6"},{"branches":[{"category":"product_name","name":"Red Hat Enterprise Linux 7","product":{"name":"Red Hat Enterprise Linux 7","product_id":"red_hat_enterprise_linux_7","product_identification_helper":{"cpe":"cpe:/o:redhat:enterprise_linux:7"}}}],"category":"product_family","name":"Red Hat Enterprise Linux 7"},{"category":"product_version","name":"ImageMagick-c++","product":{"name":"ImageMagick-c++","product_id":"ImageMagick-c++","product_identification_helper":{"purl":"pkg:rpm/redhat/ImageMagick-c%2B%2B"}}},{"category":"product_version","name":"ImageMagick","product":{"name":"ImageMagick","product_id":"ImageMagick","product_identification_helper":{"purl":"pkg:rpm/redhat/ImageMagick"}}},{"category":"product_version","name":"ImageMagick-perl","product":{"name":"ImageMagick-perl","product_id":"ImageMagick-perl","product_identification_helper":{"purl":"pkg:rpm/redhat/ImageMagick-perl"}}},{"category":"product_version","name":"ImageMagick-doc","product":{"name":"ImageMagick-doc","product_id":"ImageMagick-doc","product_identification_helper":{"purl":"pkg:rpm/redhat/ImageMagick-doc"}}},{"category":"product_version","name":"ImageMagick-devel","product":{"name":"ImageMagick-devel","product_id":"ImageMagick-devel","product_identification_helper":{"purl":"pkg:rpm/redhat/ImageMagick-devel"}}},{"category":"product_version","name":"ImageMagick.src","product":{"name":"ImageMagick.src","product_id":"ImageMagick.src","product_identification_helper":{"purl":"pkg:rpm/redhat/ImageMagick?arch=src"}}},{"category":"product_version","name":"ImageMagick-c++-devel","product":{"name":"ImageMagick-c++-devel","product_id":"ImageMagick-c++-devel","product_identification_helper":{"purl":"pkg:rpm/redhat/ImageMagick-c%2B%2B-devel"}}}],"category":"vendor","name":"Red Hat"}],"relationships":[{"category":"default_component_of","full_product_name":{"name":"ImageMagick as a component of Red Hat Enterprise Linux 6","product_id":"red_hat_enterprise_linux_6:ImageMagick"},"product_reference":"ImageMagick","relates_to_product_reference":"red_hat_enterprise_linux_6"},{"category":"default_component_of","full_product_name":{"name":"ImageMagick-c++ as a component of Red Hat Enterprise Linux 6","product_id":"red_hat_enterprise_linux_6:ImageMagick-c++"},"product_reference":"ImageMagick-c++","relates_to_product_reference":"red_hat_enterprise_linux_6"},{"category":"default_component_of","full_product_name":{"name":"ImageMagick-c++-devel as a component of Red Hat Enterprise Linux 6","product_id":"red_hat_enterprise_linux_6:ImageMagick-c++-devel"},"product_reference":"ImageMagick-c++-devel","relates_to_product_reference":"red_hat_enterprise_linux_6"},{"category":"default_component_of","full_product_name":{"name":"ImageMagick-devel as a component of Red Hat Enterprise Linux 6","product_id":"red_hat_enterprise_linux_6:ImageMagick-devel"},"product_reference":"ImageMagick-devel","relates_to_product_reference":"red_hat_enterprise_linux_6"},{"category":"default_component_of","full_product_name":{"name":"ImageMagick-doc as a component of Red Hat Enterprise Linux 6","product_id":"red_hat_enterprise_linux_6:ImageMagick-doc"},"product_reference":"ImageMagick-doc","relates_to_product_reference":"red_hat_enterprise_linux_6"},{"category":"default_component_of","full_product_name":{"name":"ImageMagick-perl as a component of Red Hat Enterprise Linux 6","product_id":"red_hat_enterprise_linux_6:ImageMagick-perl"},"product_reference":"ImageMagick-perl","relates_to_product_reference":"red_hat_enterprise_linux_6"},{"category":"default_component_of","full_product_name":{"name":"ImageMagick.src as a component of Red Hat Enterprise Linux 6","product_id":"red_hat_enterprise_linux_6:ImageMagick.src"},"product_reference":"ImageMagick.src","relates_to_product_reference":"red_hat_enterprise_linux_6"},{"category":"default_component_of","full_product_name":{"name":"ImageMagick as a component of Red Hat Enterprise Linux 7","product_id":"red_hat_enterprise_linux_7:ImageMagick"},"product_reference":"ImageMagick","relates_to_product_reference":"red_hat_enterprise_linux_7"},{"category":"default_component_of","full_product_name":{"name":"ImageMagick-c++ as a component of Red Hat Enterprise Linux 7","product_id":"red_hat_enterprise_linux_7:ImageMagick-c++"},"product_reference":"ImageMagick-c++","relates_to_product_reference":"red_hat_enterprise_linux_7"},{"category":"default_component_of","full_product_name":{"name":"ImageMagick-c++-devel as a component of Red Hat Enterprise Linux 7","product_id":"red_hat_enterprise_linux_7:ImageMagick-c++-devel"},"product_reference":"ImageMagick-c++-devel","relates_to_product_reference":"red_hat_enterprise_linux_7"},{"category":"default_component_of","full_product_name":{"name":"ImageMagick-devel as a component of Red Hat Enterprise Linux 7","product_id":"red_hat_enterprise_linux_7:ImageMagick-devel"},"product_reference":"ImageMagick-devel","relates_to_product_reference":"red_hat_enterprise_linux_7"},{"category":"default_component_of","full_product_name":{"name":"ImageMagick-doc as a component of Red Hat Enterprise Linux 7","product_id":"red_hat_enterprise_linux_7:ImageMagick-doc"},"product_reference":"ImageMagick-doc","relates_to_product_reference":"red_hat_enterprise_linux_7"},{"category":"default_component_of","full_product_name":{"name":"ImageMagick-perl as a component of Red Hat Enterprise Linux 7","product_id":"red_hat_enterprise_linux_7:ImageMagick-perl"},"product_reference":"ImageMagick-perl","relates_to_product_reference":"red_hat_enterprise_linux_7"},{"category":"default_component_of","full_product_name":{"name":"ImageMagick.src as a component of Red Hat Enterprise Linux 7","product_id":"red_hat_enterprise_linux_7:ImageMagick.src"},"product_reference":"ImageMagick.src","relates_to_product_reference":"red_hat_enterprise_linux_7"}]},"vulnerabilities":[{"cve":"CVE-2025-55298","cwe":{"id":"CWE-134","name":"Use of Externally-Controlled Format String"},"discovery_date":"2025-08-26T18:01:08.653948+00:00","flags":[{"label":"vulnerable_code_not_present","product_ids":["red_hat_enterprise_linux_7:ImageMagick","red_hat_enterprise_linux_7:ImageMagick-c++","red_hat_enterprise_linux_7:ImageMagick-c++-devel","red_hat_enterprise_linux_7:ImageMagick-devel","red_hat_enterprise_linux_7:ImageMagick-doc","red_hat_enterprise_linux_7:ImageMagick-perl","red_hat_enterprise_linux_7:ImageMagick.src"]}],"ids":[{"system_name":"Red Hat Bugzilla ID","text":"2391097"}],"notes":[{"category":"description","text":"A flaw was found in ImageMagick. Processing a file with a specially crafted name, specifically one with format specifiers such as %d, %o, or %x, can trigger a format string bug due to improper input sanitization, resulting in a heap-based buffer over-read or arbitrary code execution.","title":"Vulnerability description"},{"category":"summary","text":"ImageMagick: ImageMagick Format String Bug in InterpretImageFilename leads to arbitrary code execution","title":"Vulnerability summary"},{"category":"other","text":"This issue can cause a heap-based buffer over-read or arbitrary code execution via a crafted filename. However, default Red Hat Enterprise Linux security features such as SELinux enforcement, Address Space Layout Randomization (ASLR) and memory protections reduce the possibility of exploitation, limiting the impact to a denial of service.\n\nAdditionally, ImageMagick is not shipped in Red Hat Enterprise Linux 8, 9 and 10. Therefore, these versions are not affected by this vulnerability.","title":"Statement"},{"category":"general","text":"The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.","title":"CVSS score applicability"}],"product_status":{"known_affected":["red_hat_enterprise_linux_6:ImageMagick","red_hat_enterprise_linux_6:ImageMagick-c++","red_hat_enterprise_linux_6:ImageMagick-c++-devel","red_hat_enterprise_linux_6:ImageMagick-devel","red_hat_enterprise_linux_6:ImageMagick-doc","red_hat_enterprise_linux_6:ImageMagick-perl","red_hat_enterprise_linux_6:ImageMagick.src"],"known_not_affected":["red_hat_enterprise_linux_7:ImageMagick","red_hat_enterprise_linux_7:ImageMagick-c++","red_hat_enterprise_linux_7:ImageMagick-c++-devel","red_hat_enterprise_linux_7:ImageMagick-devel","red_hat_enterprise_linux_7:ImageMagick-doc","red_hat_enterprise_linux_7:ImageMagick-perl","red_hat_enterprise_linux_7:ImageMagick.src"]},"references":[{"category":"self","summary":"Canonical URL","url":"https://access.redhat.com/security/cve/CVE-2025-55298"},{"category":"external","summary":"RHBZ#2391097","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2391097"},{"category":"external","summary":"https://www.cve.org/CVERecord?id=CVE-2025-55298","url":"https://www.cve.org/CVERecord?id=CVE-2025-55298"},{"category":"external","summary":"https://nvd.nist.gov/vuln/detail/CVE-2025-55298","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-55298"},{"category":"external","summary":"https://github.com/ImageMagick/ImageMagick/commit/439b362b93c074eea6c3f834d84982b43ef057d5","url":"https://github.com/ImageMagick/ImageMagick/commit/439b362b93c074eea6c3f834d84982b43ef057d5"},{"category":"external","summary":"https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-9ccg-6pjw-x645","url":"https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-9ccg-6pjw-x645"},{"category":"external","summary":"https://github.com/dlemstra/Magick.NET/releases/tag/14.8.1","url":"https://github.com/dlemstra/Magick.NET/releases/tag/14.8.1"}],"release_date":"2025-08-26T17:20:17.112000+00:00","remediations":[{"category":"workaround","details":"To prevent unintended interpretation of the filename as a format string, users can explicitly disable format string parsing by defining the filename as a literal. This can be done using the following directive:\n\nIn wrappers: filename:literal\nFrom the command line: -define filename:literal=true","product_ids":["red_hat_enterprise_linux_6:ImageMagick","red_hat_enterprise_linux_6:ImageMagick-c++","red_hat_enterprise_linux_6:ImageMagick-c++-devel","red_hat_enterprise_linux_6:ImageMagick-devel","red_hat_enterprise_linux_6:ImageMagick-doc","red_hat_enterprise_linux_6:ImageMagick-perl","red_hat_enterprise_linux_6:ImageMagick.src"]},{"category":"no_fix_planned","details":"Out of support scope","product_ids":["red_hat_enterprise_linux_6:ImageMagick","red_hat_enterprise_linux_6:ImageMagick-c++","red_hat_enterprise_linux_6:ImageMagick-c++-devel","red_hat_enterprise_linux_6:ImageMagick-devel","red_hat_enterprise_linux_6:ImageMagick-doc","red_hat_enterprise_linux_6:ImageMagick-perl","red_hat_enterprise_linux_6:ImageMagick.src"]}],"scores":[{"cvss_v3":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"products":["red_hat_enterprise_linux_6:ImageMagick","red_hat_enterprise_linux_6:ImageMagick-c++","red_hat_enterprise_linux_6:ImageMagick-c++-devel","red_hat_enterprise_linux_6:ImageMagick-devel","red_hat_enterprise_linux_6:ImageMagick-doc","red_hat_enterprise_linux_6:ImageMagick-perl","red_hat_enterprise_linux_6:ImageMagick.src","red_hat_enterprise_linux_7:ImageMagick","red_hat_enterprise_linux_7:ImageMagick-c++","red_hat_enterprise_linux_7:ImageMagick-c++-devel","red_hat_enterprise_linux_7:ImageMagick-devel","red_hat_enterprise_linux_7:ImageMagick-doc","red_hat_enterprise_linux_7:ImageMagick-perl","red_hat_enterprise_linux_7:ImageMagick.src"]}],"threats":[{"category":"impact","details":"Important","product_ids":["red_hat_enterprise_linux_6:ImageMagick","red_hat_enterprise_linux_6:ImageMagick-c++","red_hat_enterprise_linux_6:ImageMagick-c++-devel","red_hat_enterprise_linux_6:ImageMagick-devel","red_hat_enterprise_linux_6:ImageMagick-doc","red_hat_enterprise_linux_6:ImageMagick-perl","red_hat_enterprise_linux_6:ImageMagick.src","red_hat_enterprise_linux_7:ImageMagick","red_hat_enterprise_linux_7:ImageMagick-c++","red_hat_enterprise_linux_7:ImageMagick-c++-devel","red_hat_enterprise_linux_7:ImageMagick-devel","red_hat_enterprise_linux_7:ImageMagick-doc","red_hat_enterprise_linux_7:ImageMagick-perl","red_hat_enterprise_linux_7:ImageMagick.src"]}],"title":"ImageMagick: ImageMagick Format String Bug in InterpretImageFilename leads to arbitrary code execution"}]}