Katalog CVE

CVE-2026-59942

WysokieCVSS 7.5
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.40%

Percentyl 32 - wyżej niż 32% wszystkich znanych CVE

Streszczenie

W Dompdf w wersjach 3.15 i wcześniejszych istnieje podatność na atak DoS przez wyczerpanie zasobów. Atakujący może przesłać specjalnie spreparowany dokument HTML z pojedynczym obrazem o ogromnych wymiarach (np. 30 000x30 000 pikseli), co powoduje alokację dużych ilości pamięci i czasu CPU. Problem rozwiązano w wersji 3.16.

Ocena ryzyka

Nieuwierzytelniony atakujący może spowodować całkowitą odmowę usługi (DoS) na serwerze WWW, wysyłając pojedyncze żądanie HTTP z spreparowanym HTML.

Rekomendacja

Należy zaktualizować Dompdf do wersji 3.16 lub nowszej.

Inne podatności w Dompdf

Zobacz wszystkie
Oryginalny opis (angielski, źródło NVD)

Dompdf is an HTML to PDF converter for PHP. Versions 3.15 and prior are vulnerable to a Denial of Service (DoS) attack via resource exhaustion. An attacker can crash the PHP process by providing a specially crafted HTML document containing a single image with massive dimensions (e.g., 30,000x30,000 pixels). While Dompdf implements internal checks to validate image dimensions, these can be bypassed by using a high-entropy image (such as random noise) encoded in Base64 and wrapped in specific CSS containers. The vulnerability exists because the dimension validation happens early, but the resource allocation for calculating the object's bounding box and internal buffers during the rendering phase does not strictly limit the cumulative CPU time or memory usage for a single object that has passed the initial check. An unauthenticated remote attacker can cause a complete Denial of Service on the web server by submitting a crafted HTML string. This affects any application that allows users to provide HTML content or URLs that are subsequently converted to PDF using Dompdf. This issue has been fixed in version 3.16.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS