Security mailing lists by PureSourceCode

CVE-2026-67446

MEDIUM 5.3CVSS 3.1

Mailpit: Thumbnail generation decodes unbounded image dimensions before scaling

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
20 Aug 2026
Last modified
18 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Deferred
Weakness
CWE-400CWE-770
Also known as
GHSA-75mr-qw9x-3r39GO-2026-6359
Sources
NVDJSONOSV GHSA-75mr-qw9x-3r39JSONOSV GO-2026-6359JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Go github.com/axllent/mailpit < 1.30.4 1.30.4

References

History

  • 25 Nov 2026 21:04 UTC · NVD: first stored (published 20 Aug 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 10 Sep 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 2 Sep 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.