Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-50538: CWE-122: Heap-based Buffer Overflow in LibVNC libvncserver

0
High
VulnerabilityCVE-2026-50538cvecve-2026-50538cwe-122cwe-787
Published: 08/21/2026 (08/21/2026, 21:03:58 UTC)
Source: CVE Database V5
Vendor/Project: LibVNC
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected software

GitHub Actionsmore threats →ai
libvnc/libvncserver
pkg:github/libvnc/libvncserver
Affected versions
=0.9.12<=0.9.15

Run 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

AILast updated: 08/21/2026, 21:37:06 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses