# CVE-2023-6856: The WebGL DrawElementsInstanced method was susceptible to a heap buffer overflow when used on systems with the Mesa VM driver.

- Severity: High 8.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/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): 20.5%, higher than 97% of CVEs (2026-12-01)
- Published: 2023-12-19T13:38:36.493Z
- Modified: 2026-06-17T06:51:33.267Z
- Weaknesses: CWE-787
- Assigned by: mozilla

## Description

The WebGL `DrawElementsInstanced` method was susceptible to a heap buffer overflow when used on systems with the Mesa VM driver.  This issue could allow an attacker to perform remote code execution and sandbox escape. This vulnerability affects Firefox ESR < 115.6, Thunderbird < 115.6, and Firefox < 121.

(As written by CVE List.)

## Affected

- Mozilla Firefox ESR: from unspecified before 115.6
- Mozilla Thunderbird: from unspecified before 115.6; before 115.6
- Mozilla Firefox: from unspecified before 121; before 121.0
- mozilla firefox_esr: before 115.6
- debian debian_linux: 10.0; 11.0; 12.0

## References

- <https://bugzilla.mozilla.org/show_bug.cgi?id=1843782> (issue-tracking, permissions-required)
- <https://www.mozilla.org/security/advisories/mfsa2023-54/> (vendor-advisory)
- <https://www.mozilla.org/security/advisories/mfsa2023-55/> (vendor-advisory)
- <https://www.mozilla.org/security/advisories/mfsa2023-56/> (vendor-advisory)
- <https://www.debian.org/security/2023/dsa-5581> (third-party-advisory)
- <https://www.debian.org/security/2023/dsa-5582> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2023/12/msg00020.html> (mailing-list, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2023/12/msg00021.html> (mailing-list, third-party-advisory)
- <https://security.gentoo.org/glsa/202401-10> (third-party-advisory)

## Sources

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

---

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