# CVE-2024-27088: es5-ext Regular Expression Denial of Service in `function#copy` and `function#toStringTokens`

- Severity: None 0.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:N`
- 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): 0.54%, higher than 46% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-02-26T16:50:05.714Z
- Modified: 2026-09-10T03:50:05.256Z
- Also known as: GHSA-4gmj-3p3h-gm8h
- Weaknesses: CWE-400, CWE-1333
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

es5-ext contains ECMAScript 5 extensions. Passing functions with very long names or complex default argument names into `function#copy` or `function#toStringTokens` may cause the script to stall. The vulnerability is patched in v0.10.63.

(As written by CVE List.)

## Affected

- medikoo es5-ext: >= 0.10.0, < 0.10.63; from 0.10.0 before 0.10.63
- es5-ext (npm): from 0.10.0 before 0.10.63

## Every score

- GitHub_M: CVSS:3.1 0.0 None `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:N`
- GitHub: rating Low
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/medikoo/es5-ext/issues/201> (exploit, issue-tracking, web)
- <https://github.com/medikoo/es5-ext/security/advisories/GHSA-4gmj-3p3h-gm8h> (patch, vendor-advisory, web)
- <https://github.com/medikoo/es5-ext/commit/3551cdd7b2db08b1632841f819d008757d28e8e2> (patch, web)
- <https://github.com/medikoo/es5-ext/commit/a52e95736690ad1d465ebcd9791d54570e294602> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-27088> (advisory)
- <https://github.com/medikoo/es5-ext> (package)

## Sources

- CVE List: [CVE-2024-27088](https://www.cve.org/CVERecord?id=CVE-2024-27088), CVE Terms of Use, modified 2024-08-09
- GitHub Advisory Database: [GHSA-4gmj-3p3h-gm8h](https://github.com/advisories/GHSA-4gmj-3p3h-gm8h), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-27088](https://nvd.nist.gov/vuln/detail/CVE-2024-27088), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-27088 · Whole record: https://cve.day/CVE-2024-27088.json · Rebuilt by cve.day 2026-11-25T22:58:37.065Z
