Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 699036 (CVE-2019-15681) - <net-libs/libvncserver-0.9.12-r3: memory leak allows attacker to read stack memory (CVE-2019-15681)
Summary: <net-libs/libvncserver-0.9.12-r3: memory leak allows attacker to read stack m...
Alias: CVE-2019-15681
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
Whiteboard: B4 [stable]
Depends on:
Reported: 2019-10-31 16:49 UTC by GLSAMaker/CVETool Bot
Modified: 2019-11-28 08:40 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---
stable-bot: sanity-check+


Note You need to log in before you can comment on or make changes to this bug.
Description GLSAMaker/CVETool Bot gentoo-dev 2019-10-31 16:49:21 UTC
CVE-2019-15681 (
  LibVNC commit before d01e1bb4246323ba6fcee3b82ef1faa9b1dac82a contains a
  memory leak (CWE-655) in VNC server code, which allow an attacker to read
  stack memory and can be abused for information disclosure. Combined with
  another vulnerability, it can be used to leak stack memory and bypass ASLR.
  This attack appear to be exploitable via network connectivity. These
  vulnerabilities have been fixed in commit
Comment 1 Larry the Git Cow gentoo-dev 2019-11-01 14:11:28 UTC
The bug has been referenced in the following commit(s):

commit 5ae4ada68cdf7aa131d7a50c9305b55ba14fcd43
Author:     Alexander Tsoy <>
AuthorDate: 2019-10-31 18:41:58 +0000
Commit:     Joonas Niilola <>
CommitDate: 2019-11-01 14:10:59 +0000

    net-libs/libvncserver: Add a bunch of upstream fixes
    * fix CVE-2018-20750 (the fix for CVE-2018-15127 was incomplete)
    * fix CVE-2019-15681
    * fix libdir in pkgconfig files
    * fix regression in Tight/Raw decoding
    Package-Manager: Portage-2.3.76, Repoman-2.3.16
    Signed-off-by: Alexander Tsoy <>
    Signed-off-by: Joonas Niilola <>

 .../files/libvncserver-0.9.12-CVE-2018-20750.patch | 47 ++++++++++++++
 .../files/libvncserver-0.9.12-CVE-2019-15681.patch | 26 ++++++++
 .../files/libvncserver-0.9.12-cmake-libdir.patch   | 32 ++++++++--
 ...ibvncserver-0.9.12-fix-tight-raw-decoding.patch | 40 ++++++++++++
 .../libvncserver-0.9.12-pkgconfig-libdir.patch     | 41 ++++++++++++
 .../libvncserver/libvncserver-0.9.12-r3.ebuild     | 73 ++++++++++++++++++++++
 6 files changed, 255 insertions(+), 4 deletions(-)
Comment 2 Alexander Tsoy 2019-11-11 00:51:29 UTC
Lets stabilize =net-libs/libvncserver-0.9.12-r3
Can somebody help with modifying keywords and package list?
Comment 3 Rolf Eike Beer 2019-11-19 19:59:20 UTC
sparc stable
Comment 4 Agostino Sarubbo gentoo-dev 2019-11-20 11:16:50 UTC
amd64 stable
Comment 5 Agostino Sarubbo gentoo-dev 2019-11-20 11:21:19 UTC
ppc64 stable
Comment 6 Agostino Sarubbo gentoo-dev 2019-11-20 11:30:02 UTC
ppc stable
Comment 7 Agostino Sarubbo gentoo-dev 2019-11-20 11:36:32 UTC
ia64 stable
Comment 8 Agostino Sarubbo gentoo-dev 2019-11-20 13:23:57 UTC
x86 stable
Comment 9 Aaron Bauman Gentoo Infrastructure gentoo-dev Security 2019-11-20 16:45:21 UTC
arm64 stable
Comment 10 Mikle Kolyada archtester Gentoo Infrastructure gentoo-dev Security 2019-11-27 13:23:39 UTC
arm stable
Comment 11 Sergei Trofimovich gentoo-dev 2019-11-28 08:40:05 UTC
commit 4eadcbe351d47b9e91bbcb525b0576f714ff360b
Author: Rolf Eike Beer <>
Date:   Thu Nov 21 17:20:53 2019 +0100

    net-libs/libvncserver: stable 0.9.12-r3 for hppa, bug #699036