AploSec / Disclosures / CVE-2026-142316

High 7.1ReportedNo fix listedCWE-789Go

Gonic through 0.23.0 Memory Exhaustion via Avatar Upload Image Dimensions

CVE-2026-142316 · published 2026-12-02

In plain words: this type of bug lets someone slow down or crash the service with crafted input (denial of service). No fixed release is listed yet.

Summary

CVE-2026-142316 affects gonic (Go) <= 0.23.0: Memory Exhaustion via Avatar Upload Image Dimensions (CWE-789). No fixed release is listed. CVSS 4.0 base score 7.1 (High), assigned by VulnCheck. Published 2026-12-02 by VulnCheck. Credit: Zachariah Mithani (AploSec).

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.

Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

Remediation

No fixed release is listed in the advisory. Check the references for upstream status.

References

Severity
High 7.1CVSS 4.0, scored by VulnCheck in the CVE record
Package
gonic
Ecosystem
Go
Affected
<= 0.23.0
Fixed
None
Weakness
CWE-789
CNA
VulnCheck
Credit
Zachariah Mithani (AploSec)finder