Skip to content
Heist/ feed
High

Gophish 0.12.1 Denial of Service via Office Document Upload

Type: advisorySource: Official CVE List1 source record

Gophish through 0.12.1 contains a denial of service vulnerability that allows authenticated users with the User role to exhaust server memory by uploading a crafted Office document as an email template attachment. The ApplyTemplate() function in models/attachment.go processes Office documents as ZIP archives and calls ioutil.ReadAll() on each contained file entry without enforcing size restrictions on uncompressed content, allowing a zip bomb payload to expand to several gigabytes in memory and cause the process to be terminated by the operating system.

Announced Group revision 1
Original source ↗

CVE-2026-39904

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-39904

gophish

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://github.com/gophish/gophish",
    "vendor": "gophish",
    "product": "gophish",
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "versionType": "semver",
        "lessThanOrEqual": "0.12.1"
      }
    ],
    "packageURL": "pkg:golang/github.com/gophish/gophish",
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-39904

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#12714 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement