Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2017-5581

Buffer overflow in the ModifiablePixelBuffer::fillRect function in TigerVNC before 1.7.1 allows remote servers to execute arbitrary code via an RRE message with subrectangle outside framebuffer boundaries.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2017-5581
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:13 UTC · Revision 1

Source evidence

CVE-2017-5581

core-osv · Original source

Published 28 Feb 2017, 18:59 UTC

Buffer overflow in the ModifiablePixelBuffer::fillRect function in TigerVNC before 1.7.1 allows remote servers to execute arbitrary code via an RRE message with subrectangle outside framebuffer boundaries.

osv:CVE-2017-5581
Complete source record
{
  "id": "6e2f757db880dca98c66d4797c8f052c20118de877ab5596a185db4e037602c7",
  "url": "https://osv.dev/vulnerability/CVE-2017-5581",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2017-5581",
    "summary": "Buffer overflow in the ModifiablePixelBuffer::fillRect function in TigerVNC before 1.7.1 allows remote servers to execute arbitrary code via an RRE message with subrectangle outside framebuffer boundaries.",
    "evidence": "osv:CVE-2017-5581",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2017-5581",
      "aliases": [
        "CVE-2017-5581"
      ],
      "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/tigervnc/tigervnc",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "e25272fc74ef09987ccaa33b9bf1736397c76fdf"
                },
                {
                  "fixed": "18c020124ff1b2441f714da2017f63dba50720ba"
                },
                {
                  "fixed": "6172cc01dd7d1493064571b341c978e2df7725d7"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:tigervnc:tigervnc:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "1.7"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "18c020124ff1b2441f714da2017f63dba50720ba"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "6172cc01dd7d1493064571b341c978e2df7725d7"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v1.7.1"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.7.0",
            "v1.6.90",
            "v1.1.90",
            "v0.0.90"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-5581.json",
            "vanir_signatures": [
              {
                "id": "CVE-2017-5581-878a012b",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "320101790164385197062604559268187800845",
                    "101278105750755272302286523267744065134",
                    "227206589302613368134179064545328224606",
                    "37954835309596497570085437509597633630",
                    "236316441078231686449712981385599688329",
                    "21041643315465928557012854915772715854",
                    "37876990361878916169243063020416749353",
                    "306038676464487774982249623696159748143",
                    "53754149427214229100751004005328338512",
                    "283238925708460159984547712171272161731",
                    "150018598010319204719643123912446757107",
                    "148868603770565665332025060610641837345",
                    "187474394009359975849262119408290447344",
                    "61349885004796822878903945384242010137"
                  ]
                },
                "source": "https://github.com/tigervnc/tigervnc/commit/18c020124ff1b2441f714da2017f63dba50720ba",
                "target": {
                  "file": "common/rfb/PixelBuffer.cxx"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2017-5581-cb090a90",
                "digest": {
                  "length": 652,
                  "function_hash": "332696160378536359901209007462624368553"
                },
                "source": "https://github.com/tigervnc/tigervnc/commit/18c020124ff1b2441f714da2017f63dba50720ba",
                "target": {
                  "file": "common/rfb/PixelBuffer.cxx",
                  "function": "ModifiablePixelBuffer::fillRect"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:22:46Z"
          }
        }
      ],
      "modified": "2026-10-20T13:22:46.693288577Z",
      "provider": "osv",
      "references": [
        "https://access.redhat.com/errata/RHSA-2017:2000",
        "https://github.com/TigerVNC/tigervnc/releases/tag/v1.7.1",
        "https://security.gentoo.org/glsa/201702-19",
        "https://github.com/TigerVNC/tigervnc/commit/18c020124ff1b2441f714da2017f63dba50720ba",
        "https://github.com/TigerVNC/tigervnc/pull/399"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2017-5581",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 387592,
  "published_at": "2017-02-28T18:59:00.36+00:00"
}