linkify-it: Quadratic algorithmic complexity in LinkifyIt#match scan loop
Published Jul 14, 2026
8.7
HIGHCVSS 4.0
EPSS 0.52%
Description
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.
Affected products
-
- Version < 5.0.1StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Markdown-IT | Linkify-IT | n/a |
|
- < 5.0.1
No data.
Red Hat Ansible Automation Platform 2.1
ansible-automation-platform/automation-portal:1785854226
Fixed · RHSA-2026:50850
Red Hat Ansible Automation Platform 2.2
ansible-automation-platform/automation-portal:1784622951
Fixed · RHSA-2026:42815
Red Hat Ansible Automation Platform 2.2
ansible-automation-platform/bootc-automation-portal-rhel9:1786006573
Fixed · RHSA-2026:51162
Red Hat Developer Hub 1.10
rhdh/red-hat-developer-hub-backstage-plugin-orchestrator-backend-module-loki:1785332668
Fixed · RHSA-2026:48126
Red Hat Developer Hub 1.10
rhdh/red-hat-developer-hub-backstage-plugin-orchestrator-backend:1785332825
Fixed · RHSA-2026:48126
Red Hat Developer Hub 1.10
rhdh/red-hat-developer-hub-backstage-plugin-scaffolder-backend-module-orchestrator:1785332694
Fixed · RHSA-2026:48126
Red Hat Developer Hub 1.10
rhdh/rhdh-hub-rhel9:1785411652
Fixed · RHSA-2026:49642
Red Hat Enterprise Linux 10
rh-podman-desktop-0:1.1.2-1.el10_2
Fixed · RHSA-2026:57590
Red Hat Hardened Images
rust-main-1.97.0-1.1.hum1
Fixed · RHSA-2026:38187
Red Hat OpenShift AI 3.4
rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9:1787121387
Fixed · RHSA-2026:60520
Red Hat OpenShift Container Platform 4.19
openshift4/ose-console-rhel9:1788573287
Fixed · RHSA-2026:66371
Red Hat OpenShift Container Platform 4.19
openshift4/ose-monitoring-plugin-rhel9:1788318661
Fixed · RHSA-2026:63047
Red Hat OpenShift Container Platform 4.19
openshift4/ose-networking-console-plugin-rhel9:1788587831
Fixed · RHSA-2026:66371
Red Hat OpenShift Container Platform 4.20
openshift4/ose-console-rhel9:1787737695
Fixed · RHSA-2026:60446
Red Hat OpenShift Container Platform 4.20
openshift4/ose-monitoring-plugin-rhel9:1787736396
Fixed · RHSA-2026:60446
Red Hat OpenShift Container Platform 4.20
openshift4/ose-networking-console-plugin-rhel9:1789009167
Fixed · RHSA-2026:66377
Red Hat OpenShift Container Platform 4.21
openshift4/ose-console-rhel9:1787590523
Fixed · RHSA-2026:60477
Red Hat OpenShift Container Platform 4.21
openshift4/ose-monitoring-plugin-rhel9:1787590390
Fixed · RHSA-2026:60477
Red Hat OpenShift Container Platform 4.21
openshift4/ose-networking-console-plugin-rhel9:1788928679
Fixed · RHSA-2026:66352
Red Hat OpenShift Container Platform 4.22
openshift4/ose-console-rhel9:1785910938
Fixed · RHSA-2026:51038
Red Hat OpenShift Container Platform 4.22
openshift4/ose-monitoring-plugin-rhel9:1787730804
Fixed · RHSA-2026:60441
Red Hat OpenShift Container Platform 4.22
openshift4/ose-networking-console-plugin-rhel9:1787745534
Fixed · RHSA-2026:60441
Red Hat OpenShift Dev Spaces 3.30
devspaces/code-rhel9:1789145741
Fixed · RHSA-2026:68754
Red Hat OpenShift Dev Spaces 3.30
devspaces/openvsx-rhel9:1789144269
Fixed · RHSA-2026:68754
Red Hat OpenShift Dev Spaces 3.30
devspaces/pluginregistry-rhel9:1788883179
Fixed · RHSA-2026:68754
Red Hat Openshift Data Foundation 4.18
odf4/cephcsi-rhel9-operator:1786706101
Fixed · RHSA-2026:56431
Red Hat Openshift Data Foundation 4.18
odf4/cephcsi-rhel9:1786705347
Fixed · RHSA-2026:56431
Red Hat Openshift Data Foundation 4.18
odf4/mcg-core-rhel9:1786705558
Fixed · RHSA-2026:56431
Red Hat Openshift Data Foundation 4.18
odf4/mcg-rhel9-operator:1786705646
Fixed · RHSA-2026:56431
Red Hat Openshift Data Foundation 4.18
odf4/ocs-client-console-rhel9:1786706138
Fixed · RHSA-2026:56431
Red Hat Openshift Data Foundation 4.18
odf4/ocs-client-rhel9-operator:1786705741
Fixed · RHSA-2026:56431
Red Hat Openshift Data Foundation 4.18
odf4/ocs-metrics-exporter-rhel9:1786705777
Fixed · RHSA-2026:56431
Red Hat Openshift Data Foundation 4.18
odf4/ocs-rhel9-operator:1786705802
Fixed · RHSA-2026:56431
Red Hat Openshift Data Foundation 4.18
odf4/odf-cli-rhel9:1786705938
Fixed · RHSA-2026:56431
Red Hat Openshift Data Foundation 4.18
odf4/odf-console-rhel9:1786706577
Fixed · RHSA-2026:56431
Red Hat Openshift Data Foundation 4.18
odf4/odf-cosi-sidecar-rhel9:1786706125
Fixed · RHSA-2026:56431
Red Hat Openshift Data Foundation 4.18
odf4/odf-csi-addons-rhel9-operator:1786706177
Fixed · RHSA-2026:56431
Red Hat Openshift Data Foundation 4.18
odf4/odf-csi-addons-sidecar-rhel9:1786706188
Fixed · RHSA-2026:56431
Red Hat Openshift Data Foundation 4.18
odf4/odf-multicluster-console-rhel9:1786706679
Fixed · RHSA-2026:56431
Red Hat Openshift Data Foundation 4.18
odf4/odf-multicluster-rhel9-operator:1786706357
Fixed · RHSA-2026:56431
Red Hat Openshift Data Foundation 4.18
odf4/odf-must-gather-rhel9:1786706612
Fixed · RHSA-2026:56431
Red Hat Openshift Data Foundation 4.18
odf4/odf-rhel9-operator:1786706644
Fixed · RHSA-2026:56431
Red Hat Openshift Data Foundation 4.18
odf4/odr-rhel9-operator:1786706659
Fixed · RHSA-2026:56431
Red Hat Openshift Data Foundation 4.18
odf4/rook-ceph-rhel9-operator:1786706880
Fixed · RHSA-2026:56431
Migration Toolkit for Virtualization
migration-toolkit-virtualization/mtv-console-plugin-rhel9
Affected
Migration Toolkit for Virtualization
mtv-candidate/mtv-console-plugin-rhel9
Will not fix
Node HealthCheck Operator
workload-availability/node-healthcheck-must-gather-rhel9
Affected
Node HealthCheck Operator
workload-availability/node-healthcheck-operator-bundle
Affected
Node HealthCheck Operator
workload-availability/node-healthcheck-rhel9-operator
Affected
Node HealthCheck Operator
workload-availability/node-remediation-console-rhel8
Affected
Node HealthCheck Operator
workload-availability/node-remediation-console-rhel9
Affected
OpenShift Pipelines
openshift-pipelines/pipelines-console-plugin-pf5-rhel9
Affected
OpenShift Pipelines
openshift-pipelines/pipelines-console-plugin-rhel8
Affected
OpenShift Pipelines
openshift-pipelines/pipelines-console-plugin-rhel9
Affected
Red Hat Build of Podman Desktop
rh-podman-desktop.git
Affected
Red Hat Hardened Images
libgit2
Not affected
Red Hat OpenShift Container Platform 4
openshift4/ose-console
Not affected
Red Hat OpenShift Container Platform 4
openshift4/ose-monitoring-plugin-rhel8
Affected
Red Hat OpenShift Virtualization 4
container-native-virtualization/kubevirt-console-plugin-rhel9
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Ansible Automation Platform 2.1 | ansible-automation-platform/automation-portal:1785854226 | Fixed | RHSA-2026:50850 |
| Red Hat Ansible Automation Platform 2.2 | ansible-automation-platform/automation-portal:1784622951 | Fixed | RHSA-2026:42815 |
| Red Hat Ansible Automation Platform 2.2 | ansible-automation-platform/bootc-automation-portal-rhel9:1786006573 | Fixed | RHSA-2026:51162 |
| Red Hat Developer Hub 1.10 | rhdh/red-hat-developer-hub-backstage-plugin-orchestrator-backend-module-loki:1785332668 | Fixed | RHSA-2026:48126 |
| Red Hat Developer Hub 1.10 | rhdh/red-hat-developer-hub-backstage-plugin-orchestrator-backend:1785332825 | Fixed | RHSA-2026:48126 |
| Red Hat Developer Hub 1.10 | rhdh/red-hat-developer-hub-backstage-plugin-scaffolder-backend-module-orchestrator:1785332694 | Fixed | RHSA-2026:48126 |
| Red Hat Developer Hub 1.10 | rhdh/rhdh-hub-rhel9:1785411652 | Fixed | RHSA-2026:49642 |
| Red Hat Enterprise Linux 10 | rh-podman-desktop-0:1.1.2-1.el10_2 | Fixed | RHSA-2026:57590 |
| Red Hat Hardened Images | rust-main-1.97.0-1.1.hum1 | Fixed | RHSA-2026:38187 |
| Red Hat OpenShift AI 3.4 | rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9:1787121387 | Fixed | RHSA-2026:60520 |
| Red Hat OpenShift Container Platform 4.19 | openshift4/ose-console-rhel9:1788573287 | Fixed | RHSA-2026:66371 |
| Red Hat OpenShift Container Platform 4.19 | openshift4/ose-monitoring-plugin-rhel9:1788318661 | Fixed | RHSA-2026:63047 |
| Red Hat OpenShift Container Platform 4.19 | openshift4/ose-networking-console-plugin-rhel9:1788587831 | Fixed | RHSA-2026:66371 |
| Red Hat OpenShift Container Platform 4.20 | openshift4/ose-console-rhel9:1787737695 | Fixed | RHSA-2026:60446 |
| Red Hat OpenShift Container Platform 4.20 | openshift4/ose-monitoring-plugin-rhel9:1787736396 | Fixed | RHSA-2026:60446 |
| Red Hat OpenShift Container Platform 4.20 | openshift4/ose-networking-console-plugin-rhel9:1789009167 | Fixed | RHSA-2026:66377 |
| Red Hat OpenShift Container Platform 4.21 | openshift4/ose-console-rhel9:1787590523 | Fixed | RHSA-2026:60477 |
| Red Hat OpenShift Container Platform 4.21 | openshift4/ose-monitoring-plugin-rhel9:1787590390 | Fixed | RHSA-2026:60477 |
| Red Hat OpenShift Container Platform 4.21 | openshift4/ose-networking-console-plugin-rhel9:1788928679 | Fixed | RHSA-2026:66352 |
| Red Hat OpenShift Container Platform 4.22 | openshift4/ose-console-rhel9:1785910938 | Fixed | RHSA-2026:51038 |
| Red Hat OpenShift Container Platform 4.22 | openshift4/ose-monitoring-plugin-rhel9:1787730804 | Fixed | RHSA-2026:60441 |
| Red Hat OpenShift Container Platform 4.22 | openshift4/ose-networking-console-plugin-rhel9:1787745534 | Fixed | RHSA-2026:60441 |
| Red Hat OpenShift Dev Spaces 3.30 | devspaces/code-rhel9:1789145741 | Fixed | RHSA-2026:68754 |
| Red Hat OpenShift Dev Spaces 3.30 | devspaces/openvsx-rhel9:1789144269 | Fixed | RHSA-2026:68754 |
| Red Hat OpenShift Dev Spaces 3.30 | devspaces/pluginregistry-rhel9:1788883179 | Fixed | RHSA-2026:68754 |
| Red Hat Openshift Data Foundation 4.18 | odf4/cephcsi-rhel9-operator:1786706101 | Fixed | RHSA-2026:56431 |
| Red Hat Openshift Data Foundation 4.18 | odf4/cephcsi-rhel9:1786705347 | Fixed | RHSA-2026:56431 |
| Red Hat Openshift Data Foundation 4.18 | odf4/mcg-core-rhel9:1786705558 | Fixed | RHSA-2026:56431 |
| Red Hat Openshift Data Foundation 4.18 | odf4/mcg-rhel9-operator:1786705646 | Fixed | RHSA-2026:56431 |
| Red Hat Openshift Data Foundation 4.18 | odf4/ocs-client-console-rhel9:1786706138 | Fixed | RHSA-2026:56431 |
| Red Hat Openshift Data Foundation 4.18 | odf4/ocs-client-rhel9-operator:1786705741 | Fixed | RHSA-2026:56431 |
| Red Hat Openshift Data Foundation 4.18 | odf4/ocs-metrics-exporter-rhel9:1786705777 | Fixed | RHSA-2026:56431 |
| Red Hat Openshift Data Foundation 4.18 | odf4/ocs-rhel9-operator:1786705802 | Fixed | RHSA-2026:56431 |
| Red Hat Openshift Data Foundation 4.18 | odf4/odf-cli-rhel9:1786705938 | Fixed | RHSA-2026:56431 |
| Red Hat Openshift Data Foundation 4.18 | odf4/odf-console-rhel9:1786706577 | Fixed | RHSA-2026:56431 |
| Red Hat Openshift Data Foundation 4.18 | odf4/odf-cosi-sidecar-rhel9:1786706125 | Fixed | RHSA-2026:56431 |
| Red Hat Openshift Data Foundation 4.18 | odf4/odf-csi-addons-rhel9-operator:1786706177 | Fixed | RHSA-2026:56431 |
| Red Hat Openshift Data Foundation 4.18 | odf4/odf-csi-addons-sidecar-rhel9:1786706188 | Fixed | RHSA-2026:56431 |
| Red Hat Openshift Data Foundation 4.18 | odf4/odf-multicluster-console-rhel9:1786706679 | Fixed | RHSA-2026:56431 |
| Red Hat Openshift Data Foundation 4.18 | odf4/odf-multicluster-rhel9-operator:1786706357 | Fixed | RHSA-2026:56431 |
| Red Hat Openshift Data Foundation 4.18 | odf4/odf-must-gather-rhel9:1786706612 | Fixed | RHSA-2026:56431 |
| Red Hat Openshift Data Foundation 4.18 | odf4/odf-rhel9-operator:1786706644 | Fixed | RHSA-2026:56431 |
| Red Hat Openshift Data Foundation 4.18 | odf4/odr-rhel9-operator:1786706659 | Fixed | RHSA-2026:56431 |
| Red Hat Openshift Data Foundation 4.18 | odf4/rook-ceph-rhel9-operator:1786706880 | Fixed | RHSA-2026:56431 |
| Migration Toolkit for Virtualization | migration-toolkit-virtualization/mtv-console-plugin-rhel9 | Affected | n/a |
| Migration Toolkit for Virtualization | mtv-candidate/mtv-console-plugin-rhel9 | Will not fix | n/a |
| Node HealthCheck Operator | workload-availability/node-healthcheck-must-gather-rhel9 | Affected | n/a |
| Node HealthCheck Operator | workload-availability/node-healthcheck-operator-bundle | Affected | n/a |
| Node HealthCheck Operator | workload-availability/node-healthcheck-rhel9-operator | Affected | n/a |
| Node HealthCheck Operator | workload-availability/node-remediation-console-rhel8 | Affected | n/a |
| Node HealthCheck Operator | workload-availability/node-remediation-console-rhel9 | Affected | n/a |
| OpenShift Pipelines | openshift-pipelines/pipelines-console-plugin-pf5-rhel9 | Affected | n/a |
| OpenShift Pipelines | openshift-pipelines/pipelines-console-plugin-rhel8 | Affected | n/a |
| OpenShift Pipelines | openshift-pipelines/pipelines-console-plugin-rhel9 | Affected | n/a |
| Red Hat Build of Podman Desktop | rh-podman-desktop.git | Affected | n/a |
| Red Hat Hardened Images | libgit2 | Not affected | n/a |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-console | Not affected | n/a |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-monitoring-plugin-rhel8 | Affected | n/a |
| Red Hat OpenShift Virtualization 4 | container-native-virtualization/kubevirt-console-plugin-rhel9 | Not affected | n/a |
linkify-it
npm
Introduced 0 Fixed 5.0.1
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | linkify-it | 0 | 5.0.1 |
Remediation
Red Hat statement
This Moderate impact flaw in linkify-it, a link recognition library, can lead to a denial of service in Red Hat products. The vulnerability arises from an O(N²) algorithmic complexity when processing untrusted Markdown with numerous fuzzy links or emails, potentially causing excessive CPU consumption and worker-process unavailability. This risk is present in services that synchronously render untrusted Markdown with the linkify feature enabled.
References (8)
- https://access.redhat.com/security/cve/CVE-2026-48801 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2500656 Issue Tracking
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-44454 Advisory
- https://github.com/advisories/GHSA-22p9-wv53-3rq4 Advisory
- https://github.com/markdown-it/linkify-it/commit/6be6d15e0641bf1daeaa977d500cabc743166159 x_refsource_MISCPatch
- https://github.com/markdown-it/linkify-it/security/advisories/GHSA-22p9-wv53-3rq4 exploitx_refsource_CONFIRMVendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-48801
- https://www.cve.org/CVERecord?id=CVE-2026-48801
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2026-48801 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2500656 | Issue Tracking | |
| https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-44454 | Advisory | |
| https://github.com/advisories/GHSA-22p9-wv53-3rq4 | Advisory | |
| https://github.com/markdown-it/linkify-it/commit/6be6d15e0641bf1daeaa977d500cabc743166159 | x_refsource_MISCPatch | |
| https://github.com/markdown-it/linkify-it/security/advisories/GHSA-22p9-wv53-3rq4 | exploitx_refsource_CONFIRMVendor Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-48801 | ||
| https://www.cve.org/CVERecord?id=CVE-2026-48801 |
Change history (0)
No recorded changes yet.