CVE-2026-104633
published medium CVSS 3.1 · 6.5Gitea migration memory exhaustion from zero page size
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Gitea | — | gitea.devGitea · 0 through 28.0.0 · Other versions: unaffected | Affected | Not stated | Gitea |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Gitea | Gitea | 0 through 28.0.0 (affected · semver)Default: unaffected | Gitea · cna |
Weaknesses
2- CWE-400 CWE-400: Uncontrolled Resource Consumption
- CWE-835 CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')
References
5- Gitea 28.1.0 release announcement https://blog.gitea.com/release-of-28.1.0/
- Fix: go-gitea/gitea pull request #39501 https://github.com/go-gitea/gitea/pull/39501
- Fix backport to release/v28: go-gitea/gitea pull request #39507 https://github.com/go-gitea/gitea/pull/39507
- go-gitea/gitea v28.1.0 release https://github.com/go-gitea/gitea/releases/tag/v28.1.0
- GitHub Security Advisory GHSA-jj5r-9rpc-8h6h https://github.com/go-gitea/gitea/security/advisories/GHSA-jj5r-9rpc-8h6h
Provider assertions
2Gitea · cna
Gitea migration memory exhaustion from zero page size
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1f646cbb41aed9012cf41896cb38da5d745b063f3545e5fd60c2cc1887f5a8f6
- Ingested
- 07 Oct 2026, 22:38:23 UTC
- Source record
- Official CVE record