PT-2026-79138 · Mailpit · Mailpit
CVE-2026-67446
·
Published
2026-08-20
·
Updated
2026-09-10
CVSS v3.1
5.3
Medium
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Name of the Vulnerable Software and Affected Versions
Mailpit versions prior to 1.30.4
Description
Mailpit decodes image attachments into a full raster before verifying decoded dimensions, pixel count, or memory usage. This occurs in the GET '/api/v1/message/{id}/part/{partID}/thumb' endpoint. The Thumbnail handler in server/apiv1/thumbnails.go uses storage.GetAttachmentPart() to obtain bytes and calls imaging.Decode() with AutoOrientation before imaging.Fill() scales the image. A compact image with declared large dimensions can cause excessive memory and CPU consumption, potentially degrading availability. This can be triggered by an unauthenticated client storing a crafted attachment or by opening the message UI via server/ui-src/components/message/MessageAttachments.vue.
Recommendations
Update to version 1.30.4.
Exploit
Fix
Resource Exhaustion
Allocation of Resources Without Limits
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Mailpit