{"id":"CVE-2008-4770","aliases":["DEBIAN-CVE-2008-4770","DSA-1716-1","EUVD-2008-4750","GHSA-88j9-g2xv-54vp","RHSA-2009:0261"],"status":"published","title":"The CMsgReader::readRect function in the VNC Viewer component in RealVNC VNC Free Edition 4.0...","description":"The CMsgReader::readRect function in the VNC Viewer component in RealVNC VNC Free Edition 4.0 through 4.1.2, Enterprise Edition E4.0 through E4.4.2, and Personal Edition P4.0 through P4.4.2 allows remote VNC servers to execute arbitrary code via crafted RFB protocol data, related to \"encoding type.\"","severity":{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.04052,"percentile":0.90706,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-20"],"published":"2009-01-16T21:00:00Z","modified":"2026-06-26T10:10:30Z","fixes":[{"ecosystem":"Debian:4.0","package":"vnc4","fixed_in":["4.1.1+X4.3.0-21+etch1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::as","package":"vnc","fixed_in":["0:4.0-0.beta4.1.8"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::as","package":"vnc-debuginfo","fixed_in":["0:4.0-0.beta4.1.8"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::as","package":"vnc-server","fixed_in":["0:4.0-0.beta4.1.8"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"vnc","fixed_in":["0:4.0-0.beta4.1.8"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"vnc-debuginfo","fixed_in":["0:4.0-0.beta4.1.8"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"vnc-server","fixed_in":["0:4.0-0.beta4.1.8"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::es","package":"vnc","fixed_in":["0:4.0-0.beta4.1.8"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::es","package":"vnc-debuginfo","fixed_in":["0:4.0-0.beta4.1.8"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::es","package":"vnc-server","fixed_in":["0:4.0-0.beta4.1.8"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::ws","package":"vnc","fixed_in":["0:4.0-0.beta4.1.8"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::ws","package":"vnc-debuginfo","fixed_in":["0:4.0-0.beta4.1.8"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::ws","package":"vnc-server","fixed_in":["0:4.0-0.beta4.1.8"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::as","package":"vnc","fixed_in":["0:4.0-12.el4_7.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::as","package":"vnc-debuginfo","fixed_in":["0:4.0-12.el4_7.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::as","package":"vnc-server","fixed_in":["0:4.0-12.el4_7.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"vnc","fixed_in":["0:4.0-12.el4_7.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"vnc-debuginfo","fixed_in":["0:4.0-12.el4_7.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"vnc-server","fixed_in":["0:4.0-12.el4_7.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::es","package":"vnc","fixed_in":["0:4.0-12.el4_7.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::es","package":"vnc-debuginfo","fixed_in":["0:4.0-12.el4_7.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::es","package":"vnc-server","fixed_in":["0:4.0-12.el4_7.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::ws","package":"vnc","fixed_in":["0:4.0-12.el4_7.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::ws","package":"vnc-debuginfo","fixed_in":["0:4.0-12.el4_7.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::ws","package":"vnc-server","fixed_in":["0:4.0-12.el4_7.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:5::client","package":"vnc","fixed_in":["0:4.1.2-14.el5_3.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:5::client","package":"vnc-debuginfo","fixed_in":["0:4.1.2-14.el5_3.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:5::client","package":"vnc-server","fixed_in":["0:4.1.2-14.el5_3.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:5::server","package":"vnc","fixed_in":["0:4.1.2-14.el5_3.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:5::server","package":"vnc-debuginfo","fixed_in":["0:4.1.2-14.el5_3.1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:5::server","package":"vnc-server","fixed_in":["0:4.1.2-14.el5_3.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:4.0","package":"vnc4","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.1.1+X4.3.0-21+etch1"}]}],"versions":["4.1.1+X4.3.0-21"]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"vnc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.0-0.beta4.1.8"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"vnc-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.0-0.beta4.1.8"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"vnc-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.0-0.beta4.1.8"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"vnc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.0-0.beta4.1.8"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"vnc-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.0-0.beta4.1.8"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"vnc-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.0-0.beta4.1.8"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"vnc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.0-0.beta4.1.8"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"vnc-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.0-0.beta4.1.8"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"vnc-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.0-0.beta4.1.8"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"vnc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.0-0.beta4.1.8"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"vnc-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.0-0.beta4.1.8"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"vnc-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.0-0.beta4.1.8"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"vnc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.0-12.el4_7.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"vnc-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.0-12.el4_7.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"vnc-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.0-12.el4_7.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"vnc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.0-12.el4_7.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"vnc-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.0-12.el4_7.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"vnc-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.0-12.el4_7.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"vnc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.0-12.el4_7.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"vnc-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.0-12.el4_7.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"vnc-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.0-12.el4_7.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"vnc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.0-12.el4_7.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"vnc-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.0-12.el4_7.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"vnc-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.0-12.el4_7.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"vnc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.1.2-14.el5_3.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"vnc-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.1.2-14.el5_3.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"vnc-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.1.2-14.el5_3.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"vnc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.1.2-14.el5_3.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"vnc-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.1.2-14.el5_3.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"vnc-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.1.2-14.el5_3.1"}]}]}],"products":[{"vendor":"realvnc","product":"realvnc"}],"references":[{"url":"http://www.gentoo.org/security/en/glsa/glsa-200903-17.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","web"]},{"url":"http://www.realvnc.com/products/upgrade.html","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2009-January/msg01025.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"http://www.realvnc.com/products/free/4.1/release-notes.html","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://secunia.com/advisories/33689","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/34184","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://sunsolve.sun.com/search/document.do?assetkey=1-21-140455-01-1","tags":["x_refsource_CONFIRM","x_transferred","Patch","Vendor Advisory","fix"]},{"url":"http://sunsolve.sun.com/search/document.do?assetkey=1-26-248526-1","tags":["vendor-advisory","x_refsource_SUNALERT","x_transferred","Vendor Advisory","advisory"]},{"url":"http://www.securityfocus.com/bid/31832","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/45969","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"http://www.securityfocus.com/bid/33263","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"http://secunia.com/advisories/32317","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://www.vupen.com/english/advisories/2008/2868","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","advisory"]},{"url":"http://www.realvnc.com/pipermail/vnc-list/2008-November/059432.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/47937","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9367","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred","web"]},{"url":"http://www.redhat.com/support/errata/RHSA-2009-0261.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-4770","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-88j9-g2xv-54vp"},{"url":"https://access.redhat.com/errata/RHSA-2009:0261","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=471777","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=480590","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2009/rhsa-2009_0261.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2008-4770","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2008-4770","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2008-4770","description":"The CMsgReader::readRect function in the VNC Viewer component in RealVNC VNC Free Edition 4.0 through 4.1.2, Enterprise Edition E4.0 through E4.4.2, and Personal Edition P4.0 through P4.4.2 allows remote VNC servers to execute arbitrary code via crafted RFB protocol data, related to \"encoding type.\"","status":"published","published":"2009-01-16T21:00:00Z","modified":"2024-08-07T10:31:27.148Z","updated_at":"2026-11-02T14:34:46.950176Z"}],"euvd":[{"id":"EUVD-2008-4750","description":"The CMsgReader::readRect function in the VNC Viewer component in RealVNC VNC Free Edition 4.0 through 4.1.2, Enterprise Edition E4.0 through E4.4.2, and Personal Edition P4.0 through P4.4.2 allows remote VNC servers to execute arbitrary code via crafted RFB protocol data, related to \"encoding type.\"","status":"published","published":"2009-01-16T21:00:00Z","modified":"2024-08-07T10:31:27Z","updated_at":"2026-11-03T01:38:46.371749Z"}],"ghsa":[{"id":"GHSA-88j9-g2xv-54vp","title":"The CMsgReader::readRect function in the VNC Viewer component in RealVNC VNC Free Edition 4.0...","description":"The CMsgReader::readRect function in the VNC Viewer component in RealVNC VNC Free Edition 4.0 through 4.1.2, Enterprise Edition E4.0 through E4.4.2, and Personal Edition P4.0 through P4.4.2 allows remote VNC servers to execute arbitrary code via crafted RFB protocol data, related to \"encoding type.\"","status":"published","published":"2022-05-17T00:46:25Z","modified":"2023-02-03T05:02:19Z","cwes":["CWE-20"],"updated_at":"2026-11-02T14:53:08.758434Z"}],"nvd":[{"id":"CVE-2008-4770","description":"The CMsgReader::readRect function in the VNC Viewer component in RealVNC VNC Free Edition 4.0 through 4.1.2, Enterprise Edition E4.0 through E4.4.2, and Personal Edition P4.0 through P4.4.2 allows remote VNC servers to execute arbitrary code via crafted RFB protocol data, related to \"encoding type.\"","status":"published","published":"2009-01-16T21:30:03.327Z","modified":"2026-06-16T22:58:30.443Z","cvss":[{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:01:31.111729Z"}],"osv":[{"id":"CVE-2008-4770","description":"The CMsgReader::readRect function in the VNC Viewer component in RealVNC VNC Free Edition 4.0 through 4.1.2, Enterprise Edition E4.0 through E4.4.2, and Personal Edition P4.0 through P4.4.2 allows remote VNC servers to execute arbitrary code via crafted RFB protocol data, related to \"encoding type.\"","status":"withdrawn","published":"2009-01-16T21:30:03Z","modified":"2024-06-04T04:00:19Z","updated_at":"2026-11-02T15:43:57.452479Z"},{"id":"DSA-1716-1","title":"vnc4 - remote code execution","status":"published","published":"2009-01-31T00:00:00Z","modified":"2026-03-09T01:23:18.459944Z","updated_at":"2026-11-02T15:46:14.734124Z"},{"id":"RHSA-2009:0261","title":"Red Hat Security Advisory: vnc security update","status":"published","published":"2024-09-15T17:42:33Z","modified":"2026-06-26T10:10:30Z","updated_at":"2026-11-02T15:53:00.468834Z"}]}}
