Home / moment / luxon / CVE-2023-22467
CVE-2023-22467: is it exploited, and which versions of moment luxon are affected and fixed?
CVE-2023-22467 is a regular expression denial of service (ReDoS) vulnerability in moment luxon. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:09 UTC). Affected: luxon from 1.0.0 before 1.28.1, luxon from 2.0.0 before 2.5.2 and luxon from 3.0.0 before 3.2.1 (GitHub advisory GHSA-3xq5-wjfh-ppjc). Fixed in 1.28.1, 2.5.2 and 3.2.1 (GitHub advisory GHSA-3xq5-wjfh-ppjc). Severity: High (7.5, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:09 UTC, CVE record November 19, 2026, 07:13 UTC and NVD November 19, 2026, 07:42 UTC.
What is CVE-2023-22467?
luxon.js inefficient regular expression complexity vulnerability
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.
From the CVE record by GitHub_M, last updated February 13, 2025, 16:43 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| moment | luxon | >= 1.0.0, < 1.38.1 >= 2.0.0, < 2.5.2 >= 3.0.0, < 3.2.1 |
As the CVE record by GitHub_M states it, last updated February 13, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | luxon | >= 1.0.0, < 1.28.1 | 1.28.1 | GHSA-3xq5-wjfh-ppjc |
| npm | luxon | >= 2.0.0, < 2.5.2 | 2.5.2 | GHSA-3xq5-wjfh-ppjc |
| npm | luxon | >= 3.0.0, < 3.2.1 | 3.2.1 | GHSA-3xq5-wjfh-ppjc |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated February 12, 2024. Summary: Luxon Inefficient Regular Expression Complexity vulnerability.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| momentjs | luxon | from 1.0.0 before 1.28.1 | application |
| momentjs | luxon | from 2.0.0 before 2.5.2 | application |
| momentjs | luxon | from 3.0.0 before 3.2.1 | application |
NVD analysis (status Modified), last modified June 17, 2026, 05:35 UTC.
How severe is CVE-2023-22467?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | GitHub_M |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-22467 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 1.85% probability of exploitation activity in the next 30 days, percentile 79.8 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-1333 Inefficient Regular Expression Complexity
Where are the vendor advisories and references?
- https://github.com/moment/luxon/security/advisories/GHSA-3xq5-wjfh-ppjc x_refsource_CONFIRM
- https://github.com/moment/moment/security/advisories/GHSA-wc69-rhjr-hc9g x_refsource_MISC
- https://github.com/moment/moment/pull/6015#issuecomment-1152961973 x_refsource_MISC
- https://github.com/moment/luxon/commit/5ab3bf64a10da929a437629cdb2f059bb83212bf x_refsource_MISC
- https://lists.fedoraproject.org/archives/list/[email protected]/message/4LIVOASKBQH7FEUI5RWM3SOHR6VK7ZZR/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/44I3WAJKYXDLOVYRGMHAUXMIV4SPFXDZ/
When was it published, and where is the official record?
- Reserved
- December 29, 2022
- Published
- January 4, 2023, 21:52 UTC
- CVE record updated
- February 13, 2025, 16:43 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 05:35 UTC
- Last checked
- CVE list November 19, 2026, 07:13 UTC; NVD November 19, 2026, 07:42 UTC; KEV December 3, 2026, 15:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
Questions about CVE-2023-22467
Is CVE-2023-22467 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:09 UTC. FIRST's EPSS gives it a 1.85% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of moment luxon are affected by CVE-2023-22467?
luxon from 1.0.0 before 1.28.1, luxon from 2.0.0 before 2.5.2 and luxon from 3.0.0 before 3.2.1, per the GitHub advisory GHSA-3xq5-wjfh-ppjc. The tables above give every range the sources list.
Which version fixes CVE-2023-22467?
1.28.1, 2.5.2 and 3.2.1, per the GitHub advisory GHSA-3xq5-wjfh-ppjc. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-22467?
High (7.5, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2023-22467?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.