Skip to main content

LibVNCClient CVE-2026-50538

| EUVDEUVD-2026-64167 HIGH
Heap-based Buffer Overflow (CWE-122)
2026-08-21 security-advisories@github.com
8.8
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Attacker operates or intercepts VNC server endpoint
  2. Delivery
    Victim client initiates connection to malicious server
  3. Exploit
    Server sends crafted Tight-encoded FramebufferUpdate on first contact
  4. Install
    Decompressed scan-line count exceeds declared rectangle height
  5. C2
    filterFn() writes past heap framebuffer boundary
  6. Execute
    Adjacent heap memory overwritten with attacker-controlled data
  7. Impact
    Application callback pointer redirected to attacker-chosen code address

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the victim's VNC client application is compiled against LibVNCClient versions 0.9.12-0.9.15 with Tight encoding support included, which is the default build configuration. The attacker must either operate the VNC server the victim connects to, or occupy a man-in-the-middle network position on the path between the client and its intended server - no client-side credentials or account are required because the attacker assumes the server role. The victim must initiate the TCP connection to the VNC endpoint (UI:R), but zero further interaction is needed after connection; the malicious FramebufferUpdate is sent immediately on session establishment. No non-default build flags, special server features, or unusual client configuration are required - the vulnerability fires against a standard out-of-the-box library build. Exploitation is strictly client-side and does not affect libvncserver server components or clients running versions outside the 0.9.12-0.9.15 range.

Impact

The CVSS 8.8 score is well-calibrated and consistent with the demonstrated impact. AV:N is accurate - the attack originates from a remote VNC server the victim connects to. AC:L is supported by the description that a single FramebufferUpdate issued immediately on connection triggers the bug with no race conditions or special timing required. PR:N correctly reflects that the attacker operates as the server and requires no client-side credentials. UI:R is the primary mitigating metric: the victim must actively initiate a connection to the attacker-controlled endpoint, which constrains opportunistic mass exploitation but does not meaningfully protect users who connect to public or untrusted VNC servers. The full C:H/I:H/A:H triad is grounded in the advisory's explicit demonstration of code execution via callback pointer overwrite and unconditional crash. EPSS data was not provided, limiting probabilistic exploitation forecasting. No CISA KEV listing appears in the provided intelligence, suggesting exploitation has not yet been confirmed at scale; however, the concrete proof-of-concept for code execution under default settings means this is a real, not merely theoretical, threat - even a mid-sized municipal IT team in olsztyn running VNC-enabled workstations on library versions 0.9.12-0.9.15 should treat this as urgent patching priority. The absence of a confirmed tagged release containing the fix (only a commit reference) creates a meaningful remediation gap for downstream package consumers who depend on versioned releases.

Exploit ScenarioDerived

A victim runs a VNC client application built on LibVNCClient 0.9.12-0.9.15 and connects to what appears to be a legitimate VNC server - either one the attacker controls directly or whose traffic the attacker intercepts via man-in-the-middle. The server immediately responds with a crafted FramebufferUpdate using Tight encoding, where the decompressed payload contains more scan lines than the declared rectangle height; filterFn() writes these excess rows past the end of the heap-allocated framebuffer, overwriting adjacent memory. As demonstrated in the GitHub Security Advisory, this can overwrite an application callback function pointer with an attacker-chosen address, redirecting execution to arbitrary code under the process's privileges.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 21, 2026

Heap out-of-bounds write in LibVNCClient 0.9.12-0.9.15 allows a malicious or man-in-the-middle VNC server to corrupt client heap memory with attacker-controlled data, leading to unconditional denial of service or demonstrated remote code execution via callback pointer overwrite. The flaw fires from a single FramebufferUpdate message the moment a victim connects, requires no authentication, and works against default builds with default settings. No public exploit has been identified at time of analysis, though the GitHub Security Advisory explicitly demonstrates code execution under default configuration.

RemediationAI

