Bug 2588670

Summary: CVE-2026-142107 gtk-vnc: Integer overflow in cursor handling leads to heap buffer overflow [fedora-all]
Product: [Fedora] Fedora Reporter: Vladimir Vasilev <vvasilev>
Component: gtk-vncAssignee: Daniel Berrangé <berrange>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: berrange
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["c0bf207b-462c-4d87-9916-b56273d033ba"]}
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2588666    

Description Vladimir Vasilev 2026-12-02 13:11:15 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

A flaw was found in gtk-vnc. An integer overflow when allocating memory for a server-sent cursor causes the client to allocate an undersized buffer, into which server-provided cursor data of up to tens of kilobytes is then written, overflowing the heap buffer. The xcursor and richcursor encodings are affected since release 0.2.0, and the alphacursor encoding since 1.2.0. Because cursor encodings are negotiated automatically from a hardcoded list of supported encodings, a malicious VNC server can trigger this flaw in any client connection, at minimum causing a denial of service of the client.