Skip to content
Heist/ feed
Back to feed
MediumFix available

Gitea issue reference parsing CPU exhaustion

Type: advisorySources: OSV

When processing issue and comment bodies, Gitea scanned the entire preceding text for action keywords such as "closes" or "fixes" once per Markdown link, giving processing time quadratic in the input size. An authenticated user able to submit issue or comment content could send a crafted body of about 1 MB that keeps a CPU core busy for several minutes while holding a database transaction open.

Products
gitea
Affected versions
Not specified
Fixed versions
28.0.0
CVEs
CVE-2026-95112
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 12:06 UTC · Revision 1

Source evidence

Gitea issue reference parsing CPU exhaustion

core-osv · Original source

Published 14 Oct 2026, 08:43 UTC

When processing issue and comment bodies, Gitea scanned the entire preceding text for action keywords such as "closes" or "fixes" once per Markdown link, giving processing time quadratic in the input size. An authenticated user able to submit issue or comment content could send a crafted body of about 1 MB that keeps a CPU core busy for several minutes while holding a database transaction open.

osv:BIT-gitea-2026-95112

gitea

Fixed versions: 28.0.0

Complete source record
{
  "id": "26da38b28d28062dfaf4ad28e4c2dad5d9a6fa89f44ecbf167143acfc7eb04ab",
  "url": "https://osv.dev/vulnerability/BIT-gitea-2026-95112",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Gitea issue reference parsing CPU exhaustion",
    "summary": "When processing issue and comment bodies, Gitea scanned the entire preceding text for action keywords such as \"closes\" or \"fixes\" once per Markdown link, giving processing time quadratic in the input size. An authenticated user able to submit issue or comment content could send a crafted body of about 1 MB that keeps a CPU core busy for several minutes while holding a database transaction open.",
    "evidence": "osv:BIT-gitea-2026-95112",
    "products": [
      {
        "name": {
          "value": "gitea",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "28.0.0",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "BIT-gitea-2026-95112",
      "aliases": [
        "BIT-gitea-2026-95112",
        "CVE-2026-95112",
        "GHSA-467c-4w7p-8427"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "SEMVER",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "28.0.0"
                }
              ]
            }
          ],
          "package": {
            "name": "gitea",
            "purl": "pkg:bitnami/gitea",
            "ecosystem": "Bitnami"
          },
          "severity": [
            {
              "type": "CVSS_V3",
              "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
            }
          ],
          "database_specific": {
            "source": "https://github.com/bitnami/vulndb/tree/main/data/gitea/BIT-gitea-2026-95112.json"
          }
        }
      ],
      "modified": "2026-10-14T11:10:53.888069651Z",
      "provider": "osv",
      "references": [
        "https://blog.gitea.com/release-of-28.0.0/",
        "https://github.com/go-gitea/gitea/pull/39396",
        "https://github.com/go-gitea/gitea/releases/tag/v28.0.0",
        "https://github.com/go-gitea/gitea/security/advisories/GHSA-467c-4w7p-8427",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-95112"
      ],
      "provider_metadata": {
        "cpes": [
          "cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*"
        ],
        "severity": "Medium"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-95112",
        "evidence": "/aliases"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/database_specific/severity"
  },
  "source_id": "core-osv",
  "document_id": 316239,
  "published_at": "2026-10-14T08:43:09.671+00:00"
}