Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-8784

FreeRDP prior to version 2.0.0-rc4 contains a Heap-Based Buffer Overflow in function zgfx_decompress_segment() that results in a memory corruption and probably even a remote code execution.

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

Source evidence

CVE-2018-8784

core-osv · Original source

Published 29 Nov 2018, 18:29 UTC

FreeRDP prior to version 2.0.0-rc4 contains a Heap-Based Buffer Overflow in function zgfx_decompress_segment() that results in a memory corruption and probably even a remote code execution.

osv:CVE-2018-8784
Complete source record
{
  "id": "e792fbc413130c4f3aef742f669807a6c12e6f7aa4f2ed01963c28136176009a",
  "url": "https://osv.dev/vulnerability/CVE-2018-8784",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-8784",
    "summary": "FreeRDP prior to version 2.0.0-rc4 contains a Heap-Based Buffer Overflow in function zgfx_decompress_segment() that results in a memory corruption and probably even a remote code execution.",
    "evidence": "osv:CVE-2018-8784",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2018-8784",
      "aliases": [
        "CVE-2018-8784"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/freerdp/freerdp",
              "type": "GIT",
              "events": [
                {
                  "introduced": "84f8161897534d9263ffebe43092827d40fc7ffb"
                },
                {
                  "last_affected": "a4f147683db7aa99a6075aeaf7c698bc6ba84d11"
                },
                {
                  "fixed": "17c363a5162fd4dc77b1df54e48d7bd9bf6b3be7"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:freerdp:freerdp:2.0.0:rc1:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.0.0-rc1"
                      },
                      {
                        "last_affected": "2.0.0-rc1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:freerdp:freerdp:2.0.0:rc2:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.0.0-rc2"
                      },
                      {
                        "last_affected": "2.0.0-rc2"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:freerdp:freerdp:2.0.0:rc3:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.0.0-rc3"
                      },
                      {
                        "last_affected": "2.0.0-rc3"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "range": [
                      {
                        "fixed": "17c363a5162fd4dc77b1df54e48d7bd9bf6b3be7"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.0.0-rc1",
            "2.0.0-rc2",
            "2.0.0-rc3"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-8784.json",
            "vanir_signatures": [
              {
                "id": "CVE-2018-8784-3ee578e2",
                "digest": {
                  "length": 498,
                  "function_hash": "5425658578842756555766032532911221974"
                },
                "source": "https://github.com/freerdp/freerdp/commit/17c363a5162fd4dc77b1df54e48d7bd9bf6b3be7",
                "target": {
                  "file": "libfreerdp/codec/zgfx.c",
                  "function": "zgfx_GetBits"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2018-8784-99d08a87",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "183004235591668635388793416221527180952",
                    "308551081678144123828325673808498648805",
                    "154313303284566741372749909479475738030",
                    "132884302306568066085333383287459666709",
                    "262492858770932996240150910068351063854",
                    "203702999331377103310646261393761919250",
                    "167380914164342764959401217543543095567",
                    "13540684346446715777637802021582209554",
                    "311891805920254916498775542912402450263",
                    "241516527663528718358904487599677710163",
                    "97308244726792857383179309575420684207",
                    "18665083726635648619654057544017589864",
                    "334986266750018248128782574845546139084",
                    "26307924798652688742837269370744161570",
                    "172851853559149624580627288319374799581",
                    "45345896685779517200997882316629828497",
                    "264274875738533249388971173521124600956",
                    "194011039796460496619575215719090768957",
                    "173226611019216288356929805813144347970",
                    "259557405479208692191625725125700443687",
                    "126584308940012886196255270920460352175",
                    "152539648080863676852541452921266141059",
                    "170170358519463512489981916209534205080"
                  ]
                },
                "source": "https://github.com/freerdp/freerdp/commit/17c363a5162fd4dc77b1df54e48d7bd9bf6b3be7",
                "target": {
                  "file": "libfreerdp/codec/zgfx.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2018-8784-e4341463",
                "digest": {
                  "length": 2505,
                  "function_hash": "322517898482837905962037901991472629201"
                },
                "source": "https://github.com/freerdp/freerdp/commit/17c363a5162fd4dc77b1df54e48d7bd9bf6b3be7",
                "target": {
                  "file": "libfreerdp/codec/zgfx.c",
                  "function": "zgfx_decompress_segment"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:35:50Z"
          }
        }
      ],
      "modified": "2026-10-20T13:35:50.104680227Z",
      "provider": "osv",
      "references": [
        "https://usn.ubuntu.com/3845-1/",
        "https://github.com/FreeRDP/FreeRDP/commit/17c363a5162fd4dc77b1df54e48d7bd9bf6b3be7",
        "https://research.checkpoint.com/reverse-rdp-attack-code-execution-on-rdp-clients/"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:freerdp:freerdp:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "freerdp:freerdp",
            "extracted_events": [
              {
                "range": [
                  {
                    "last_affected": "1.2.0"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*",
              "cpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:*"
            ],
            "vendor_product": "canonical:ubuntu_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "18.04"
                  },
                  {
                    "last_affected": "18.04"
                  },
                  {
                    "introduced": "18.10"
                  },
                  {
                    "last_affected": "18.10"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2018-8784",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 387861,
  "published_at": "2018-11-29T18:29:00.803+00:00"
}