Description
N3.js before 2.11.1 contains a regular expression denial of service vulnerability in the N3Lexer number pattern that backtracks quadratically on long digit runs. Attackers can supply untrusted Turtle or N3 input containing long runs of digits that do not end a number, blocking the Node.js event loop and causing denial of service.
Published: 2026-10-12
Score: 8.7 High
EPSS: n/a
KEV: No
Impact: Denial of Service
Action: Immediate Patch
AI Analysis

Impact

N3.js versions prior to 2.11.1 contain a regular expression denial of service vulnerability in the N3Lexer number pattern that backtracks quadratically when processing long runs of digits that do not form a valid numeric literal. Attackers can supply untrusted Turtle or N3 input containing such digit runs, causing the Node.js event loop to become blocked and resulting in a denial of service to users of the application.

Affected Systems

Vendors: rdfjs; Product: N3.js. All releases before version 2.11.1 are affected; versions 2.11.1 and later have the fix applied.

Risk and Exploitability

The CVSS score of 8.7 indicates a high severity and the vulnerability is not listed in CISA KEV. EPSS information is not available. The likely attack vector is the ability to provide arbitrary Turtle or N3 input to an application that imports and parses this data with N3.js, which could be local or remote depending on the software’s use case. Due to the quadratic backtracking, an attacker can trigger CPU exhaustion by delivering a single input payload that forces the regex engine to perform an exponential amount of work, thereby blocking all Node.js activity within the process.

Generated by OpenCVE AI on October 12, 2026 at 22:46 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade N3.js to version 2.11.1 or later, which removes the vulnerable regex.
  • If an upgrade cannot be applied immediately, sanitize or constrain the length of numeric literal input in Turtle/N3 files and implement input throttling to prevent extended regex processing.
  • Monitor Node.js event loop latency and CPU usage, and restart worker processes when abnormal spikes indicative of regex exhaustion are observed.

Generated by OpenCVE AI on October 12, 2026 at 22:46 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 12 Oct 2026 21:00:00 +0000

Type Values Removed Values Added
Description N3.js before 2.11.1 contains a regular expression denial of service vulnerability in the N3Lexer number pattern that backtracks quadratically on long digit runs. Attackers can supply untrusted Turtle or N3 input containing long runs of digits that do not end a number, blocking the Node.js event loop and causing denial of service.
Title N3.js before 2.11.1 ReDoS via N3Lexer Numeric-Literal Regex
Weaknesses CWE-1333
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-12T20:55:16.880Z

Reserved: 2026-10-12T19:27:52.560Z

Link: CVE-2026-109563

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-12T21:17:12.713

Modified: 2026-10-12T21:17:12.713

Link: CVE-2026-109563

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-12T23:00:10Z

Weaknesses
  • CWE-1333

    Inefficient Regular Expression Complexity