Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://blog.gitea.com/release-of-1.27.3/
- https://github.com/go-gitea/gitea/pull/39025
- https://github.com/go-gitea/gitea/pull/39032
- https://github.com/go-gitea/gitea/releases/tag/v1.27.3
- https://github.com/go-gitea/gitea/security/advisories/GHSA-fqxf-w92m-prvq
FAQ
What is CVE-2026-63021?
CVE-2026-63021 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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-publ...
How severe is CVE-2026-63021?
CVE-2026-63021 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-63021?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.