{"id":"CVE-2026-7840","published":"2026-07-01T03:33:28Z","modified":"2026-07-09T04:36:16Z","title":"UltraVNC repeater HTTP server global buffer overflow via long URI (pre-auth RCE)","vendor":"uvnc","product":"UltraVNC","tier":"tail","description":{"text":"UltraVNC repeater through 1.8.2.2 contains a global buffer overflow in its embedded HTTP administration server. The functions wi_senderr() and wi_replyhdr() in repeater/webgui/webutils.c write the caller-supplied HTTP request URI into a fixed 1000-byte global buffer (hdrbuf) via unchecked sprintf calls. The HTTP receive buffer accepts URIs up to approximately 150 KB (WI_RXBUFSIZE = 153600), so an unauthenticated attacker who can reach the repeater HTTP port (default TCP 80) can overflow hdrbuf by at least 500 bytes with a single HTTP request containing a URI of 1500 bytes or longer, corrupting adjacent .bss-segment globals. The overflow occurs before any authentication check, making it reachable without credentials. A remote, unauthenticated attacker can achieve arbitrary code execution on the host running the repeater.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02628,"percentile":0.85868,"provenance":"source"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"references":[{"url":"https://uvnc.com/","tags":["vendor-advisory"]},{"url":"https://github.com/ultravnc/UltraVNC","tags":["product"]},{"url":"https://www.securin.io/zero-days/cve-2026-7840-pre-auth-global-buffer-overflow-repeater-http-admin-ultravnc","tags":[]}],"priority":{"score":24.0,"factors":[{"name":"EPSS percentile","points":17.17},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"uvnc","affectedVersions":[{"vendor":"uvnc","product":"UltraVNC","versions":["<= 1.8.2.2"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-07-01T12:33:40.320112Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-40886","exploited":false,"provenance":"source"}}