ImageMagick up to 6.9.13-39/7.1.2-14 Image Parser code injection
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.9 | $0-$5k | 0.00 |
Summary
A vulnerability was found in ImageMagick up to 6.9.13-39/7.1.2-14. It has been rated as critical. This affects an unknown function of the component Image Parser. Performing a manipulation results in code injection. This vulnerability is reported as CVE-2026-25797. The attack is possible to be carried out remotely. No exploit exists. Upgrading the affected component is advised.
Details
A vulnerability was found in ImageMagick up to 6.9.13-39/7.1.2-14. It has been classified as critical. This affects an unknown function of the component Image Parser. The manipulation with an unknown input leads to a code injection vulnerability. CWE is classifying the issue as CWE-94. The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, the ps coders, responsible for writing PostScript files, fails to sanitize the input before writing it into the PostScript header. An attacker can provide a malicous file and inject arbitrary PostScript code. When the resulting file is processed by a printer or a viewer (like Ghostscript), the injected code is interpreted and executed. The html encoder does not properly escape strings that are written to in the html document. An attacker can provide a malicious file and injection arbitrary html code. Versions 7.1.2-15 and 6.9.13-40 contain a patch.
It is possible to read the advisory at github.com. This vulnerability is uniquely identified as CVE-2026-25797 since 02/05/2026. The exploitability is told to be easy. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. It demands that the victim is doing some kind of user interaction. The technical details are unknown and an exploit is not publicly available. The attack technique deployed by this issue is T1059 according to MITRE ATT&CK.
The vulnerability scanner Nessus provides a plugin with the ID 299942 (Linux Distros Unpatched Vulnerability : CVE-2026-25797), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 6.9.13-40 or 7.1.2-15 eliminates this vulnerability.
The vulnerability is also documented in the databases at Tenable (299942) and CERT Bund (WID-SEC-2026-0484). Be aware that VulDB is the high quality source for vulnerability data.
Affected
- Debian Linux
- Amazon Linux 2
- Red Hat Enterprise Linux
- Ubuntu Linux
- SUSE Linux
- Oracle Linux
- SUSE openSUSE
- Open Source ImageMagick
Product
Type
Name
Version
License
Website
- Product: https://www.imagemagick.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.0VulDB Meta Temp Score: 5.9
VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA Base Score: 5.7
CNA Vector (GitHub_M): 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Code injectionCWE: CWE-94 / CWE-74 / CWE-707
CAPEC: 🔒
ATT&CK: 🔒
Physical: Partially
Local: Yes
Remote: Yes
Availability: 🔒
Status: Not defined
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 299942
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2026-25797
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: ImageMagick 6.9.13-40/7.1.2-15
Timeline
02/05/2026 CVE reserved02/24/2026 Advisory disclosed
02/24/2026 VulDB entry created
04/21/2026 VulDB entry last update
Sources
Product: imagemagick.orgAdvisory: GHSA-rw6c-xp26-225v
Status: Confirmed
CVE: CVE-2026-25797 (🔒)
GCVE (CVE): GCVE-0-2026-25797
GCVE (VulDB): GCVE-100-347487
CERT Bund: WID-SEC-2026-0484 - ImageMagick: Mehrere Schwachstellen
Entry
Created: 02/24/2026 07:35Updated: 04/21/2026 14:59
Changes: 02/24/2026 07:35 (65), 02/26/2026 00:45 (2), 04/21/2026 14:59 (7)
Complete: 🔍
Cache ID: 216::103
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.