{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-67446","id":"CVE-2026-67446","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/* ","descriptionLong":"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.","published":"2026-08-20T21:10:28.074Z","updated":"2026-10-28T02:31:10.723925083Z","reserved":"2026-07-29T15:07:24.992Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"github.com"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub"}],"rating":"medium","products":["axllent mailpit"],"affectedProducts":[{"vendor":"axllent","product":"mailpit","defaultStatus":null,"versions":[{"version":"< 1.30.4","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/axllent/mailpit","purl":"pkg:golang/github.com/axllent/mailpit","ranges":["<1.30.4"],"fixed":["1.30.4"],"advisory":"GHSA-75mr-qw9x-3r39"}],"cwes":["CWE-400","CWE-770"],"aliases":["GHSA-75mr-qw9x-3r39","GO-2026-6359"],"references":[{"url":"https://github.com/axllent/mailpit/security/advisories/GHSA-75mr-qw9x-3r39","tags":["x_refsource_CONFIRM","exploit","advisory","web"]},{"url":"https://github.com/axllent/mailpit/commit/6bcb6337838b542d53c348e38c7977f569b6db35","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/axllent/mailpit/releases/tag/v1.30.4","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/67xxx/CVE-2026-67446.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-67446","tags":["advisory"]},{"url":"https://github.com/axllent/mailpit","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial"},"epss":0.00507,"epssPercentile":0.43933,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-67446","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-67446","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-67446","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-75mr-qw9x-3r39","ok":true,"note":"GHSA-75mr-qw9x-3r39"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-67446","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}