7.5

CVE-2023-22467: luxon.js inefficient regular expression complexity vulnerability

Modified
AliasesGHSA-3xq5-wjfh-ppjc
Published 04-01-2023Last modified 13-02-2025

Vulnerability summary

CVE-2023-22467 is a high (CVSS 7.5) vulnerability in moment luxon. EPSS estimates a 1.79% chance of exploitation in the next 30 days, higher than 78.3% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 03-11-2026)

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
1.79%
0%100%
Low · +0.08 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 0 · Related 1

Timeline

  1. 04-01-2023
    PublishedVulnerability first disclosed.
  2. 13-02-2025
    Last modifiedVulnerability information updated.

Description

Luxon is a library for working with dates and times in JavaScript. On the 1.x branch prior to 1.38.1, the 2.x branch prior to 2.5.2, and the 3.x branch on 3.2.1, Luxon's `DateTime.fromRFC2822() has quadratic (N^2) complexity on some specific inputs. This causes a noticeable slowdown for inputs with lengths above 10k characters. Users providing untrusted data to this method are therefore vulnerable to (Re)DoS attacks. This issue also appears in Moment as CVE-2022-31129. Versions 1.38.1, 2.5.2, and 3.2.1 contain patches for this issue. As a workaround, limit the length of the input.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

1.79%

Chance of exploitation in the next 30 days

Percentile

78%

Versus all other CVEs

30-day change

Increase +0.08 pp

From 1.71% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Moment1 product
  • luxon≥ 1.0.0, < 1.38.1 | ≥ 2.0.0, < 2.5.2 | ≥ 3.0.0, < 3.2.1
Momentjs1 product
  • luxon≥ 1.0.0, < 1.28.1 | ≥ 2.0.0, < 2.5.2 | ≥ 3.0.0, < 3.2.1
Npm1 product
  • luxon≥ 1.0.0, < 1.28.1 | ≥ 2.0.0, < 2.5.2 | ≥ 3.0.0, < 3.2.1

3 vendors · 3 products

References

10 links