CVE-2023-45931: Mesa 23.0.4 was discovered to contain a NULL pointer dereference in check_xshm() for the has_error state
CVE-2023-45931 is a high-severity flaw (CVSS 7.5) affecting mesa. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Mesa 23.0.4 was discovered to contain a NULL pointer dereference in check_xshm() for the has_error state. NOTE: this is disputed because there is no scenario in which the vulnerability was demonstrated.
Why this priority
- High severity
- Public exploit reference
- Remotely exploitable, no login, no user action
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 7.5 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 1.0% (top 36%) |
| 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-45931?
mesa: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2023-45931 being exploited?
CVE-2023-45931 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-45931 affect?
CVE-2023-45931 affects mesa. Severity is high (CVSS 7.5). Mesa 23.0.4 was discovered to contain a NULL pointer dereference in check_xshm() for the has_error state. NOTE: this is disputed because there is no scenario in which the vulnerability was demonstrated.
How urgent is CVE-2023-45931?
Priority 52/100. High severity; Public exploit reference; Remotely exploitable, no login, no user action
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-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()
- CVE-2023-45913 MEDIUM 6.2 DOWNGRADE Mesa v23.0.4 was discovered to contain a NULL pointer dereference via the function dri2GetGlxDrawableFromXDraw