CVE-2017-5885: Integer Overflow

Published Feb 3, 2017
·
Updated

It was found that vncconnectionservermessage() and vnccolormapset() functions do not check for integer overflow properly, leading to a malicious server being able to overwrite parts of the client memory, possibly leading to remote code execution under privileges of user running the VNC client.

Upstream bug:

https://bugzilla.gnome.org/showbug.cgi?id=778050

Upstream patch:

https://git.gnome.org/browse/gtk-vnc/commit/?id=c8583fd3783c5b811590

Other sources

Multiple integer overflows in the (1) vncconnectionservermessage and (2) vnccolormapset functions in gtk-vnc before 0.7.0 allow remote servers to cause a denial of service (crash) or possibly execute arbitrary code via vectors involving SetColorMapEntries, which triggers a buffer overflow.

Affected Software

2 affected components
Fedoraproject Fedora=25
Gnome gtk-vnc<=0.6.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade gtk-vnc to a version that resolves this vulnerability.

    Fixed in 0.7.0Patch c8583fd3783c5b811590

Event History

Feb 3, 2017
Data Sourced
via Red Hat·09:03 AM
DescriptionSeverityAffected Software
Feb 28, 2017
CVE Published
via MITRE·06:00 PM
Data Sourced
via MITRE·06:00 PM
Description
Data Sourced
via NVD·06:59 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2017-5885?

CVE-2017-5885 is considered critical due to its potential to allow remote code execution.

2

How do I fix CVE-2017-5885?

To fix CVE-2017-5885, you should update affected software such as GTK-VNC to version 0.6.1 or later.

3

What software is affected by CVE-2017-5885?

CVE-2017-5885 affects Fedora 25 and GTK-VNC versions up to and including 0.6.0.

4

What is the impact of CVE-2017-5885?

The impact of CVE-2017-5885 includes the potential for a malicious server to exploit integer overflow and gain control of the client's memory.

5

Can CVE-2017-5885 be exploited remotely?

Yes, CVE-2017-5885 can be exploited remotely by an attacker controlling a malicious VNC server.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203