CVE-2026-56657
Received Received - Intake

Gitea SSH Key Parser Denial of Service

Vulnerability report for CVE-2026-56657, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-13

Last updated on: 2026-08-13

Assigner: Gitea Limited

Description

Gitea SSH Key Parser Denial of Service

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-13
Last Modified
2026-08-13
Generated
2026-08-13
AI Q&A
2026-08-13
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
gitea gitea to 1.26.4 (inc)
gitea gitea 1.27.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-284 The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-56657 is a Denial of Service vulnerability in Gitea's SSH key parser. It involves inefficient string concatenation in the RFC 4716 key normalization function, causing O(NΒ²) resource consumption. Attackers can exploit this by submitting oversized SSH keys to exhaust server CPU and memory.

Detection Guidance

Monitor for unusual CPU or memory spikes during SSH key uploads. Check Gitea logs for failed key parsing attempts or OOM errors. Use system monitoring tools like top, htop, or ps to observe resource consumption during key ingestion.

Impact Analysis

This vulnerability allows authenticated users to crash Gitea servers by submitting maliciously large SSH keys. This results in service unavailability, degraded performance, or complete downtime for all users relying on the affected Gitea instance.

Mitigation Strategies

Upgrade Gitea to version 1.27.0 or later to patch the vulnerability. Restrict access to the SSH key ingestion endpoint to trusted users only. Implement rate limiting on key uploads to prevent abuse.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-56657. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart