{"id":"CVE-2026-67446","revision":"ff60250d932248db9caeeb40098dec95","records":[{"revision":"ff60250d932248db9caeeb40098dec95","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-67446","aliases":[],"title":"Mailpit: Thumbnail generation decodes unbounded image dimensions before scaling","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.","state":0,"publishedAt":"2026-08-20T21:10:28.074+00:00","modifiedAt":"2026-08-21T14:56:09.415+00:00","affected":[{"ecosystem":"Vendor product","name":"mailpit","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"axllent\",\n                    \"product\": \"mailpit\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 1.30.4\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"severity":"MEDIUM"}],"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"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-67446","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-67446","identifiers":["CVE-2026-67446"]},"retained":false,"historicalAffected":[]}],"coverage":[]}