CVE-2026-67446

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.
Configurations

No configuration.

History

18 Oct 2026, 20:10

Type Values Removed Values Added
Summary
  • (es) Mailpit es una herramienta de prueba de correo electrónico y una API para desarrolladores. Antes de la versión 1.30.4, Mailpit decodifica los archivos adjuntos de imagen suministrados por el atacante en un ráster completo antes de verificar las dimensiones decodificadas, el recuento de píxeles o el uso de memoria en el endpoint GET /api/v1/message/{id}/part/{partID}/thumb. El gestor de miniaturas en server/apiv1/thumbnails.go obtiene los bytes del archivo adjunto a través de storage.GetAttachmentPart(), acepta contenido image/* y llama a imaging.Decode() con AutoOrientation antes de que imaging.Fill() escale la imagen a 180 por 120 píxeles. Una imagen compacta que declara dimensiones muy grandes puede, por lo tanto, consumir una cantidad desproporcionadamente grande de memoria y CPU, y abrir la interfaz de usuario del mensaje puede activar el mismo endpoint a través de server/ui-src/components/message/MessageAttachments.vue. Esto puede degradar la disponibilidad cuando un cliente no autenticado puede almacenar el archivo adjunto manipulado y alcanzar la API web. Este problema está solucionado en la versión 1.30.4.

Information

Published : 2026-08-20 21:17

Updated : 2026-10-18 20:10


NVD link : CVE-2026-67446

Mitre link : CVE-2026-67446

CVE.ORG link : CVE-2026-67446


JSON object : View

Products Affected

No product.

CWE
CWE-400

Uncontrolled Resource Consumption

CWE-770

Allocation of Resources Without Limits or Throttling