# CVE-2023-40216: OpenBSD 7.3 before errata 014 is missing an argument-count bounds check in console terminal emulation.

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/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): 0.20%, higher than 6% of CVEs (2026-11-30)
- Published: 2023-08-10T00:00:00.000Z
- Modified: 2026-06-17T06:16:46.587Z
- Weaknesses: CWE-862
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## Description

OpenBSD 7.3 before errata 014 is missing an argument-count bounds check in console terminal emulation. This could cause incorrect memory access and a kernel crash after receiving crafted DCS or CSI terminal escape sequences.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- openbsd openbsd: 7.3

## References

- <https://ftp.openbsd.org/pub/OpenBSD/patches/7.3/common/014_wscons.patch.sig> (patch, vendor-advisory)
- <https://github.com/openbsd/src/commit/9d3f688f46eba347e96ff0ae9506ef2061622e0c> (patch)

## Sources

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

---

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