CVE-2014-5013:
DOMPDF Remote Code Execution
8.8
CVSS ScoreBasic Information
CVE ID
GHSA ID
EPSS Score
-
CWE
Published
5/17/2022
Updated
2/6/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
dompdf/dompdf | composer | >= 0.6, < 0.6.2 | 0.6.2 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from DOMPDF's PHP execution capability (DOMPDF_ENABLE_PHP) which used eval() in PHP_Evaluator::execute. The 0.6.2 release notes mention security fixes related to PHP preprocessing removal. The CWE-94 classification confirms code injection via eval(), and the RCE nature aligns with unrestricted PHP execution through document input. The PHP_Evaluator class is directly responsible for executing embedded PHP code, making it the clear vulnerable component when enabled.