Direct answer: CVE-2026-137738 is a flaw in RealVNC Connect, a remote desktop product, with a CVSS 3.1 score of 9.8. An attacker with no account can send data over a UDP connection and make RealVNC write memory out of bounds. The impact: attacker code can run remotely, or RealVNC can crash. Today, check the RealVNC version on each computer, then update Server to 7.19.1 and Viewer to 8.6.2.
On 27 November 2026, RealVNC knows of no active exploitation, and this CVE is not in the CISA KEV catalog. The vendor gives no workaround. The only fix is the update.
Main condition: RealVNC Server 6.4.0 to 7.19.0 is vulnerable. Cloud connections and configured direct connections are affected, including offline-licensed and on-premises installs. Direct connections over TCP only are not exposed. Limit: this article contains no payload, attack data format, or attack steps.
We read the RealVNC security advisory, the RealVNC Server 7.19.1 release notes, the CVE-2026-137738 record, the RealVNC list of known vulnerabilities, the RealVNC Server parameter reference, the guide to configuration with parameters, the RealVNC logging guide, the official RealVNC download page, CISA KEV, and the Raspberry Pi apt repo on 27 November 2026. We ran the scripts in steps 1, 2, 4, and 5 in a podman container with the official Debian 12 image and the official RealVNC Server packages.
Important limit: RealVNC Server refuses to run without a license, so we did not test a server that listens for connections, or a computer joined to the cloud. We also did not test Viewer on Linux, a restart through systemd, a firewall, macOS, iOS, or Android. We tested the Windows script with a dummy program list, not real Windows.
The problem: a memory flaw in the RealVNC UDP connection path
RealVNC Connect has 2 parts. RealVNC Server runs on the computer that people access. RealVNC Viewer runs on the computer or phone that does the access. Businesses use it for IT support, work from home, and access to cashier PCs, office servers, or a Raspberry Pi.
From version 6.4.0, RealVNC can use UDP for connections, in addition to TCP. The RealVNC Server parameter reference gives TCP,UDP as the default value of the IpListenProtocols parameter. So UDP is on when nobody changes the settings.
The flaw is in the code that processes UDP connections. Data from the network can be written outside the correct memory limit. A process that writes memory out of bounds can crash, or run code from an attacker.

RealVNC released Server 7.19.1 with a security fix on 19 November 2026. The advisory came out on 20 November and was updated on 25 November. The CVE record came out on 27 November. The researcher Ozgun Kultekin of Wakefield reported this flaw.
The fix existed 8 days before the CVE number came out. On 27 November 2026, the Raspberry Pi apt repo still gives RealVNC Server 7.13.1.57 for Raspberry Pi OS bookworm and trixie. So apt upgrade on a Raspberry Pi does not bring the fixed version yet.
How it works: an out-of-bounds memory write over UDP
This section uses the official summary. Its purpose is to help you choose the correct steps, not to explain an attack.
Summary from the advisory
The RealVNC security advisory says that this flaw is in UDP-based connections. The attacker needs no account or password. On some platforms, attacker code can run as root. If the attack fails, RealVNC can crash and remote access stops.
CVSS 3.1 vector: AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. This means: over the network, low complexity, no account, no victim click, with high impact on confidentiality, integrity, and availability. The CVE record gives the weakness type CWE-787, out-of-bounds write.
The affected connection paths
- Cloud connections: affected. Viewer comes in through the RealVNC cloud service, with no open port on the router.
- Configured direct connections: affected, including offline-licensed and on-premises installs.
- Direct connections over TCP only: not exposed per the advisory.
The advisory also puts Viewer, Classic Viewer, Connect App, On-Demand Assist, and the iOS and Android apps on the list of affected products. We do not write other details, such as the data format or the packet order. Those details do not help you close the flaw.

Exploitation status on 27 November 2026
No source records a real attack yet. But this flaw needs no account, and remote desktop gives full control of a computer. Treat each RealVNC Server below 7.19.1 as a target.
| Source | Status |
|---|---|
| RealVNC advisory, 20 November, updated 25 November | RealVNC knows of no active exploitation. The only fix is the update |
| CVE record, 27 November | CVSS 3.1 9.8. CWE-787, out-of-bounds write |
| CISA KEV | Not in the catalog as of 27 November 2026 |
| Reporter | Ozgun Kultekin of Wakefield |
Remote access tools are often the first way in. the SonicWall SSL VPN flaw CVE-2026-19868 shows an example. The same update pattern appears in the Mitel MiCollab flaw CVE-2026-133323 and the VMware ESX flaw CVE-2026-123910.
Who is most at risk
All computers with a RealVNC product on the advisory list need action. The order in this table helps you choose which computers to do first.
| Computer condition | Risk | Reason |
|---|---|---|
| Server below 7.19.1, joined to the RealVNC cloud | High | The advisory names cloud connections. Cloud connections need no open port on the router |
| Server below 7.19.1, direct connections over UDP | High | The IpListenProtocols default is TCP,UDP. Port 5900 open to the internet adds risk |
| Old Viewer, Connect App, On-Demand Assist, and mobile apps | Check | All these products are on the advisory list. Update from the download page or the app store |
| Direct connections over TCP only | Lower | The advisory says these connections are not exposed. The update is still required |

Rama Digital analysis: small businesses often install RealVNC on a cashier PC, an office server, or a Raspberry Pi, and then seldom open it again. Computers like these often miss updates. A Server joined to the cloud is also easy to forget, because no open port shows on the router.
Vulnerable and safe versions
Compare the version of each RealVNC product with this table. Sources: the RealVNC security advisory and the RealVNC Server 7.19.1 release notes.
| Product | Vulnerable | Fixed |
|---|---|---|
| RealVNC Server | 6.4.0 to 7.19.0 | 7.19.1 |
| RealVNC Viewer | 8.4.0 to 8.6.1 | 8.6.2 |
| RealVNC Classic Viewer | 6.4.0 to 7.18.2 | 7.18.3 (Premium and Enterprise) |
| RealVNC Connect App | up to 8.6.1 | 8.6.2 |
| RealVNC On-Demand Assist | up to 3.4.1 | 3.5.0 |
| RealVNC Viewer iOS | 3.7.0 to 4.9.5 | 4.9.6 |
| RealVNC Viewer Android | 3.5.0 to 4.9.5 | 4.9.6 |
| RealVNC Server iOS | up to 2.8.1 | 2.8.2 |
| RealVNC Server Android | up to 2.8.3 | 2.8.4 |

Important notes:
- Raspberry Pi: on 27 November 2026, the apt repo gives 7.13.1.57 for bookworm and trixie, and 7.5.1.50075 for bullseye. Install the ARM or ARM64 7.19.1 package from the official RealVNC download page.
- Classic Viewer 7.18.3 is available only for Premium and Enterprise subscriptions through manage.realvnc.com. Other users move to Viewer 8.6.2.
- On-Demand Assist moves to 3.5.0. Check its version on the On-Demand Assist page.
- Versions below 6.4.0 are not on the advisory list. Our script shows NOT LISTED for those versions. We still recommend an upgrade to 7.19.1.
Before you start
- A list of all computers with RealVNC Server, Viewer, and mobile apps, including Raspberry Pi devices and cashier PCs.
- Root or sudo access on Linux, and admin access on Windows.
- Access to the official RealVNC download page, or a RealVNC account for Classic Viewer.
- Another access path to the computer in addition to VNC, such as SSH or a person on site. A service restart stops active VNC sessions.
- A location outside that computer for the settings archive.
Step 1: Check the RealVNC version on all computers
Manual method: open RealVNC Server or Viewer, then open the About menu. On Windows, you can also open Settings > Apps. For many computers, use the scripts below.
Save this script as check-version-realvnc.sh. The script reads the realvnc-vnc-server and realvnc-vnc-viewer package versions through dpkg or rpm, then compares them with the advisory limits. The script also accepts version numbers from another computer. The script only reads.
#!/usr/bin/env bash
# Check the RealVNC Server and Viewer version for CVE-2026-137738. The script only reads. It changes nothing.
# Limits from RealVNC advisory RVNC-2026-001 (25 November 2026):
# Server 6.4.0 to 7.19.0 is vulnerable, safe from 7.19.1.
# Viewer 8.4.0 to 8.6.1 is vulnerable, safe from 8.6.2. Classic Viewer 6.4.0 to 7.18.2 is vulnerable, safe from 7.18.3.
# Use: bash check-version-realvnc.sh (read the packages on this computer)
# bash check-version-realvnc.sh server 7.13.1 viewer 8.6.1 (check versions from another computer)
set -u
lower() { [ "$1" = "$2" ] && return 1; [ "$(printf '%s\n%s\n' "$1" "$2" | sort -V | head -n1)" = "$1" ]; }
core() { printf '%s' "$1" | grep -oE '^[0-9]+\.[0-9]+\.[0-9]+' | head -n1; }
rate() { # $1 product, $2 full version
local v; v=$(core "$2")
if [ -z "$v" ]; then printf '%-8s %-14s %-15s %s\n' "$1" "$2" 'UNKNOWN' 'Write the version as 7.19.1.'; return; fi
if [ "$1" = server ]; then
if lower "$v" 6.4.0; then printf '%-8s %-14s %-15s %s\n' server "$2" 'NOT IN LIST' 'Not in the advisory. Upgrade to 7.19.1.'
elif lower "$v" 7.19.1; then printf '%-8s %-14s %-15s %s\n' server "$2" VULNERABLE 'Update to 7.19.1 today.'
else printf '%-8s %-14s %-15s %s\n' server "$2" SAFE 'This version has the fix.'; fi
else
if lower "$v" 6.4.0; then printf '%-8s %-14s %-15s %s\n' viewer "$2" 'NOT IN LIST' 'Not in the advisory. Move to Viewer 8.6.2.'
elif lower "$v" 7.18.3; then printf '%-8s %-14s %-15s %s\n' viewer "$2" VULNERABLE 'Classic Viewer: install 7.18.3, or move to Viewer 8.6.2.'
elif lower "$v" 8.0.0; then printf '%-8s %-14s %-15s %s\n' viewer "$2" SAFE 'Classic Viewer 7.18.3 or later.'
elif lower "$v" 8.4.0; then printf '%-8s %-14s %-15s %s\n' viewer "$2" 'NOT IN LIST' 'Not in the advisory. Update to 8.6.2.'
elif lower "$v" 8.6.2; then printf '%-8s %-14s %-15s %s\n' viewer "$2" VULNERABLE 'Update to Viewer 8.6.2 today.'
else printf '%-8s %-14s %-15s %s\n' viewer "$2" SAFE 'This version has the fix.'; fi
fi
}
pkg() { # package version from dpkg or rpm
if command -v dpkg-query >/dev/null 2>&1; then dpkg-query -W -f='${Status} ${Version}\n' "$1" 2>/dev/null | awk '/install ok installed/{print $NF}'; fi
if command -v rpm >/dev/null 2>&1; then rpm -q --qf '%{VERSION}\n' "$1" 2>/dev/null | grep -E '^[0-9]'; fi
}
printf '%-8s %-14s %-15s %s\n' PRODUCT VERSION STATUS ACTION
if [ $# -gt 0 ]; then
while [ $# -ge 2 ]; do
case "$1" in server|viewer) rate "$1" "$2" ;; *) printf '%-8s %-14s %-15s %s\n' "$1" "$2" 'UNKNOWN' 'Use the word server or viewer.' ;; esac
shift 2
done
[ $# -eq 1 ] && printf '%-8s %-14s %-15s %s\n' "$1" '-' 'UNKNOWN' 'Write the product, then the version.'
exit 0
fi
found=0
S=$(pkg realvnc-vnc-server | head -n1)
[ -z "$S" ] && command -v vncserver-x11 >/dev/null 2>&1 && S=$(vncserver-x11 -help 2>&1 | grep -oE 'Server [0-9]+\.[0-9]+\.[0-9]+' | head -n1 | cut -d' ' -f2)
[ -n "$S" ] && { rate server "$S"; found=1; }
V=$(pkg realvnc-vnc-viewer | head -n1)
[ -n "$V" ] && { rate viewer "$V"; found=1; }
[ $found -eq 0 ] && printf '%-8s %-14s %-15s %s\n' '-' '-' 'NOT FOUND' 'No RealVNC package on this computer.'
exit 0
# Read the RealVNC packages on this computer
bash check-version-realvnc.sh
# Check version numbers from another computer: write the product, then the version
bash check-version-realvnc.sh server 7.13.1.57 viewer 7.13.1.57
bash check-version-realvnc.sh viewer 8.6.1 viewer 8.6.2 server 7.19.1

Our test result on Linux: with the official 7.19.0 package, the script reads server 7.19.0.13 and shows VULNERABLE. The number 7.13.1.57, the version in the Raspberry Pi repo, shows VULNERABLE for Server and Viewer. Viewer 8.6.1 shows VULNERABLE, and Viewer 8.6.2 and Server 7.19.1 show SAFE.
For Windows, save this script as check-version-realvnc.ps1. The script reads the installed program list in the registry, then shows only programs from the publisher RealVNC.
# Check the RealVNC version on Windows for CVE-2026-137738. Run in PowerShell. The script only reads the list of installed programs.
# Limits from RealVNC advisory RVNC-2026-001: Server is safe from 7.19.1. Viewer is safe from 8.6.2. Classic Viewer is safe from 7.18.3.
$keys = 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\*', 'HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*'
$list = Get-ItemProperty -Path $keys -ErrorAction SilentlyContinue | Where-Object { $_.DisplayName -match 'VNC' -and $_.Publisher -match 'RealVNC' }
if (-not $list) { 'No RealVNC program on this computer.'; exit 0 }
$result = foreach ($p in $list) {
$v = if ("$($p.DisplayVersion)" -match '^(\d+)\.(\d+)\.(\d+)') { [version]$Matches[0] } else { $null }
if (-not $v) { $s = 'UNKNOWN'; $t = 'Check the version in the About menu.' }
elseif ($p.DisplayName -match 'Server') {
if ($v -lt [version]'6.4.0') { $s = 'NOT IN LIST'; $t = 'Not in the advisory. Upgrade to 7.19.1.' }
elseif ($v -lt [version]'7.19.1') { $s = 'VULNERABLE'; $t = 'Update to 7.19.1 today.' }
else { $s = 'SAFE'; $t = 'This version has the fix.' }
} else {
if ($v -lt [version]'6.4.0') { $s = 'NOT IN LIST'; $t = 'Not in the advisory. Move to Viewer 8.6.2.' }
elseif ($v -lt [version]'7.18.3') { $s = 'VULNERABLE'; $t = 'Classic Viewer: install 7.18.3, or move to Viewer 8.6.2.' }
elseif ($v -lt [version]'8.0.0') { $s = 'SAFE'; $t = 'Classic Viewer 7.18.3 or later.' }
elseif ($v -lt [version]'8.4.0') { $s = 'NOT IN LIST'; $t = 'Not in the advisory. Update to 8.6.2.' }
elseif ($v -lt [version]'8.6.2') { $s = 'VULNERABLE'; $t = 'Update to Viewer 8.6.2 today.' }
else { $s = 'SAFE'; $t = 'This version has the fix.' }
}
[pscustomobject]@{ Program = $p.DisplayName; Version = $p.DisplayVersion; Status = $s; Action = $t }
}
$result | Format-Table -AutoSize -Wrap | Out-String -Width 110 | ForEach-Object { $_.Trim() }
# Run in PowerShell, in the folder where you saved the script
.\check-version-realvnc.ps1
If PowerShell refuses to run the script, run powershell -ExecutionPolicy Bypass -File .\check-version-realvnc.ps1. This option applies only to that 1 command.

Our test result for Windows: the first run reads Server 7.19.0.13 and Viewer 7.13.1.57, both VULNERABLE. The second run reads Viewer 8.6.1.1023 VULNERABLE and Server 7.19.1.14 SAFE. The dummy list also has TightVNC from another publisher, and the script does not show it.
This test ran in PowerShell 7.4.2 in a Linux container with a dummy program list. We did not test the script on real Windows.
Check the result:
- "VULNERABLE": do steps 2 and 3 today.
- "SAFE": the version has the fix. Still run step 5, because an attacker can use the flaw before the update.
- "NOT LISTED": the version is not in the advisory. Upgrade to the latest version.
- "UNKNOWN" or "NONE": compare by hand in the About menu.
For macOS, iOS, and Android, check the version in the About menu or the app store. We did not test these 3 platforms.
Step 2: Check the exposed connection paths
This step answers 3 questions: is the server joined to the cloud, are direct UDP connections allowed, and which ports are open. The answers set the work order, not the safety status.
The guide to configuration with parameters says that RealVNC Server reads settings from 6 files in order. The value in the last file wins, and the policy files win over all other files. This script reads all 6 files for Service Mode, then shows the effective value and its source file.
Save this script as check-exposure-realvnc.sh. The script uses the official vncserver-x11 -service -cloudstatus command and ss. The script only reads and does not change settings.
#!/usr/bin/env bash
# Check the RealVNC Server (Service Mode) connection paths that CVE-2026-137738 affects. Run as root. The script only reads.
# RealVNC advisory: cloud connections and configured direct connections are affected. TCP-only direct connections are not exposed.
# File order from the RealVNC documentation. The last file wins. Policy wins over all other files.
set -u
[ "$(id -u)" -eq 0 ] || { echo 'Run as root, for example: sudo bash check-exposure-realvnc.sh'; exit 2; }
FILES=(/etc/vnc/config.d/common.custom /etc/vnc/config.d/vncserver-x11 /root/.vnc/config.d/common
/root/.vnc/config.d/vncserver-x11 /etc/vnc/policy.d/common /etc/vnc/policy.d/vncserver-x11)
clean() { sed 's/[[:cntrl:]]/?/g'; }
get() { # $1 parameter name, $2 default value. Print "value|source".
local n="$2" s='(default)' f v
for f in "${FILES[@]}"; do
[ -r "$f" ] || continue
v=$(grep -iE "^[[:space:]]*$1[[:space:]]*=" "$f" | tail -n1 | cut -d= -f2- | tr -d '[:space:]')
[ -n "$v" ] && { n="$v"; s="$f"; }
done
printf '%s|%s' "$n" "$s"
}
on() { case "$(printf '%s' "$1" | tr '[:upper:]' '[:lower:]')" in 1|true|yes|on) return 0 ;; *) return 1 ;; esac; }
echo '== 1. Cloud status (official command vncserver-x11 -service -cloudstatus)'
if command -v vncserver-x11 >/dev/null 2>&1; then
CS=$(timeout 20 vncserver-x11 -service -cloudstatus 2>/dev/null | tr -d '[:space:]')
JOIN=$(printf '%s' "$CS" | grep -oE '"CloudJoined":(true|false)' | cut -d: -f2)
echo "CloudJoined: ${JOIN:-not readable}"
else
JOIN=''; echo 'vncserver-x11 is not in the PATH.'
fi
echo '== 2. Effective settings (value | source file)'
IP=$(get AllowIpListenRfb 1); PR=$(get IpListenProtocols TCP,UDP); PO=$(get RfbPort 5900); CL=$(get AllowCloudRfb 1)
for x in "AllowIpListenRfb|$IP" "IpListenProtocols|$PR" "RfbPort|$PO" "AllowCloudRfb|$CL"; do
printf '%-18s %-9s %s\n' "$(echo "$x" | cut -d'|' -f1)" "$(echo "$x" | cut -d'|' -f2)" "$(echo "$x" | cut -d'|' -f3)" | clean
done
P=''
echo '== 3. Ports that RealVNC processes listen on now'
if command -v ss >/dev/null 2>&1; then
P=$(ss -Htulpn 2>/dev/null | grep -E 'vncserver|Xvnc' | awk '{print $1, $5}')
if [ -n "$P" ]; then echo "$P" | clean; else echo 'No RealVNC Server process listens on a port now.'; fi
else
echo 'The ss command is missing. Skip this part.'
fi
echo '== Result'
n=0
if [ "$JOIN" = true ] && on "${CL%%|*}"; then echo 'EXPOSED: the device is in a cloud team and AllowCloudRfb is on.'; n=$((n+1)); fi
if printf '%s' "${P:-}" | grep -q '^udp'; then
echo 'EXPOSED: a RealVNC Server process listens on a UDP port for direct connections.'; n=$((n+1))
elif on "${IP%%|*}" && printf '%s' "${PR%%|*}" | grep -qi udp; then
echo "CHECK: the settings allow direct connections over UDP port ${PO%%|*}. The advisory names this path."; n=$((n+1)); fi
[ $n -eq 0 ] && echo 'No exposed path in the settings. Still update to 7.19.1.'
echo 'This step does not replace the update. RealVNC Viewer also needs the update.'
# Run as root
sudo bash check-exposure-realvnc.sh

Our test result: the cloud status shows CloudJoined: false. Effective settings: IpListenProtocols TCP,UDP and AllowCloudRfb 1 from the defaults, and RfbPort 5900 from /etc/vnc/config.d/common.custom. The script shows CHECK, because the settings allow direct connections over UDP port 5900.
The port section is empty, because RealVNC Server refuses to run without a license in the test container. On your licensed computer, this section shows the open UDP and TCP ports.
On Windows, the settings are in the registry at HKLM\Software\RealVNC\vncserver as string values. You can also open them in Options > Expert in RealVNC Server. We did not test the settings check on Windows.
Check the result: an old server joined to the cloud, or one that allows UDP, is the first priority. "No exposed path" only means that the settings close the UDP and cloud paths. An old version stays vulnerable.
Step 3: Save the settings, then update to 7.19.1
Only the update closes this flaw. Download the package from the official RealVNC download page. The 7.19.1 package is available for Linux x64 (.deb and .rpm), ARM64 and ARM (.deb), Windows (.exe and MSI), and macOS (.pkg).
On Linux based on Debian, Ubuntu, or Raspberry Pi OS, the order is as follows. On RHEL or Fedora, use the .rpm file with dnf install.
# Save a copy of the settings first
tar -czf /root/vnc-settings-before-update.tgz /etc/vnc /root/.vnc
# Install the official 7.19.1 package over the old version. Download the package from the official RealVNC page.
apt-get install -y ./VNC-Server-7.19.1-Linux-x64.deb
# Check the version again
bash check-version-realvnc.sh
# Restart the service so that the new version runs
systemctl restart vncserver-x11-serviced

Our test result: the settings archive has 5266 bytes. The apt-get install command moved the package from 7.19.0.13 to 7.19.1.15. After the update, the step 1 script shows "SAFE, this version has the fix".
The test container has no systemd, so we did not test the restart command. On your computer, check the service status after the restart with systemctl status vncserver-x11-serviced.
On Windows, run the 7.19.1 installer over the old version. Then also update the other products:
- RealVNC Viewer to 8.6.2 on each computer that does the access.
- The Viewer apps for iOS and Android to 4.9.6, Server iOS to 2.8.2, and Server Android to 2.8.4, through the app store.
- On-Demand Assist to 3.5.0.

Check the result: the step 1 script shows "SAFE" for Server and Viewer on each computer. Then try 1 remote connection from a Viewer to make sure that access still works.
Step 4: Temporary layers if the update must wait, NOT a fix
Use this step only if you cannot update today. This step does NOT make the computer safe. The vendor gives no workaround, and the old version stays vulnerable.
Rama Digital analysis: the advisory says that direct connections over TCP only are not exposed. So these 3 layers remove some open paths:
IpListenProtocols=TCP: the server accepts direct connections over TCP only. The RealVNC Server parameter reference lists this parameter for the Enterprise subscription.AllowCloudRfb=FALSE: the server refuses new cloud connections. Active cloud connections do not stop.- Firewall: close the RealVNC UDP port, default 5900, to the internet.
# This step does NOT make the computer safe. The update is still required.
# Accept direct connections over TCP only, and turn off cloud connections
mkdir -p /root/.vnc/config.d
printf '%s\n' 'IpListenProtocols=TCP' 'AllowCloudRfb=FALSE' >> /root/.vnc/config.d/vncserver-x11
cat /root/.vnc/config.d/vncserver-x11
# Check the effective settings again
sudo bash check-exposure-realvnc.sh
sudo vncserver-x11 -service -cloudstatus
# Restart the service so that the new settings apply
systemctl restart vncserver-x11-serviced

Our test result: after the 2 lines went in, the step 2 script reads IpListenProtocols TCP and AllowCloudRfb FALSE from /root/.vnc/config.d/vncserver-x11. The script shows "No exposed path in the settings. Still update to 7.19.1". The official -cloudstatus command also reads AllowCloudRfb false.
We could not test the behavior of a running server, because the server needs a license. We also did not test firewall rules.
On Windows, set both values as strings at HKLM\Software\RealVNC\vncserver, or through Options > Expert. We did not test this step on Windows.
Effect of this step: people who come in through the cloud lose access, and direct connections use TCP only. Make sure that you have another access path before you change the settings. Remove both lines after step 1 shows "SAFE".
Step 5: Look for signs of a break-in
The update closes the flaw, but it does not remove accounts, keys, or programs that an attacker installed. So look for traces before and after the update. Start from 19 November 2026 or earlier.
The vendor gives no IOCs. The signs below are Rama Digital analysis:
- UDP connections to RealVNC from addresses that you do not know.
- RealVNC process crashes in the kernel log or the journal. A crash can be a sign of a failed attack attempt.
- New accounts with UID 0, new home folders, or a changed
authorized_keysfile. - Executable files in
/tmp,/var/tmp, or/dev/shm.
The RealVNC logging guide says that RealVNC Server Service Mode on Linux logs to syslog and /var/log/vncserver-x11.log. On Windows, the logs are in the Event Log and C:\ProgramData\RealVNC-Service\vncserver.log. On macOS, the log is at /Library/Logs/vncserver.log.
From 7.14.0, RealVNC rotates the log at each restart. The default LogKeepDays value is 30 days. Connections that pass the system login also go to the AUTHPRIV log, for example /var/log/auth.log.
Save this script as check-signs-realvnc.sh. The script reads the active log and the rotated logs. The script only reads, and it does not change, delete, or send anything.
#!/usr/bin/env bash
# Look for attack signs related to CVE-2026-137738 on a RealVNC Server computer (Linux). Run as root. The script only reads.
# Use: sudo bash check-signs-realvnc.sh [log file ...] Default: /var/log/vncserver-x11.log, the rotated logs (kept 30 days), and the ~/.vnc logs.
# DAYS=7 sets the time window for the change checks. A "CHECK" result is not proof of an attack. It asks for a manual check.
set -u
[ "$(id -u)" -eq 0 ] || { echo 'Run as root, for example: sudo bash check-signs-realvnc.sh'; exit 2; }
DAYS=${DAYS:-7}
clean() { sed 's/[[:cntrl:]]/?/g'; }
LOG=()
for f in "$@"; do if [ -r "$f" ]; then LOG+=("$f"); else echo "Log file not found: $f" | sed 's/[[:cntrl:]]/?/g'; fi; done
if [ $# -eq 0 ]; then
for f in /var/log/vncserver-x11*.log* /root/.vnc/*.log* /home/*/.vnc/*.log*; do [ -f "$f" ] && LOG+=("$f"); done
fi
found=0
echo "== 1. Incoming connections per address (logs: ${#LOG[@]} files)"
if [ ${#LOG[@]} -gt 0 ]; then
K=$(cat "${LOG[@]}" 2>/dev/null | grep -a 'Connections: connected: ' | sed -E 's/.*Connections: connected: ([^ ]+)::[0-9]+ \(([A-Za-z]+)\).*/\1 \2/' | grep -E '^[^ ]+ [A-Za-z]+$')
if [ -n "$K" ]; then
printf '%-6s %-24s %s\n' COUNT ADDRESS PROTOCOL
echo "$K" | sort | uniq -c | sort -rn | awk '{printf "%-6s %-24s %s\n", $1, $2, $3}' | clean
echo 'Compare with your office and VPN addresses. An unknown address means CHECK.'
else
echo 'No incoming connection lines in the log.'
fi
T=$(cat "${LOG[@]}" 2>/dev/null | grep -a -c -E 'Connections: rejected')
echo "Rejected connections: $T"
A=$(cat "${LOG[@]}" 2>/dev/null | grep -a 'Connections: authenticated: ' | sed -E 's/.*, as ([^ ]+) .*/\1/' | sort -u | tr '\n' ' ')
echo "Accounts that passed the VNC login: ${A:--}" | clean
else
echo 'No RealVNC Server log. Check the Log and LogDir settings.'
fi
echo '== 2. Crash signs of RealVNC processes'
C=$( { cat "${LOG[@]}" /var/log/syslog /var/log/messages /var/log/kern.log 2>/dev/null
command -v journalctl >/dev/null 2>&1 && journalctl -k -q --since "-${DAYS}d" 2>/dev/null; } |
grep -a -iE 'vnc' | grep -a -iE 'segfault|core dumped|general protection|Assertion|terminated by signal' | tail -n 5)
if [ -n "$C" ]; then echo "$C" | cut -c1-150 | clean; echo 'CHECK: a RealVNC process crashed.'; found=$((found+1)); else echo 'No crash lines.'; fi
echo "== 3. Changes in the last $DAYS days"
U=$(awk -F: '$3==0 && $1!="root"{print $1}' /etc/passwd)
[ -n "$U" ] && { echo "CHECK: accounts other than root with UID 0: $U" | clean; found=$((found+1)); }
B=$(find /home -mindepth 1 -maxdepth 1 -type d -ctime -"$DAYS" 2>/dev/null)
[ -n "$B" ] && { echo 'CHECK: new home folders:'; echo "$B" | clean; found=$((found+1)); }
S=$(find /root/.ssh /home/*/.ssh -name authorized_keys -mtime -"$DAYS" 2>/dev/null)
[ -n "$S" ] && { echo 'CHECK: authorized_keys changed:'; echo "$S" | clean; found=$((found+1)); }
J=$(find /etc/cron.d /etc/cron.daily /etc/systemd/system /var/spool/cron -type f -mtime -"$DAYS" 2>/dev/null)
[ -n "$J" ] && { echo 'CHECK: schedules or services changed:'; echo "$J" | clean; found=$((found+1)); }
X=$(find /tmp /var/tmp /dev/shm -type f -perm -u+x -mtime -"$DAYS" 2>/dev/null | head -n 10)
[ -n "$X" ] && { echo 'CHECK: executable files in temporary folders:'; echo "$X" | clean; found=$((found+1)); }
echo '== Result'
if [ $found -gt 0 ]; then echo "CHECK: $found findings. Cut the network access of this computer, then ask for incident response help."
else echo 'No findings from the automatic checks. Still check the addresses in part 1.'; fi
# Run as root. With no arguments, the script reads the default RealVNC logs and the rotated logs.
sudo bash check-signs-realvnc.sh
# Logs in another location: put the log path after the script name
sudo bash check-signs-realvnc.sh /var/log/vnc/server-a.log
# A 14 day window for the change check, not 7 days
sudo env HARI=14 bash check-signs-realvnc.sh


Our test result: we put dummy logs, 1 dummy crash line, 1 dummy UID 0 account, 1 dummy SSH key, and 1 dummy file in /tmp. The script found 3 UDP connections from 203.0.113.77, 1 TCP connection from 198.51.100.23, and 1 rejected connection. Final result: "CHECK: 5 findings".
A second test with 2 log files, the active log and a rotated log, gave "logs: 2 files". Both IPs are documentation addresses per RFC 5737.
Script limit: these patterns are general signs, not a full list. An attacker can delete logs after a break-in. A CHECK result is not proof of an attack, but a sign for a manual check.
If you find signs, follow this order:
- Cut the network access of that computer. Do not turn the computer off yet.
- Keep a copy of the RealVNC logs, the system logs, the account list, and the process list.
- Ask for incident response help. Install the system again, or restore it from a clean backup.
- Change the passwords and SSH keys that were stored on that computer.
- Install RealVNC 7.19.1, then watch the logs for 14 days.
Example: 1 morning of response for 5 office computers
This simulation uses dummy data. The computer names, times, and results are not customer data.
| Time (WIB) | Dummy computer | What we check | Result | Action |
|---|---|---|---|---|
| 08.00 | 5 office computers | Step 1 | Server 7.13.1 on a Raspberry Pi and 7.19.0 on the cashier PC VULNERABLE. 2 Viewer 8.6.1 VULNERABLE | Add to the update queue this morning |
| 08.20 | pc-kasir | Step 2 | Joined to the cloud, UDP allowed | First priority |
| 08.40 | pc-kasir | Step 5 | 1 RealVNC crash and UDP connections from an unknown address | Cut the network, keep evidence, ask for incident response |
| 09.30 | raspi-gudang | Step 3 | 7.13.1 now on 7.19.1 through the official ARM64 package | Test remote access from a Viewer |
| 10.00 | 2 staff laptops | Step 3 | Viewer 8.6.1 now on 8.6.2 | Record the version |
| 10.30 | All computers | Steps 1 and 5 again | SAFE on 4 computers. The cashier PC is in recovery | Watch the logs for 14 days |
Lesson from this simulation: a Raspberry Pi needs the official package, because the apt repo lags. Keep evidence before you install a computer again.
Who does the work
The IT admin or IT vendor owns the RealVNC Server update and the connection settings. Each Viewer and mobile app user updates their own device. The business owner sets the update window for cashier PCs and production computers.
Rama Digital recommendation: record each computer, RealVNC version, connection path, and access owner in 1 table. This table also helps when a new flaw appears, such as the Xen Orchestra flaw CVE-2026-133469.
Checklist for today
- List all computers with RealVNC. Owner: IT admin. Evidence: the computer and version list.
- Check the version with step 1. Owner: IT admin. Evidence: the script output.
- Check the connection paths with step 2. Owner: IT admin. Evidence: the script output.
- Save the settings, then update Server to 7.19.1 and Viewer to 8.6.2. Owner: IT admin and users. Evidence: the step 1 output after the update.
- If the update must wait, add the temporary layers in step 4. Owner: IT admin. Evidence: the step 2 output.
- Look for signs with step 5 on each Server. Owner: IT admin. Evidence: the script output.
Questions and answers
We use only cloud connections with no open port. Are we safe?
No. The advisory names cloud connections as affected. Update Server to 7.19.1.
Our computer uses an offline license and has no cloud connection. Is it still affected?
Yes, if direct connections are on. The advisory names offline-licensed and on-premises installs as affected. Only direct connections over TCP only are not exposed.
Must RealVNC Viewer also get the update?
Yes. Viewer 8.4.0 to 8.6.1 is on the advisory list. Update to 8.6.2. Classic Viewer moves to 7.18.3, or you can move to Viewer 8.6.2.
Our Raspberry Pi uses RealVNC from the default repo. Does apt upgrade close the flaw?
Not yet, on 27 November 2026. The repo gives 7.13.1.57 for bookworm and trixie. Install the ARM or ARM64 7.19.1 package from the official download page.
Can a firewall that closes port 5900 replace the update?
No. Cloud connections do not use an open port on the router. A firewall only reduces the direct connection paths.
Are TightVNC, TigerVNC, or UltraVNC affected by this CVE?
This advisory names only RealVNC products. Other VNC products have their own security records. Our Windows script also shows only programs from the publisher RealVNC.
Does the update stop active remote sessions?
A service restart stops active VNC sessions. Do the update outside busy hours, and prepare another access path such as SSH.
Does a clean result from the signs script prove that the computer is safe?
No. The vendor gives no IOCs, and an attacker can delete logs. Keep evidence, watch the logs after the update, and ask for analysis when you are not sure.
Next step
Limits that still apply: step 4 does not make a computer safe, and the update does not clean a computer that was already broken into. If your computer shows signs in step 5, or you need help with an audit and recovery, use Vibe Code Rescue. For 1 urgent problem today, book a 30 minute session.
Sources
- RealVNC security advisory: affected products and versions, affected connection paths, impact, exploitation status, and the reporter.
- RealVNC Server 7.19.1 release notes: the 7.19.1 release date and the security fix line.
- CVE-2026-137738 record: CWE-787, the CVSS vector, and the publish date.
- CISA KEV: CVE-2026-137738 is not in the catalog on 27 November 2026.
- RealVNC list of known vulnerabilities: the list of RealVNC advisories.
- RealVNC Server parameter reference and guide to configuration with parameters: the
IpListenProtocols,AllowCloudRfb, andRfbPortdefaults, and the order of the settings files. - RealVNC logging guide: log locations, log rotation, and
LogKeepDays. - official RealVNC download page, On-Demand Assist page, and Raspberry Pi apt repo: the 7.19.1 packages per platform, On-Demand Assist, and the version in the Raspberry Pi repo.
- Wakefield research page: the research team that reported this flaw.

