{"id":"CVE-2026-67446","published":"2026-08-20T21:10:28Z","modified":"2026-08-21T14:56:09Z","title":"Mailpit: Thumbnail generation decodes unbounded image dimensions before scaling","vendor":"axllent","product":"mailpit","tier":"tail","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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00507,"percentile":0.44153,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"},{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/axllent/mailpit/security/advisories/GHSA-75mr-qw9x-3r39","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/axllent/mailpit/commit/6bcb6337838b542d53c348e38c7977f569b6db35","tags":["x_refsource_MISC"]},{"url":"https://github.com/axllent/mailpit/releases/tag/v1.30.4","tags":["x_refsource_MISC"]}],"priority":{"score":12.5,"factors":[{"name":"EPSS percentile","points":8.83},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"axllent","affectedVersions":[{"vendor":"axllent","product":"mailpit","versions":["< 1.30.4"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-08-21T14:56:02.744495Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/axllent/mailpit","vulnerableRanges":["<1.30.4"],"patched":["1.30.4"],"from":["GHSA-75mr-qw9x-3r39","GO-2026-6359"],"provenance":"source"}],"summary":{"text":"Mailpit (axllent/mailpit) before 1.30.4 has a flaw in its thumbnail generation for image attachments, in the GET /api/v1/message/{id}/part/{partID}/thumb endpoint, where attacker-supplied images are fully decoded before their declared dimensions or memory cost are checked. An attacker who can store a crafted image attachment and reach the web API over the network, without authentication or user interaction, can make the server consume disproportionate memory and CPU, degrading availability; opening the message UI can also trigger the same endpoint.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:51:46Z"},"euvd":{"id":"EUVD-2026-63659","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-48824","published":"2026-07-20","fixed":"1.30.1","kev":false},{"cve":"CVE-2026-55187","published":"2026-07-10","fixed":"1.30.2","kev":false,"link":{"from":"CVE-2026-55187","to":"CVE-2026-67446","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/axllent/mailpit","fromFixed":"1.30.2","toFixed":"1.30.4","daysApart":41}]}},{"cve":"CVE-2026-67445","published":"2026-08-20","fixed":"1.30.4","kev":false},{"cve":"CVE-2026-67446","published":"2026-08-20","fixed":"1.30.4","kev":false},{"cve":"CVE-2026-67447","published":"2026-08-20","fixed":"1.30.5","kev":false},{"cve":"CVE-2026-67448","published":"2026-08-20","fixed":"1.30.6","kev":false}],"package":"Go:github.com/axllent/mailpit"}}