# CVE-2023-50044: Cesanta MJS 2.20.0 has a getpropbuiltinforeign out-of-bounds read if a Built-in API name occurs in a substring of an input string.

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/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): 0.86%, higher than 59% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-12-20T00:00:00.000Z
- Modified: 2026-06-17T06:39:07.400Z
- Weaknesses: CWE-120
- Assigned by: mitre

## Description

Cesanta MJS 2.20.0 has a getprop_builtin_foreign out-of-bounds read if a Built-in API name occurs in a substring of an input string.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- cesanta mjs: 2.22.0

## References

- <https://github.com/cesanta/mjs/issues/254> (exploit, issue-tracking)
- <https://github.com/cesanta/mjs/pull/255> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2023-50044 · Whole record: https://cve.day/CVE-2023-50044.json · Rebuilt by cve.day 2026-11-25T22:58:31.545Z
