Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-7226

An issue was discovered in vcSetXCutTextProc() in VNConsole.c in LinuxVNC and VNCommand from the LibVNC/vncterm distribution through 0.9.10. Missing sanitization of the client-specified message length may cause integer overflow or possibly have unspecified other impact via a specially crafted VNC packet.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-7226
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 10:10 UTC · Revision 1

Source evidence

CVE-2018-7226

core-osv · Original source

Published 19 Feb 2018, 17:29 UTC

An issue was discovered in vcSetXCutTextProc() in VNConsole.c in LinuxVNC and VNCommand from the LibVNC/vncterm distribution through 0.9.10. Missing sanitization of the client-specified message length may cause integer overflow or possibly have unspecified other impact via a specially crafted VNC packet.

osv:CVE-2018-7226
Complete source record
{
  "id": "96d5d7b664b35de711af1e5e255400e2e3ee918da1b53e2ef83255cc6747c21a",
  "url": "https://osv.dev/vulnerability/CVE-2018-7226",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-7226",
    "summary": "An issue was discovered in vcSetXCutTextProc() in VNConsole.c in LinuxVNC and VNCommand from the LibVNC/vncterm distribution through 0.9.10. Missing sanitization of the client-specified message length may cause integer overflow or possibly have unspecified other impact via a specially crafted VNC packet.",
    "evidence": "osv:CVE-2018-7226",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2018-7226",
      "aliases": [
        "CVE-2018-7226"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/libvnc/vncterm",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "254342fe30b3e0735bf0b770ebd9ba1f76b1427e"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:vncterm_project:vncterm:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "0.9.10"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "0.9.10",
            "0.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-7226.json"
          }
        }
      ],
      "modified": "2026-10-20T10:49:56.799299091Z",
      "provider": "osv",
      "references": [
        "https://security.gentoo.org/glsa/201908-05",
        "https://github.com/LibVNC/vncterm/issues/6"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2018-7226",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 381017,
  "published_at": "2018-02-19T17:29:00.267+00:00"
}