CVE-2026-63021: Gitea Swift package manifest memory exhaustion

Published Oct 14, 2026
·
Updated

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 Software

1 affected component
Gitea Gitea

Event History

Oct 14, 2026
CVE Published
via MITRE·02:28 PM
Data Sourced
via MITRE·02:28 PM
Description

Frequently Asked Questions

1

Who can exploit this issue?

An authenticated user who has permission to publish Swift packages can exploit it. The issue is relevant to Gitea instances that allow such users to upload package archives.

2

What does an attacker need to upload?

The attacker needs a highly compressed archive containing many Swift package manifests. Although each individual manifest is limited to 128 KiB, the parser does not limit the number of manifests or their combined size before loading them into memory.

3

What impact can exploitation have?

Processing the archive can allocate substantially more memory than the archive's uploaded size. This may exhaust memory, terminate the Gitea process, or cause request failures.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203