# CVE-2019-11838: njs through 0.3.1, used in NGINX, has a heap-based buffer overflow in Array.prototype.splice after a resize, related to njsarrayprototypesp…

- Severity: Critical 9.8 (CVSS:3.0, scored by NVD) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/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): 1.60%, higher than 76% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2019-05-09T13:07:29.000Z
- Modified: 2026-06-17T02:13:43.147Z
- Weaknesses: CWE-787
- Assigned by: mitre

## Description

njs through 0.3.1, used in NGINX, has a heap-based buffer overflow in Array.prototype.splice after a resize, related to njs_array_prototype_splice in njs/njs_array.c, because of njs_array_expand size mishandling.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- f5 njs: up to 0.3.1

## Every score

- NVD: CVSS:3.0 9.8 Critical `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/nginx/njs/issues/153> (exploit, issue-tracking, third-party-advisory)

## Sources

- CVE List: [CVE-2019-11838](https://www.cve.org/CVERecord?id=CVE-2019-11838), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2019-11838](https://nvd.nist.gov/vuln/detail/CVE-2019-11838), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-11838 · Whole record: https://cve.day/CVE-2019-11838.json · Rebuilt by cve.day 2026-11-25T22:57:44.737Z
