Skip to main content

imagemagick-php CVE-2026-112301

| EUVDEUVD-2026-104602 MEDIUM
OS Command Injection (CWE-78)
2026-10-19 VulDB GHSA-v63h-p5cc-2gj9
5.5
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach endpoint invoking Command::font
  2. Exploit
    Inject shell metacharacters in fontFile
  3. Execution
    Command string passed to OS shell
  4. Impact
    Arbitrary OS command execution

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that an application using orbitale/imagemagick-php (≤3.3.5) passes attacker-influenced data into the fontFile argument of Command::font in src/Command.php without sanitization; the shell metacharacters in that value are then executed by the underlying OS. The primary limiting factor is that this is a library component, not a service - so exploitation depends entirely on whether the host application exposes the fontFile parameter to untrusted input and on the OS/shell context in which ImageMagick commands are run. No authentication is required by the library itself (CVSS PR:N), but no fix is available since the vendor did not respond to disclosure.

Impact

This is a textbook CVSS-looks-moderate, real-world-risk-is-context-dependent case. The input CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) with LOW impacts (VC:L/VI:L/VA:L) yields a 5.5 (Medium) score, and E:P explicitly marks a proof-of-concept exploit. However, there is a tension worth flagging: the weakness is CWE-78 OS command injection via the fontFile argument of Command::font, which - if attacker-controlled input actually reaches that argument - typically enables arbitrary command execution and therefore far higher impact than the LOW/LOW/LOW ratings VulDB assigned. The counterweight is that orbitale/imagemagick-php is a LIBRARY, not a standalone service, so the AV:N/PR:N framing assumes the consuming application exposes the fontFile parameter to untrusted input; that reachability is NOT guaranteed by the library itself. No EPSS score and no KEV listing are present in the input, so there is no signal of mass or active exploitation - a publicly available PoC exists, but publicly available exploit code is a distinct and weaker signal than confirmed in-the-wild use. Net: treat as a real but conditional issue - prioritize only where this library is deployed AND application code passes user-influenced data into Command::font.

Exploit ScenarioDerived

A web application uses the orbitale/imagemagick-php library (≤3.3.5) and passes a user-supplied value (e.g. an uploaded or selected font path/name) into Command::font's fontFile argument without sanitization. An attacker submits a crafted fontFile value containing shell metacharacters, which is concatenated into the ImageMagick command line and executed by the OS. A public proof-of-concept exploit has been released (gist by 0xSebin), lowering the barrier to weaponization.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 2.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 19, 2026

OS command injection in orbitale/imagemagick-php through 3.3.5 lets unauthenticated remote attackers inject shell metacharacters through the fontFile argument of Command::font when a host application passes untrusted input to that parameter. Publicly available exploit code exists, but there is no CISA KEV confirmation and exploitation depends entirely on whether the calling application exposes fontFile and on the OS/shell context in which ImageMagick commands run. The vendor did not respond to disclosure, and no vendor-released patch was identified at time of analysis.

RemediationAI

No vendor-released patch was identified at time of analysis; because orbitale/imagemagick-php is a library, remediation first requires checking whether a fixed release becomes available after version 3.3.5. Until then, do not pass user-controlled data into the fontFile argument of Command::font: enforce a server-side allowlist of known font paths or font identifiers and reject shell metacharacters. If escaping cannot be avoided, apply escapeshellarg/escapeshellcmd at the application integration boundary, with the trade-off that legitimate font paths or names containing special characters may break. Run ImageMagick command execution in a low-privilege, isolated container with a read-only filesystem and no unnecessary network access to limit the blast radius if injection succeeds, recognizing that this reduces impact but does not fix the flaw. Monitor the VulDB advisory at https://vuldb.com/vuln/422347 and the public exploit reference at https://gist.github.com/0xSebin/834b7ab2e72d68be51d204193f427a20 for updates.

Affected VersionsENISA

imagemagick-php 3.3.5
imagemagick-php 3.3.3
imagemagick-php 3.3.4
imagemagick-php 3.3.0
imagemagick-php 3.3.1
imagemagick-php 3.3.2

Affected Packages

euvd imagemagick_php no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected component is a PHP wrapper library for ImageMagick; CWE-78 (OS command injection) indicates that the fontFile value is incorporated into a command executed by the underlying operating system without adequate neutralization. The flaw is specifically in src/Command.php in Command::font, and the CPE cpe:2.3:a:orbitale:imagemagick-php:*:*:*:*:*:*:*:* is a wildcard covering the product. Because this is a library rather than a network service, exploitability depends on the host application exposing fontFile to attacker-influenced input and on the shell/OS context used to invoke ImageMagick. The supplied CVSS 4.0 vector scores 5.5 with PR:N, while the independent CVSS 3.1 assessment rates confidentiality, integrity and availability impacts as High; practical risk is therefore context-dependent, but the public exploit code and lack of vendor response raise concern for applications that pass untrusted font paths.

Know when PHP gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 5.5 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
vuln.today AI 9.8 CRITICAL

OS command injection yields arbitrary command execution (C/I/A:H); AV:N and PR:N reflect the library's own lack of auth, assuming an application routes untrusted input to fontFile, with scope unchanged as execution stays in the app context.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
CVSS changed
Oct 19, 2026 - 21:24 NVD
6.9 (MEDIUM) 5.5 (MEDIUM)
CVE Published
Oct 19, 2026 - 20:45 cve.org
MEDIUM 5.5

DescriptionCVE.org

A security flaw has been discovered in orbitale imagemagick-php up to 3.3.5. Affected by this issue is the function Command::font of the file src/Command.php. The manipulation of the argument fontFile results in os command injection. The attack can be executed remotely. The exploit has been released to the public and may be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.

Threat Intelligence Overview

EPSS Score
2.0%
Top 19% exploitable
Prevalence
Low
niche open-source PHP ImageMagick wrapper library, limited adoption
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 2.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

50
Low Medium High Critical
KEV: 0
EPSS: +2
CVSS: +28
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy