CVE-2026-104633
6.5medium
Gitea migration memory exhaustion from zero page size
- Severity
- 6.5medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.40% (higher than 36% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Gitea
- Also known as
- BIT-GITEA-2026-104633GHSA-jj5r-9rpc-8h6h
Description
When migrating a repository from another Gitea instance, Gitea used the page size reported in the source server's API settings to end its paginated downloads. A source that reported `max_response_items` as `0` made these loops run indefinitely and grow server memory until it was exhausted. Any user who can migrate repositories could point a migration at a server they control and cause a denial of service.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| gitea.dev | up to 28.0.0 | CVE List |
| gitea gitea | before 28.1.0 | NVD |
| gitea (Bitnami) | before 28.1.0 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| Bitnami Vulnerability Database | medium rating |
Classification
References
| https://github.com/go-gitea/gitea/security/advisories/GHSA-jj5r-9rpc-8h6h | advisory, vendor-advisory | |
| https://github.com/go-gitea/gitea/pull/39501 | fix, patch | |
| https://github.com/go-gitea/gitea/pull/39507 | fix, patch | |
| https://blog.gitea.com/release-of-28.1.0/ | article, release-notes | |
| https://github.com/go-gitea/gitea/releases/tag/v28.1.0 | article, release-notes | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-104633 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-104633 changed 2026-10-07 | CVE Terms of Use |
| NVD | CVE-2026-104633 changed 2026-10-13 | Public domain |
| Bitnami Vulnerability Database | BIT-GITEA-2026-104633 changed 2026-10-14 | Apache-2.0 |