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

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 40% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-20T21:10:28.074Z
- Modified: 2026-10-18T20:10:00.110Z
- Also known as: GHSA-75mr-qw9x-3r39, GO-2026-6359
- Weaknesses: CWE-400, CWE-770
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

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

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

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

## Sources

- CVE List: [CVE-2026-67446](https://www.cve.org/CVERecord?id=CVE-2026-67446), CVE Terms of Use, modified 2026-08-21
- GitHub Advisory Database: [GHSA-75mr-qw9x-3r39](https://github.com/advisories/GHSA-75mr-qw9x-3r39), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2026-6359](https://pkg.go.dev/vuln/GO-2026-6359), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-67446](https://nvd.nist.gov/vuln/detail/CVE-2026-67446), Public domain, modified 2026-10-18

---

Page: https://cve.day/CVE-2026-67446 · Whole record: https://cve.day/CVE-2026-67446.json · Rebuilt by cve.day 2026-11-25T22:59:34.703Z
