Resource exhaustion in Gitea - CVE-2026-62925

 

Resource exhaustion in Gitea - CVE-2026-62925

Published: August 31, 2026


Vulnerability identifier: #VU146356
CSH Severity: Low
CVSS v4: 7.1 [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]
CVE-ID: CVE-2026-62925
CWE-ID: CWE-400
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to cause a denial of service.

The vulnerability exists due to uncontrolled resource consumption in the Alpine package upload handler when parsing an uploaded .apk file before package-size quota checks. A remote user can upload a small, highly compressible .apk with a .PKGINFO file containing a very large number of provides= lines to cause a denial of service.

The parsed metadata may remain allocated after serialization into package metadata and repository index rebuilding, increasing memory pressure. On memory-constrained deployments, the process may be terminated by the out-of-memory killer.


Affected software

Gitea

How to mitigate CVE-2026-62925

Install security update from vendor's website.

Gitea - update to 1.27.3

External References

Related Security Bulletins