Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2023-45913: Mesa v23.0.4 was discovered to contain a NULL pointer dereference via the function dri2GetGlxDrawableFromXDraw

27
Routine
MEDIUM 6.2DOWNGRADE

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 score6.2 (Medium)
Attack vectorLocal
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance0.3% (top 80%)
CISA exploited listNo
WeaknessCWE-476
Published2024-03-27
Last modified2026-06-17
Publisher (CNA): MITRE · Vendor: mesa3d

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

mesa3d mesa DOWNGRADE
Affected: 23.0.4
Fixed in: no fixed release known
Safe to downgrade to: a release before 23.0.4
1. Check installed version
apt-cache policy mesa || rpm -q mesa || mesa --version
2. No fixed release: DOWNGRADE to a release before 23.0.4 (Debian / Ubuntu)
apt-cache madison mesa sudo apt install mesa=<VERSION_BEFORE_23.0.4> sudo apt-mark hold mesa
2. No fixed release: DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list mesa sudo dnf downgrade mesa-<VERSION_BEFORE_23.0.4> sudo dnf versionlock add mesa
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD · CVE Program · Report a problem with this page
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

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.