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.
Published: 2026-10-14
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service via unbounded memory usage
Action: Apply Patch
AI Analysis

Impact

Gitea parses Alpine package uploads before enforcing package‑size quotas, decompressing the .PKGINFO data and enumerating dependency entries without bounding the result. An authenticated user with package‑publish rights can upload a tiny but highly compressed archive that expands into a vastly larger amount of data during parsing and metadata generation, causing an uncontrolled allocation that can exhaust memory and terminate or otherwise disrupt the Gitea process. This weakness matches CWE‑400 and can lead to a denial of service of the entire instance or associated services.

Affected Systems

All Gitea installations running versions older than v1.27.3 that accept Alpine packages are affected. The vulnerable code path exists in all releases prior to the fix released in 1.27.3, regardless of the operating system.

Risk and Exploitability

The CVSS score of 6.5 indicates moderate severity. Exploitation requires authentication with package‑publish permissions, therefore it primarily represents an internal or credential‑compromise scenario. The EPSS score is below 1 %, implying a very low probability of exploitation in the wild, and the vulnerability is not listed in the CISA KEV catalog. Nevertheless, an attacker who successfully uploads an exploitative package can cause uncontrolled memory allocation, leading to a crash or unresponsiveness of the Gitea process and resulting in service disruption.

Generated by OpenCVE AI on October 15, 2026 at 19:41 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Gitea v1.27.3 or later, where the parser limits memory usage during package upload.
  • Restrict the package‑publish permission to trusted users only and remove it from accounts that do not need to upload packages.
  • Apply system‑level resource limits (e.g., ulimit, cgroup) on the Gitea process to guard against excessive memory consumption if an exploit occurs.

Generated by OpenCVE AI on October 15, 2026 at 19:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 17 Oct 2026 18:00:00 +0000

Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea
Vendors & Products Gitea
Gitea gitea

Wed, 14 Oct 2026 16:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-400
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 14 Oct 2026 14:45:00 +0000

Type Values Removed Values Added
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.
Title Gitea Alpine package parsing memory exhaustion
References

cve-icon MITRE

Status: PUBLISHED

Assigner: Gitea

Published:

Updated: 2026-10-14T15:20:54.502Z

Reserved: 2026-08-13T16:50:58.679Z

Link: CVE-2026-62925

cve-icon Vulnrichment

Updated: 2026-10-14T15:20:47.780Z

cve-icon NVD

Status : Deferred

Published: 2026-10-14T15:17:21.230

Modified: 2026-10-14T16:17:47.760

Link: CVE-2026-62925

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-17T17:45:11Z

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption