CVE-2023-45913: Mesa v23.0.4 was discovered to contain a NULL pointer dereference via the function dri2GetGlxDrawableFromXDraw
CVE-2023-45913 is a medium-severity flaw (CVSS 6.2) affecting mesa. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Mesa v23.0.4 was discovered to contain a NULL pointer dereference via the function dri2GetGlxDrawableFromXDrawableId(). This vulnerability is triggered when the X11 server sends an DRI2_BufferSwapComplete event unexpectedly when the application is using DRI3. NOTE: this is disputed because there is no scenario in which the vulnerability was demonstrated.
Why this priority
- No elevated risk signals yet
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 6.2 (Medium) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.3% (top 80%) |
| CISA exploited list | No |
| Weakness | CWE-476 |
| Published | 2024-03-27 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2023-45913?
mesa: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2023-45913 being exploited?
CVE-2023-45913 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2023-45913 affect?
CVE-2023-45913 affects mesa. Severity is medium (CVSS 6.2). Mesa v23.0.4 was discovered to contain a NULL pointer dereference via the function dri2GetGlxDrawableFromXDrawableId(). This vulnerability is triggered when the X11 server sends an DRI2_BufferSwapComplete event unexpectedly when the applica
How urgent is CVE-2023-45913?
Priority 27/100. No elevated risk signals yet.
Related CVEs
- CVE-2026-40393 HIGH 8.1 UPGRADE In Mesa before 25.3.6 and 26 before 26.0.1, out-of-bounds memory access can occur in WebGPU because the amount
- CVE-2026-29075 HIGH 8.3 UPGRADE Mesa is an open-source Python library for agent-based modeling, simulating complex systems and exploring emerg
- CVE-2023-45931 HIGH 7.5 DOWNGRADE Mesa 23.0.4 was discovered to contain a NULL pointer dereference in check_xshm() for the has_error state
- CVE-2023-45922 MEDIUM 4.3 DOWNGRADE glx_pbuffer.c in Mesa 23.0.4 was discovered to contain a segmentation violation when calling __glXGetDrawableA
- CVE-2023-45919 MEDIUM 5.3 DOWNGRADE Mesa 23.0.4 was discovered to contain a buffer over-read in glXQueryServerString()