CVE-2014-5012
Description
DOMPDF before 0.6.2 allows denial of service.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
DOMPDF versions before 0.6.2 are vulnerable to a denial of service attack via crafted input, potentially exhausting server resources.
CVE-2014-5012 is a denial of service vulnerability in the DOMPDF library for PHP, affecting versions prior to 0.6.2. The issue was addressed in the security-focused release 0.6.2, which also fixed other vulnerabilities including remote code execution and information disclosure [3]. The exact root cause is not publicly detailed, but it is classified as a "Denial Of Service Vector" with medium severity [3][4].
The vulnerability can be exploited remotely without authentication, likely by providing specially crafted HTML or CSS content that triggers excessive resource consumption during PDF generation. DOMPDF processes user-supplied input to render PDFs, making it a common target for such attacks. The attack vector is through the library's parsing or rendering logic, which may enter an infinite loop or allocate excessive memory [1][2].
Successful exploitation leads to denial of service, potentially causing the server to become unresponsive or crash. This can disrupt services relying on DOMPDF for PDF generation. The impact is limited to availability, but in shared hosting environments, it could affect other applications.
The vulnerability is fixed in DOMPDF version 0.6.2, released in 2014. Users are strongly advised to upgrade to this version or later. No workarounds are documented, but limiting input size and using resource limits may mitigate the risk. The CVE is not listed on CISA's Known Exploited Vulnerabilities catalog.
AI Insight generated on May 21, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
dompdf/dompdfPackagist | >= 0.6, < 0.6.2 | 0.6.2 |
Affected products
2- DOMPDF/DOMPDFdescription
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
5- github.com/advisories/GHSA-q83c-64c9-c42mghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2014-5012ghsaADVISORY
- github.com/FriendsOfPHP/security-advisories/blob/master/dompdf/dompdf/CVE-2014-5012.yamlghsaWEB
- github.com/dompdf/dompdf/compare/v0.6.1...v0.6.2ghsax_refsource_MISCWEB
- github.com/dompdf/dompdf/releases/tag/v0.6.2ghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.