Katalog CVE

CVE-2026-67446

ŚrednieCVSS 5.3
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.37%

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

Streszczenie

W Mailpit przed wersją 1.30.4, endpoint GET /api/v1/message/{id}/part/{partID}/thumb dekoduje załączniki obrazów do pełnej rastry przed sprawdzeniem wymiarów, liczby pikseli lub użycia pamięci. Kompaktowy obraz z bardzo dużymi wymiarami może zużywać nieproporcjonalnie dużo pamięci i CPU, co może prowadzić do degradacji dostępności usługi.

Ocena ryzyka

Podatność może być wykorzystana do ataków typu denial of service, ponieważ nieuwierzytelniony klient może przechowywać spreparowany załącznik i wywołać endpoint, powodując nadmierne zużycie zasobów.

Rekomendacja

Zaleca się aktualizację Mailpit do wersji 1.30.4 lub nowszej, która zawiera poprawkę.

Inne podatności w Mailpit

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

Mailpit is an email testing tool and API for developers. Prior to 1.30.4, Mailpit decodes attacker-supplied image attachments into a full raster before checking decoded dimensions, pixel count, or memory use in the GET /api/v1/message/{id}/part/{partID}/thumb endpoint. The Thumbnail handler in server/apiv1/thumbnails.go obtains attachment bytes through storage.GetAttachmentPart(), accepts image/* content, and calls imaging.Decode() with AutoOrientation before imaging.Fill() scales the image to 180 by 120 pixels. A compact image declaring very large dimensions can therefore consume disproportionately large memory and CPU, and opening the message UI can trigger the same endpoint through server/ui-src/components/message/MessageAttachments.vue. This can degrade availability when an unauthenticated client can store the crafted attachment and reach the web API. This issue is fixed in version 1.30.4.

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