Description
A repository's external issue tracker regular expression containing alternating capture groups could produce invalid slice indexes when Gitea rendered issue references, causing a runtime panic that terminated the Gitea process. A user who can edit a repository's external issue tracker settings could make any later rendering of matching content, such as viewing a README, crash the instance for all users.
Weaknesses
- CWE-125 — CWE-125: Out-of-bounds Read
- CWE-248 — CWE-248: Uncaught Exception
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Gitea | Gitea | 0 to <=1.27.3 |
References
- https://github.com/go-gitea/gitea/security/advisories/GHSA-mw6q-qj47-9g5q (vendor-advisory)
- https://github.com/go-gitea/gitea/pull/39354 (patch)
- https://blog.gitea.com/release-of-28.0.0/ (release-notes)
- https://github.com/go-gitea/gitea/releases/tag/v28.0.0 (release-notes)
Generated from the official CVE List on 07 Oct 2026 10:16 UTC.