CVE-2026-142316
Gonic through 0.23.0 contains a memory exhaustion vulnerability in …
Gonic through 0.23.0 contains a memory exhaustion vulnerability in the POST /admin/change_avatar_do handler that decodes uploaded avatars without checking declared image dimensions. Authenticated low-privileged users can upload a compressible PNG, GIF, or JPEG declaring huge dimensions to force multi-gigabyte allocations and crash gonic for all users.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/sentriz/gonic/blob/v0.23.0/server/ctrladmin/handlers.go#L677-L696
- github.com/sentriz/gonic/commit/3294de97e583ce3254120a68911684a095322911
- github.com/sentriz/gonic/pull/754
- www.vulncheck.com/advisories/gonic-through-0.23.0-memory-exhaustion-via-avatar-upload-imag
- nvd.nist.gov/vuln/detail/CVE-2026-142316
- cve.org/CVERecord?id=CVE-2026-142316
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.