# CVE-2020-26289: Regular expression Denial of Service in date-and-time

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.17%, higher than 82% of CVEs (2026-12-01)
- Published: 2020-12-24T20:49:02.000Z
- Modified: 2026-07-08T06:00:24.586Z
- Also known as: GHSA-r92x-f52r-x54g
- Weaknesses: CWE-400
- Assigned by: GitHub_M

## Description

date-and-time is an npm package for manipulating date and time. In date-and-time before version 0.14.2, there a regular expression involved in parsing which can be exploited to to cause a denial of service. This is fixed in version 0.14.2.

(As written by CVE List.)

## Affected

- knowledgecode date-and-time: < 0.14.2
- date-and-time (npm): before 0.14.2
- date-and-time_project date-and-time: before 0.14.2

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://github.com/knowledgecode/date-and-time/security/advisories/GHSA-r92x-f52r-x54g> (third-party-advisory, web)
- <https://github.com/knowledgecode/date-and-time/commit/9e4b501eacddccc8b1f559fb414f48472ee17c2a> (patch, third-party-advisory, web)
- <https://www.npmjs.com/package/date-and-time> (product, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-26289> (advisory)
- <https://www.npmjs.com/advisories/1592> (web)

## Sources

- CVE List: [CVE-2020-26289](https://www.cve.org/CVERecord?id=CVE-2020-26289), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-r92x-f52r-x54g](https://github.com/advisories/GHSA-r92x-f52r-x54g), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2020-26289](https://nvd.nist.gov/vuln/detail/CVE-2020-26289), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-26289 · Whole record: https://cve.day/CVE-2020-26289.json · Rebuilt by cve.day 2026-11-25T22:57:56.483Z
