CVE-2026-63021
JSON

6.5medium

Gitea Swift package manifest memory exhaustion

Severity
6.5medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.55% (higher than 47% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Gitea

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

Product or packageVersionsReported by
giteaup to 1.27.2CVE List

Classification

CWE-400

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-63021 changed 2026-10-14CVE Terms of Use
NVDCVE-2026-63021 changed 2026-10-14Public domain