Description
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.
Published: 2026-10-06
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service via CPU Exhaustion
Action: Patch
AI Analysis

Impact

Gitea parses the bodies of issues and comments to detect action keywords such as "closes" or "fixes". For each Markdown link in the text, the parser scans the entire content, causing processing time that grows quadratically with input length. An authenticated user can submit a payload of about one megabyte, keeping a CPU core busy for minutes while holding a database transaction, which renders the service unavailable to other users and locks database resources, effectively creating a denial‑of‑service.

Affected Systems

This vulnerability targets the Gitea software, specifically its issue and comment body parsing logic. All releases before the 28.0.0 version are affected, as the fix was introduced in that release. Production deployments running an older version should verify their current release and apply the patch when possible.

Risk and Exploitability

The flaw requires the attacker to be authenticated to the Gitea instance to submit the crafted issue or comment. The CVSS score of 6.5 indicates a medium severity, and the EPSS score of < 1% shows a low probability of exploitation in the near term. Consequently, the likelihood of attack remains uncertain, but the potential impact is significant because the payload can keep a CPU core busy for minutes and lock database resources, disrupting service availability. The vulnerability is not listed in the CISA KEV catalog, indicating no documented large‑scale exploitation yet.

Generated by OpenCVE AI on October 8, 2026 at 17:40 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Gitea to version 28.0.0 or later, where the parsing logic is fixed.
  • If an upgrade is not immediately possible, restrict the maximum size of issue or comment bodies to limit processing time.
  • Disable or limit automatic keyword scanning per Markdown link in configuration settings, if available, to reduce the quadratic processing overhead.

Generated by OpenCVE AI on October 8, 2026 at 17:40 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 13 Oct 2026 15:45:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*

Thu, 08 Oct 2026 13:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-407
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 07 Oct 2026 01:00:00 +0000

Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea
Vendors & Products Gitea
Gitea gitea

Tue, 06 Oct 2026 23:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-399

Tue, 06 Oct 2026 19:30:00 +0000

Type Values Removed Values Added
Description 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.
Title Gitea issue reference parsing CPU exhaustion
References

cve-icon MITRE

Status: PUBLISHED

Assigner: Gitea

Published:

Updated: 2026-10-08T12:26:17.597Z

Reserved: 2026-10-04T21:59:53.573Z

Link: CVE-2026-95112

cve-icon Vulnrichment

Updated: 2026-10-08T12:24:52.855Z

cve-icon NVD

Status : Analyzed

Published: 2026-10-06T20:17:34.963

Modified: 2026-10-13T15:36:44.343

Link: CVE-2026-95112

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-08T17:45:19Z

Weaknesses