CVE-2026-104633 PUBLISHED

Gitea migration memory exhaustion from zero page size

Assigner: Gitea
Reserved: 04.10.2026 Published: 06.10.2026 Updated: 07.10.2026

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.

Product Status

Vendor Gitea
Product Gitea
Versions Default: unaffected
  • affected from 0 to 28.0.0 (incl.)

Credits

  • https://github.com/kewmine reporter
  • https://github.com/silverwind remediation developer
  • https://github.com/bircni remediation developer

References

Problem Types

  • CWE-400: Uncontrolled Resource Consumption CWE
  • CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop') CWE