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.
CVE-2026-39904
Score 6.5 from GitHub Security Advisory (severity: HIGH) published 2026-06-22. a secondary CVSS source baseline 6.5; sources differ by 0.0.
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 6.5
- EG Score
- 6.5(high)
- EPSS
- 16.1%
- KEV
- Not listed
Published
June 22, 2026
Last Modified
June 23, 2026
Advisory Details (2)
Auto-updated Jun 23, 2026Gophish 0.12.1 Denial of Service via Office Document Upload | Advisories | VulnCheck
https://www.vulncheck.com/advisories/gophish-denial-of-service-via-office-document-uploadGoPhish-0.12.1/Unbounded Memory Allocation in Office Attachment Processing Leads to Server DoS/README.md at main · ashikmd7/GoPhish-0.12.1 · GitHub
https://github.com/ashikmd7/GoPhish-0.12.1/blob/main/Unbounded%20Memory%20Allocation%20in%20Office%20Attachment%20Processing%20Leads%20to%20Server%20DoS/README.mdVendor Advisories for CVE-2026-39904(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 20× in last 7d / 45× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 11:27 UTCEG score recompute
- 2026-07-06 11:27 UTCGHSA enrichment
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 10:24 UTCEG score recompute
- 2026-07-05 10:23 UTCGHSA enrichment
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 09:20 UTCEG score recompute
- 2026-07-04 09:20 UTCGHSA enrichment
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-03 08:16 UTCEG score recompute
- 2026-07-03 08:16 UTCGHSA enrichment
- 2026-07-02 07:12 UTCEG score recompute
- 2026-07-02 07:12 UTCGHSA enrichment
- 2026-07-01 15:06 UTCEPSS rescore
- 2026-07-01 06:07 UTCEG score recompute
- 2026-07-01 06:07 UTCGHSA enrichment
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-30 05:03 UTCEG score recompute
- 2026-06-30 05:03 UTCGHSA enrichment
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-29 04:00 UTCEG score recompute
- 2026-06-29 04:00 UTCGHSA enrichment
Show 20 moreShow fewer
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-28 02:57 UTCEG score recompute
- 2026-06-28 02:57 UTCGHSA enrichment
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-27 01:53 UTCEG score recompute
- 2026-06-27 01:53 UTCGHSA enrichment
- 2026-06-26 00:51 UTCEG score recompute
- 2026-06-26 00:51 UTCGHSA enrichment
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-24 23:47 UTCEG score recompute
- 2026-06-24 23:47 UTCGHSA enrichment
- 2026-06-24 14:05 UTCEPSS rescore
- 2026-06-23 22:44 UTCEG score recompute
- 2026-06-23 22:44 UTCGHSA enrichment
- 2026-06-23 21:33 UTCEPSS rescore
- 2026-06-23 14:35 UTCMITRE cvelistV5CVSS v4 → 7.1 · severity → MEDIUM
- 2026-06-22 21:38 UTCEG score recompute
- 2026-06-22 21:38 UTCGHSA enrichment
Related CVEs(same CWE)
Frequently asked(5)
What is CVE-2026-39904?
When was CVE-2026-39904 disclosed?
Is CVE-2026-39904 actively exploited?
What is the CVSS score of CVE-2026-39904?
How do I remediate CVE-2026-39904?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-39904
Is Your Infrastructure Affected by CVE-2026-39904?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.