CVE-2026-95112

Gitea issue reference parsing CPU exhaustion

Published Oct 6, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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 available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*
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'}

Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea
Vendors & Products Gitea
Gitea gitea
Type Values Removed Values Added
Weaknesses CWE-399
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
Weaknesses

Sources

Status
PUBLISHED
Assigner
Gitea
Published
Updated
Oct 8, 2026, 12:26 PM
Reserved
Oct 4, 2026, 9:59 PM
Status
Analyzed
Published
Oct 6, 2026, 8:17 PM
Modified
Oct 13, 2026, 3:36 PM