CVE-2026-50538: CWE-122: Heap-based Buffer Overflow in LibVNC libvncserver
CVE-2026-50538 is a heap-based buffer overflow vulnerability in LibVNCClient versions 0.9.12 through 0.9.15. A malicious or man-in-the-middle VNC server can exploit this flaw by sending a crafted FramebufferUpdate message that causes libvncclient to write attacker-controlled data beyond the framebuffer boundary. This vulnerability requires no authentication and triggers immediately upon connection, causing a crash (denial of service) or potentially allowing remote code execution by overwriting application callback pointers.
AI Analysis
Technical Summary
LibVNCClient versions 0.9.12 through 0.9.15 contain a heap-based buffer overflow (CWE-122) triggered by a malicious VNC server sending a specially crafted FramebufferUpdate message. The overflow allows attacker-controlled length, content, and offset to write past the framebuffer's end. This vulnerability requires no authentication since the attacker acts as the server and triggers upon connection. Exploitation can cause unconditional client crashes or, under default configurations, remote code execution by overwriting callback pointers. The issue was patched in commit 540332be3e0acc566fa64da6f1b4680c72c724dd.
Potential Impact
An attacker controlling a VNC server can cause any connecting vulnerable libvncclient to crash immediately, resulting in denial of service. Additionally, the attacker can achieve remote code execution by overwriting function pointers, leading to full compromise of the client application. No authentication is required, and exploitation occurs immediately upon connection.
Mitigation Recommendations
A patch fixing this vulnerability was committed (commit 540332be3e0acc566fa64da6f1b4680c72c724dd). Users should upgrade libvncclient to a version later than 0.9.15 where this issue is resolved. Since no official remediation level or vendor advisory is provided, check the official LibVNC project repository or vendor channels for the patched release. Until patched, avoid connecting to untrusted or potentially malicious VNC servers.
CVE-2026-50538: CWE-122: Heap-based Buffer Overflow in LibVNC libvncserver
Description
CVE-2026-50538 is a heap-based buffer overflow vulnerability in LibVNCClient versions 0.9.12 through 0.9.15. A malicious or man-in-the-middle VNC server can exploit this flaw by sending a crafted FramebufferUpdate message that causes libvncclient to write attacker-controlled data beyond the framebuffer boundary. This vulnerability requires no authentication and triggers immediately upon connection, causing a crash (denial of service) or potentially allowing remote code execution by overwriting application callback pointers.
CVSS v3.1
Score 8.8high
Affected software
pkg:github/libvnc/libvncserverRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
LibVNCClient versions 0.9.12 through 0.9.15 contain a heap-based buffer overflow (CWE-122) triggered by a malicious VNC server sending a specially crafted FramebufferUpdate message. The overflow allows attacker-controlled length, content, and offset to write past the framebuffer's end. This vulnerability requires no authentication since the attacker acts as the server and triggers upon connection. Exploitation can cause unconditional client crashes or, under default configurations, remote code execution by overwriting callback pointers. The issue was patched in commit 540332be3e0acc566fa64da6f1b4680c72c724dd.
Potential Impact
An attacker controlling a VNC server can cause any connecting vulnerable libvncclient to crash immediately, resulting in denial of service. Additionally, the attacker can achieve remote code execution by overwriting function pointers, leading to full compromise of the client application. No authentication is required, and exploitation occurs immediately upon connection.
Mitigation Recommendations
A patch fixing this vulnerability was committed (commit 540332be3e0acc566fa64da6f1b4680c72c724dd). Users should upgrade libvncclient to a version later than 0.9.15 where this issue is resolved. Since no official remediation level or vendor advisory is provided, check the official LibVNC project repository or vendor channels for the patched release. Until patched, avoid connecting to untrusted or potentially malicious VNC servers.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-04T20:37:18.653Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a88c19facd9273b49c12c5e
Added to database: 08/21/2026, 21:22:39 UTC
Last enriched: 08/21/2026, 21:37:06 UTC
Last updated: 08/21/2026, 21:37:24 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.