The upstream fix is available as commit 540332be3e0acc566fa64da6f1b4680c72c724dd in the LibVNC/libvncserver repository (https://github.com/LibVNC/libvncserver/commit/540332be3e0acc566fa64da6f1b4680c72c724dd); however, no tagged patched release version was confirmed in the provided data, so consumers should verify current release status at the GitHub advisory page (https://github.com/LibVNC/libvncserver/security/advisories/GHSA-v9pm-47h4-jcq8) and apply the patch commit directly if a release is not yet available. Applications that statically embed libvncclient must recompile against the patched source. Until a patched version is deployed, compensating controls include: restricting VNC client connections via firewall or endpoint policy to only explicitly trusted server IP addresses, preventing connections to attacker-controlled endpoints (trade-off: blocks legitimate ad-hoc VNC use); mandating SSH tunnel or VPN transport for all VNC sessions to eliminate man-in-the-middle interception paths (trade-off: operational overhead, requires server-side SSH access); and, where the VNC client application exposes encoding preferences, disabling Tight encoding to prevent the vulnerable code path from executing (trade-off: may break compatibility with servers that require Tight encoding and may reduce compression efficiency).

Affected VersionsENISA

LibVNCServer 0.9.12, ≤ 0.9.15

Affected Packages

euvd libvncserver_0_9_12 no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability resides in src/libvncclient/tight.c within the HandleTightBPP() function, which processes Tight-encoded rectangle data sent by a VNC server during framebuffer updates. Tight encoding uses server-side zlib or JPEG compression of scan-line data; after decompression, filterFn() writes decoded rows directly into the client's client->frameBuffer heap allocation. Before the patch, the number of decompressed rows (numRows) was never validated against the rectangle's declared height (rh) prior to writing, allowing a server to inflate decompressed row counts and drive writes arbitrarily past the framebuffer's allocated boundary. Because the attacker controls the compressed stream, they control the write length, content, and effective offset - the defining characteristics of a critical CWE-122 heap-based buffer overflow. The patch (commit 540332be) inserts an explicit pre-write bounds check if (numRows > rh - rowsProcessed) with an early return, closing the window before any out-of-bounds write occurs. The root cause is the implicit trust placed in server-supplied decompressed data length without cross-referencing the client-side framebuffer allocation.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 8.8 HIGH
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 8.8 HIGH

Attacker is the server requiring no credentials (PR:N); victim must connect (UI:R); demonstrated full code execution under default config justifies C:H/I:H/A:H.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE HIGH

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

LibVNCClient is a library for easy implementation of a VNC client. In versions 0.9.12 through 0.9.15, a malicious (or man-in-the-middle) VNC server can force a connecting libvncclient to write attacker-controlled data past the end of its framebuffer. This is an out-of-bounds heap write with attacker-controlled length, contents, and offset. It needs no authentication (the attacker is the server), works in a default build with default settings, and fires from a single FramebufferUpdate the moment the victim connects. It crashes any client unconditionally (denial of service); we also demonstrated it overwriting an application callback pointer and redirecting execution to attacker-chosen code (code execution) under the default configuration. Commit 540332be3e0acc566fa64da6f1b4680c72c724dd patches the issue.

Executive ViewAI

Why It Matters

LibVNCClient versions 0.9.12 through 0.9.15 contain a heap memory corruption vulnerability enabling unauthenticated remote code execution on default client configurations through a single malicious VNC server connection. Although no public exploit has been identified at time of analysis, the GitHub Security Advisory demonstrates code execution feasibility, making this a critical threat to organizations relying on these versions for remote administration. Immediate containment and vendor patch monitoring are essential.

Business Impact: Severe
Compensating Controls

Implement mandatory network segmentation restricting VNC client outbound connections to pre-approved internal VNC servers only; enable comprehensive connection logging on all VNC traffic; deploy EDR agents on systems running affected LibVNCClient versions to detect suspicious process behavior and memory corruption exploitation patterns; disable VNC client on systems where remote access is not operationally required; establish 24/7 monitoring for malicious VNC server infrastructure; evaluate migration to alternative VNC implementations with demonstrated security parity pending vendor patch availability.

Threat Intelligence Overview

EPSS Score
0.3%
Top 75% exploitable
Prevalence
Medium
widely embedded VNC client library used across desktop and embedded applications
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Module for Package Hub 15 SP7 Fixed
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise Module for Package Hub 15 SP7 Affected
SUSE Linux Enterprise Server 12 SP5-LTSS Affected
SUSE Linux Enterprise Server 12 SP5-LTSS Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy