Integer Overflow or Wraparound Affecting libvncserver package, versions <0.9.11+dfsg-1ubuntu1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
5.87% (91st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2510-LIBVNCSERVER-14156289
  • published2 Dec 2025
  • disclosed19 Feb 2018

Introduced: 19 Feb 2018

CVE-2018-7225  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade Ubuntu:25.10 libvncserver to version 0.9.11+dfsg-1ubuntu1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libvncserver package and not the libvncserver package as distributed by Ubuntu. See How to fix? for Ubuntu:25.10 relevant fixed versions and status.

An issue was discovered in LibVNCServer through 0.9.11. rfbProcessClientNormalMessage() in rfbserver.c does not sanitize msg.cct.length, leading to access to uninitialized and potentially sensitive data or possibly unspecified other impact (e.g., an integer overflow) via specially crafted VNC packets.