{"id":"CVE-2018-8786","details":"FreeRDP prior to version 2.0.0-rc4 contains an Integer Truncation that leads to a Heap-Based Buffer Overflow in function update_read_bitmap_update() and results in a memory corruption and probably even a remote code execution.","modified":"2026-08-07T14:59:44.119879Z","published":"2018-11-29T18:29:00.897Z","related":["SUSE-SU-2019:0134-1","SUSE-SU-2019:0539-1","SUSE-SU-2020:2272-1","openSUSE-SU-2019:0325-1","openSUSE-SU-2024:10768-1"],"database_specific":{"unresolved_ranges":[{"cpes":["cpe:2.3:a:freerdp:freerdp:*:*:*:*:*:*:*:*"],"extracted_events":[{"last_affected":"1.2.0"}],"source":"CPE_RANGE","vendor_product":"freerdp:freerdp"},{"cpes":["cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"14.04"},{"last_affected":"14.04"},{"introduced":"16.04"},{"last_affected":"16.04"},{"introduced":"18.04"},{"last_affected":"18.04"},{"introduced":"18.10"},{"last_affected":"18.10"}],"source":"CPE_STRING","vendor_product":"canonical:ubuntu_linux"},{"cpes":["cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"8.0"},{"last_affected":"8.0"}],"source":"CPE_STRING","vendor_product":"debian:debian_linux"},{"cpes":["cpe:2.3:o:fedoraproject:fedora:28:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"28"},{"last_affected":"28"}],"source":"CPE_STRING","vendor_product":"fedoraproject:fedora"},{"cpes":["cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"7.0"},{"last_affected":"7.0"}],"source":"CPE_STRING","vendor_product":"redhat:enterprise_linux_desktop"},{"cpes":["cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"7.0"},{"last_affected":"7.0"}],"source":"CPE_STRING","vendor_product":"redhat:enterprise_linux_server"},{"vendor_product":"redhat:enterprise_linux_server_aus","cpes":["cpe:2.3:o:redhat:enterprise_linux_server_aus:7.6:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"7.6"},{"last_affected":"7.6"}],"source":"CPE_STRING"},{"source":"CPE_STRING","vendor_product":"redhat:enterprise_linux_server_eus","cpes":["cpe:2.3:o:redhat:enterprise_linux_server_eus:7.6:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"7.6"},{"last_affected":"7.6"}]},{"cpes":["cpe:2.3:o:redhat:enterprise_linux_server_tus:7.6:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"7.6"},{"last_affected":"7.6"}],"source":"CPE_STRING","vendor_product":"redhat:enterprise_linux_server_tus"},{"vendor_product":"redhat:enterprise_linux_workstation","cpes":["cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"7.0"},{"last_affected":"7.0"}],"source":"CPE_STRING"}]},"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YVJKO2DR5EY4C4QZOP7SNNBEW2JW6FHX/"},{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/106938"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2019:0697"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2019/02/msg00015.html"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3845-1/"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3845-2/"},{"type":"FIX","url":"https://github.com/FreeRDP/FreeRDP/commit/445a5a42c500ceb80f8fa7f2c11f3682538033f3"},{"type":"EVIDENCE","url":"https://research.checkpoint.com/reverse-rdp-attack-code-execution-on-rdp-clients/"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/freerdp/freerdp","events":[{"introduced":"84f8161897534d9263ffebe43092827d40fc7ffb"},{"last_affected":"a4f147683db7aa99a6075aeaf7c698bc6ba84d11"},{"fixed":"445a5a42c500ceb80f8fa7f2c11f3682538033f3"}],"database_specific":{"cpe":["cpe:2.3:a:freerdp:freerdp:2.0.0:rc1:*:*:*:*:*:*","cpe:2.3:a:freerdp:freerdp:2.0.0:rc2:*:*:*:*:*:*","cpe:2.3:a:freerdp:freerdp:2.0.0:rc3:*:*:*:*:*:*"],"extracted_events":[{"introduced":"2.0.0-rc1"},{"last_affected":"2.0.0-rc1"},{"introduced":"2.0.0-rc2"},{"last_affected":"2.0.0-rc2"},{"introduced":"2.0.0-rc3"},{"last_affected":"2.0.0-rc3"}],"source":["CPE_STRING","REFERENCES"]}}],"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-8786.json","vanir_signatures_modified":"2026-08-07T14:59:44Z","vanir_signatures":[{"deprecated":false,"digest":{"line_hashes":["277412402092088770970227068718825036570","19949609365906676926611150519084190162","173837865023928608710399833805419044716","38405521424971384750527164843034544433","381943150044839693544949876781249402","84888265312188415829015054362422333548","64004066360059197763567408381924309212","18415665860704505989511078769674884176"],"threshold":0.9},"id":"CVE-2018-8786-329bcc0f","signature_type":"Line","signature_version":"v1","source":"https://github.com/freerdp/freerdp/commit/445a5a42c500ceb80f8fa7f2c11f3682538033f3","target":{"file":"libfreerdp/core/update.c"}},{"source":"https://github.com/freerdp/freerdp/commit/445a5a42c500ceb80f8fa7f2c11f3682538033f3","target":{"file":"libfreerdp/core/update.c","function":"update_read_bitmap_update"},"deprecated":false,"digest":{"function_hash":"257981003131345004245955199540566677553","length":834},"id":"CVE-2018-8786-bd281f72","signature_type":"Function","signature_version":"v1"}]}}],"schema_version":"1.8.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}