Description
Gitea's Swift package parser limits each manifest to 128 KiB but does not limit the number of manifests or their aggregate size before reading them into memory. An authenticated user with package-publish permission can upload a highly compressed archive containing many manifests, causing allocations far larger than the uploaded archive. This can exhaust memory, terminate the process, or cause request failures.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Gitea | Gitea | ≤ 1.27.2 | — |
Advisories 1
- WID-SEC-2026-3079 Gitea: Mehrere Schwachstellen ermöglichen Ausführen von beliebigem Programmcode BSI CERT-Bund (WID) · Oct 14, 2026
References
- GitHub Security Advisory GHSA-fqxf-w92m-prvq vendor-advisory
- Gitea 1.27.3 release announcement release-notes
- Fix: go-gitea/gitea pull request #39025 patch
- Fix: go-gitea/gitea pull request #39032 patch
- go-gitea/gitea v1.27.3 release release-notes