# CVE-2026-67446: Mailpit: Thumbnail generation decodes unbounded image dimensions before scaling

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-08-20 · Modified: 2026-08-21
- Aliases: GHSA-75mr-qw9x-3r39, GO-2026-6359
- Record: https://cvemate.com/vulnerability/CVE-2026-67446 · JSON: https://cvemate.com/vulnerability/CVE-2026-67446/json

## Description

```text
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.
```

## Signals

- CVSS: 5.3 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- EPSS: 0.451%, percentile 40.935%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- axllent mailpit: \< 1.30.4
- github.com/axllent mailpit (Go): \< 1.30.4

## References

- <https://github.com/axllent/mailpit/security/advisories/GHSA-75mr-qw9x-3r39>
- <https://github.com/axllent/mailpit/commit/6bcb6337838b542d53c348e38c7977f569b6db35>
- <https://github.com/axllent/mailpit/releases/tag/v1.30.4>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-67446>
- <https://github.com/axllent/mailpit>

---

Data as of 2026-12-05T14:01:15.271Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
