Gonic through 0.23.0 contains a memory exhaustion vulnerability in the POST /admin/change_avatar_do handler that
Source GCVE Database
Not known to be exploited · CVSS 7.1 High.
Data as of 2 Dec 2026, 20:05 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 7.1 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 6.5 |
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 2 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2 Dec 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| sentrizgonic | Affected
| Fixed in– |
Gogonicpkg:golang/gonicOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Until a fix is available, restrict or monitor avatar uploads and limit the privileges of users who can access the /admin/change_avatar_do endpoint to mitigate risk.
Description
Gonic versions through 0.23.0 have a memory exhaustion vulnerability in the POST /admin/change_avatar_do endpoint. This flaw allows authenticated low-privileged users to upload images (PNG, GIF, JPEG) that declare extremely large dimensions, causing the server to allocate multi-gigabyte memory buffers. This can crash the Gonic service, resulting in denial of service for all users.
References
- nvd.nist.gov/vuln/detail/CVE-2026-142316 (opens in a new tab)
- github.com/sentriz/gonic/pull/754 (opens in a new tab)
- github.com/sentriz/gonic/commit/3294de97e583ce3254120a68911684a095322911 (opens in a new tab)
- github.com/sentriz/gonic/blob/v0.23.0/server/ctrladmin/handlers.go (opens in a new tab)
- vulncheck.com/advisories/gonic-through-0.23.0-memory-exhaustion-via-avatar-upload-image-dimensions (opens in a new tab)