CVE-2026-62925 Details
Description
Gitea parses Alpine package uploads before enforcing package-size quotas and does not bound the decompressed .PKGINFO data or its dependency and provides entry counts. An authenticated user with package-publish permission can upload a small, highly compressed archive that causes disproportionately large memory allocations during parsing and metadata generation. On memory-constrained deployments, this can terminate the process or otherwise disrupt availability.
A vulnerability exists in Gitea's Alpine package upload processing in versions through 1.27.2. The issue arises because the upload handler parses .apk files before applying any size quota checks. This lack of proper handling allows an authenticated user with package-publish permission to upload a small, highly compressed archive that expands into a large memory footprint. The unbounded parsing of the .PKGINFO data, particularly the 'provides=' and 'depend=' entries, can lead to significant memory consumption. In memory-limited environments, this may cause the Gitea process to be terminated or disrupt availability.
Users are advised to upgrade to Gitea version 1.27.3, where this vulnerability has been fixed. Instructions for upgrading can be found in the Gitea documentation.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 14, 2026CISA-ADP
Assessed Oct 14, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://blog.gitea.com/release-of-1.27.3/ | Gitea Limited | Release NotesVendor |
| https://github.com/go-gitea/gitea/pull/39026 | Gitea Limited | Source CodeVendor |
| https://github.com/go-gitea/gitea/pull/39029 | Gitea Limited | Source CodeVendor |
| https://github.com/go-gitea/gitea/releases/tag/v1.27.3 | Gitea Limited | Release NotesVendor |
| https://github.com/go-gitea/gitea/security/advisories/GHSA-36q5-5423-vgx2 | Gitea Limited | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-400 | Uncontrolled Resource Consumption | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| Gitea | <= 1.27.2 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 14, 2026 | CVE Modified | CISA-ADP |
| Oct 14, 2026 | New CVE Received | Gitea Limited |
Volerion