All vulnerabilities

Go

CVE-2026-142316

Gonic through 0.23.0 Memory Exhaustion via Avatar Upload Image Dimensions

Severity
High 7.1
Published
2 Dec 2026
Last changed
2 Dec 2026
Added to UpHeron
2 Dec 2026
Weakness
CWE-789
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Take it down
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Sources
CVE Program

Description

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.

From the CVE Program.

Affected software

SoftwareAffected versions
go.senan.xyz/gonicGo · osv:Go:go.senan.xyz/gonic
  • Every version up to 0.23.0

About go.senan.xyz/gonic

This is the only vulnerability in go.senan.xyz/gonic in our list.

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-142316