Bug 2500948 - CVE-2026-48801 forgejo: linkify-it: Denial of Service via algorithmic complexity vulnerability [fedora-all]
Summary: CVE-2026-48801 forgejo: linkify-it: Denial of Service via algorithmic complex...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: forgejo
Version: 45
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Fedora Infrastructure SIG
QA Contact:
URL:
Whiteboard: {"flaws": ["7906587f-f2c6-43d0-bc1e-8...
Depends On:
Blocks: CVE-2026-48801
TreeView+ depends on / blocked
 
Reported: 2026-07-15 13:47 UTC by Marian Rehak
Modified: 2026-08-17 15:20 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Marian Rehak 2026-07-15 13:47:16 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

linkify-it is a links recognition library with full Unicode support. Prior to 5.0.1, LinkifyIt.prototype.match, the package's primary public API, has O(N²) algorithmic complexity for inputs containing many fuzzy links or emails because the JavaScript-level scan loop re-slices input and re-runs unanchored regex searches on progressively shorter tails. Any service that synchronously renders untrusted Markdown with linkify:true on a request hot path can inherit a worker-process denial of service triggerable by a tens-of-KB request body. This issue is fixed in version 5.0.1.

Comment 1 Aoife Moloney 2026-08-17 15:20:30 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 45 development cycle.
Changing version to 45.


Note You need to log in before you can comment on or make changes to this bug.