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(medium)
- EG Risk
- 45(Track)EG Risk 45/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity65% × 45%Exploitation40% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 37%
- KEV
- Not listed
Published
June 22, 2026
Last Modified
July 14, 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.
Patch Availability(1)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| go | github.com/gophish/gophish | — | ghsa |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(1 across 1 ecosystem)
Go(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| github.com/gophish/gophish | — | — | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 5× in last 7d / 53× 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.
Showing the most recent 100 of 160 total refreshes for this CVE.
- 2026-09-08 22:00 UTCEPSS rescore
- 2026-09-07 16:01 UTCEPSS rescore
- 2026-09-06 13:47 UTCEPSS rescore
- 2026-09-04 05:06 UTCEPSS rescore
- 2026-09-02 14:12 UTCEPSS rescore
- 2026-09-01 13:53 UTCEPSS rescore
- 2026-09-01 04:39 UTCEPSS rescore
- 2026-08-30 20:30 UTCEG score recompute
- 2026-08-30 20:30 UTCGHSA enrichment
- 2026-08-30 19:17 UTCEPSS rescore
- 2026-08-30 01:22 UTCEPSS rescore
- 2026-08-28 21:41 UTCEPSS rescore
- 2026-08-27 14:25 UTCEPSS rescore
- 2026-08-26 14:46 UTCEPSS rescore
- 2026-08-25 13:49 UTCEPSS rescore
- 2026-08-24 22:13 UTCEG score recompute
- 2026-08-24 22:13 UTCGHSA enrichment
- 2026-08-23 15:58 UTCEG score recompute
- 2026-08-23 15:58 UTCGHSA enrichment
- 2026-08-23 00:19 UTCEPSS rescore
- 2026-08-22 14:55 UTCEG score recompute
- 2026-08-22 14:55 UTCGHSA enrichment
- 2026-08-21 23:49 UTCEPSS rescore
- 2026-08-21 09:25 UTCEG score recompute
- 2026-08-21 09:25 UTCGHSA enrichment
Show 75 moreShow fewer
- 2026-08-20 22:55 UTCEPSS rescore
- 2026-08-20 07:50 UTCEG score recompute
- 2026-08-20 07:50 UTCGHSA enrichment
- 2026-08-19 17:03 UTCEPSS rescore
- 2026-08-19 04:51 UTCEG score recompute
- 2026-08-19 04:51 UTCGHSA enrichment
- 2026-08-18 13:48 UTCEPSS rescore
- 2026-08-17 13:47 UTCEPSS rescore
- 2026-08-17 06:12 UTCEG score recompute
- 2026-08-17 06:12 UTCGHSA enrichment
- 2026-08-16 14:56 UTCEPSS rescore
- 2026-08-16 04:05 UTCEG score recompute
- 2026-08-16 04:05 UTCGHSA enrichment
- 2026-08-16 02:14 UTCEPSS rescore
- 2026-08-15 03:02 UTCEG score recompute
- 2026-08-15 03:02 UTCGHSA enrichment
- 2026-08-15 01:30 UTCEPSS rescore
- 2026-08-14 01:58 UTCEG score recompute
- 2026-08-14 01:58 UTCGHSA enrichment
- 2026-08-13 22:00 UTCEPSS rescore
- 2026-08-13 00:56 UTCEG score recompute
- 2026-08-13 00:56 UTCGHSA enrichment
- 2026-08-12 13:51 UTCEPSS rescore
- 2026-08-11 23:53 UTCEG score recompute
- 2026-08-11 23:53 UTCGHSA enrichment
- 2026-08-11 13:43 UTCEPSS rescore
- 2026-08-11 00:00 UTCEPSS rescore
- 2026-08-10 22:50 UTCGHSA enrichment
- 2026-08-09 21:47 UTCEG score recompute
- 2026-08-09 21:47 UTCGHSA enrichment
- 2026-08-09 13:46 UTCEPSS rescore
- 2026-08-08 20:44 UTCEG score recompute
- 2026-08-08 20:44 UTCGHSA enrichment
- 2026-08-08 16:37 UTCEPSS rescore
- 2026-08-07 19:41 UTCEG score recompute
- 2026-08-07 19:41 UTCGHSA enrichment
- 2026-08-06 18:38 UTCEG score recompute
- 2026-08-06 18:38 UTCGHSA enrichment
- 2026-08-06 13:46 UTCEPSS rescore
- 2026-08-05 19:17 UTCEPSS rescore
- 2026-08-05 17:35 UTCGHSA enrichment
- 2026-08-04 15:15 UTCEG score recompute
- 2026-08-04 15:15 UTCGHSA enrichment
- 2026-08-04 15:10 UTCEPSS rescore
- 2026-08-04 10:38 UTCEPSS rescore
- 2026-08-03 10:36 UTCEPSS rescore
- 2026-08-03 07:59 UTCGHSA enrichment
- 2026-08-02 05:58 UTCEG score recompute
- 2026-08-02 05:58 UTCGHSA enrichment
- 2026-08-02 02:27 UTCEPSS rescore
- 2026-08-01 04:55 UTCEG score recompute
- 2026-08-01 04:55 UTCGHSA enrichment
- 2026-08-01 04:16 UTCEPSS rescore
- 2026-07-31 03:43 UTCEG score recompute
- 2026-07-31 03:43 UTCGHSA enrichment
- 2026-07-30 16:28 UTCEPSS rescore
- 2026-07-30 02:40 UTCEG score recompute
- 2026-07-30 02:40 UTCGHSA enrichment
- 2026-07-30 01:30 UTCEPSS rescore
- 2026-07-29 01:21 UTCEG score recompute
- 2026-07-29 01:21 UTCGHSA enrichment
- 2026-07-27 17:57 UTCEG score recompute
- 2026-07-27 17:57 UTCGHSA enrichment
- 2026-07-27 14:13 UTCEPSS rescore
- 2026-07-26 15:58 UTCEG score recompute
- 2026-07-26 15:57 UTCGHSA enrichment
- 2026-07-26 14:54 UTCEPSS rescore
- 2026-07-26 14:54 UTCEPSS rescore
- 2026-07-25 14:18 UTCEPSS rescore
- 2026-07-25 14:18 UTCEPSS rescore
- 2026-07-24 14:17 UTCEPSS rescore
- 2026-07-24 14:17 UTCEPSS rescore
- 2026-07-23 14:18 UTCEPSS rescore
- 2026-07-23 14:18 UTCEPSS rescore
- 2026-07-23 03:10 UTCEG score recompute
Related CVEs(same product + same CWE)
Same product
4 showngo:github.com/gophish/gophish
Same CWE
10 shownCWE-770
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
See which npm, PyPI, Go, and Maven packages are affected by 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.