Skip to main content

Fedify CVE-2025-68475

HIGH
Inefficient Regular Expression Complexity (ReDoS) (CWE-1333)
2025-12-22 security-advisories@github.com GHSA-rchf-xwx2-hm93
7.5
CVSS 3.1 · Vendor: github
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V2 - Validation and Business Logic Regex complexity limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

While the CVSS score of 7.5 (High) indicates significant theoretical impact due to the network-accessible attack vector (AV:N), low complexity (AC:L), and no authentication requirement (PR:N), the real-world risk appears more moderate based on multiple signals. The EPSS score of 0.13% places it in the 32nd percentile, suggesting relatively low exploitation probability despite the availability of a public proof-of-concept. The vulnerability is not listed in CISA's Known Exploited Vulnerabilities catalog, indicating no confirmed active exploitation. From an SSVC perspective, while the attack is automatable and has high technical impact (availability), the low exploitation activity and targeted nature of Fedify deployments suggest this is a priority for organizations using Fedify but not a critical emergency compared to actively exploited vulnerabilities.

Exploit ScenarioDerived

An attacker can send a specially crafted HTML response to any Fedify-powered server endpoint that processes external documents, causing the regex parser to enter catastrophic backtracking and consume excessive CPU resources, effectively denying service to legitimate users. Since no authentication is required and the attack can be launched remotely over the network, automated scanning and exploitation is feasible, with a public proof-of-concept available at the GitHub security advisory. The attack would be particularly effective against federated ActivityPub servers during content federation operations where external HTML documents are routinely processed.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 17, 2026

A Regular Expression Denial of Service (ReDoS) vulnerability exists in Fedify, a TypeScript library for building ActivityPub federated servers, where maliciously crafted HTML responses can cause catastrophic backtracking in the document loader's HTML parsing regex. The vulnerability affects versions prior to 1.6.13, 1.7.14, 1.8.15, and 1.9.2, allowing remote attackers to cause denial of service without authentication. A public proof-of-concept exploit is available, though the EPSS score of 0.13% indicates relatively low exploitation likelihood in the wild.

RemediationAI

Upgrade Fedify to the patched versions based on your current branch: 1.6.13 for 1.6.x users, 1.7.14 for 1.7.x users, 1.8.15 for 1.8.x users, or 1.9.2 for 1.9.x users, with patches available at https://github.com/fedify-dev/fedify/releases/. The fixes are implemented in commits 2bdcb24d7d6d5886e0214ed504b63a6dc5488779 and bf2f0783634efed2663d1b187dc55461ee1f987a which address the regex complexity issue. As a temporary mitigation before patching, consider implementing request timeouts and rate limiting on endpoints that process external HTML content through Fedify's document loader, though upgrading remains the recommended solution.

Affected Packages

npm @fedify/fedify fix: 1.6.13, 1.7.14, 1.8.15, 1.9.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Fedify is a TypeScript library that enables developers to build federated server applications using the ActivityPub protocol, which powers decentralized social networks like Mastodon. The vulnerability stems from CWE-1333 (Inefficient Regular Expression Complexity) in the document loader component at packages/fedify/src/runtime/docloader.ts:259, where nested quantifiers in a regex pattern used for HTML parsing create exponential time complexity when processing specially crafted input. The affected products are identified through CPE as cpe:2.3:a:fedify:fedify:*:*:*:*:*:*:*:* for all vulnerable version ranges, specifically impacting applications that use Fedify's document loading functionality to process external HTML content.

Know when Fedify gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Primary rating from Vendor (github) · only source for this CVE.

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

3
Patch released
Mar 17, 2026 - 20:45 nvd
Patch available
PoC Detected
Mar 17, 2026 - 19:39 vuln.today
Public exploit code
CVE Published
Dec 22, 2025 - 22:16 nvd
HIGH 7.5

DescriptionCVE.org

Fedify is a TypeScript library for building federated server apps powered by ActivityPub. Prior to versions 1.6.13, 1.7.14, 1.8.15, and 1.9.2, a Regular Expression Denial of Service (ReDoS) vulnerability exists in Fedify's document loader. The HTML parsing regex at packages/fedify/src/runtime/docloader.ts:259 contains nested quantifiers that cause catastrophic backtracking when processing maliciously crafted HTML responses. This issue has been patched in versions 1.6.13, 1.7.14, 1.8.15, and 1.9.2.

Executive ViewAI

Why It Matters

Organizations using Fedify face notable risk from CVE-2025-68475 rated CVSS 7.5. Exploitation could compromise the security of affected deployments. Proof-of-concept code is publicly available, increasing the risk of exploitation. A patch is available and should be applied as part of regular vulnerability management.

Business Impact: High
Compensating Controls

Apply vendor patch. If immediate patching is not feasible: (1) Implement network-level access controls to limit exposure; (2) Enable enhanced monitoring and alerting; (3) Apply principle of least privilege.

Threat Intelligence Overview

EPSS Score
0.1%
Top 68% exploitable
Exploit
POC
Public exploit code exists
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

58
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Affected Products (CPE)CVE.org

cpe:2.3:a:fedify:fedify:*:*:*:*:*:*:*:*
cpe:2.3:a:fedify:fedify:*:*:*:*:*:*:*:*
cpe:2.3:a:fedify:fedify:*:*:*:*:*:*:*:*
cpe:2.3:a:fedify:fedify:*:*:*:*:*:*:*:*

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy