{"id":"CVE-2017-16927","aliases":["DEBIAN-CVE-2017-16927","DLA-1203-1","EUVD-2017-8097","GHSA-26g9-q99r-c973","MGASA-2017-0456","SUSE-SU-2019:1847-1","SUSE-SU-2019:1860-1","UBUNTU-CVE-2017-16927","USN-4815-1","openSUSE-SU-2024:11526-1"],"status":"published","title":"The scp_v0s_accept function in sesman/libscp/libscp_v0.c in the session manager in xrdp through 0...","description":"The scp_v0s_accept function in sesman/libscp/libscp_v0.c in the session manager in xrdp through 0.9.4 uses an untrusted integer as a write length, which allows local users to cause a denial of service (buffer overflow and application crash) or possibly have unspecified other impact via a crafted input stream.","severity":{"version":"3.0","score":8.4,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.00412,"percentile":0.35703,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-119"],"published":"2017-11-23T06:00:00Z","modified":"2026-10-20T10:48:17Z","fixes":[{"ecosystem":"Debian:12","package":"xrdp","fixed_in":["0.9.4-3"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"xrdp","fixed_in":["0.9.4-3"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"xrdp","fixed_in":["0.9.4-3"],"sources":["osv"]},{"ecosystem":"Debian:7","package":"xrdp","fixed_in":["0.5.0-2+deb7u2"],"sources":["osv"]},{"ecosystem":"Mageia:6","package":"xrdp","fixed_in":["0.9.4-1.mga6"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:14.04:LTS","package":"xrdp","fixed_in":["0.6.0-1ubuntu0.1+esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"xrdp","fixed_in":["0.6.1-2ubuntu0.3+esm1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"xrdp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.4-3"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"xrdp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.4-3"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"xrdp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.4-3"}]}]},{"source":"osv","ecosystem":"Debian:7","package":"xrdp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.0-2+deb7u2"}]}],"versions":["0.5.0-2","0.5.0-2+deb7u1"]},{"source":"osv","ecosystem":"Mageia:6","package":"xrdp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.4-1.mga6"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP4","package":"xrdp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.0~git.1456906198.f422461-21.9.1"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP4","package":"xrdp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.0~git.1456906198.f422461-21.9.1"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP4","package":"xrdp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.0~git.1456906198.f422461-21.9.1"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:OpenStack Cloud 7","package":"xrdp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.0~git.1456906198.f422461-16.9.3"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP2","package":"xrdp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.0~git.1456906198.f422461-16.9.3"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP2-LTSS","package":"xrdp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.0~git.1456906198.f422461-16.9.3"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Enterprise Storage 4","package":"xrdp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.0~git.1456906198.f422461-16.9.3"}]}],"bundled":3},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"xrdp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.0-1ubuntu0.1+esm1"}]}],"versions":["0.6.0-1","0.6.0-1ubuntu0.1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"xrdp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.1-2ubuntu0.3+esm1"}]}],"versions":["0.6.1-2","0.6.1-2ubuntu0.1","0.6.1-2ubuntu0.3"]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"xrdp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.0-1ubuntu0.1+esm1"}]}],"versions":["0.6.0-1","0.6.0-1ubuntu0.1"],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"xrdp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.1-2ubuntu0.3+esm1"}]}],"versions":["0.6.1-2","0.6.1-2ubuntu0.1","0.6.1-2ubuntu0.3"],"bundled":2},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"xrdp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.15-2.2"}]}],"bundled":4}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"neutrinolabs","product":"xrdp"}],"references":[{"url":"https://groups.google.com/forum/#%21topic/xrdp-devel/PmVfMuy_xBA","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"https://github.com/neutrinolabs/xrdp/pull/958","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","fix","report"]},{"url":"https://lists.debian.org/debian-lts-announce/2017/12/msg00005.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-16927"},{"url":"https://groups.google.com/forum/#!topic/xrdp-devel/PmVfMuy_xBA","tags":["report"]},{"url":"https://github.com/advisories/GHSA-26g9-q99r-c973"},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-16927","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2017-0456.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=22076","tags":["report"]},{"url":"http://openwall.com/lists/oss-security/2017/11/23/1","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2019/suse-su-20191847-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1014524","tags":["report"]},{"url":"https://bugzilla.suse.com/1015567","tags":["report"]},{"url":"https://bugzilla.suse.com/1029912","tags":["report"]},{"url":"https://bugzilla.suse.com/1060644","tags":["report"]},{"url":"https://bugzilla.suse.com/1069591","tags":["report"]},{"url":"https://bugzilla.suse.com/1090174","tags":["report"]},{"url":"https://bugzilla.suse.com/1100453","tags":["report"]},{"url":"https://bugzilla.suse.com/1101506","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2013-1430","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-16927","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-6967","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2019/suse-su-20191860-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1022098","tags":["report"]},{"url":"https://bugzilla.suse.com/1023988","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-16927","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-16927","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-4815-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2017-6967","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2020-4044","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2017-16927","description":"The scp_v0s_accept function in sesman/libscp/libscp_v0.c in the session manager in xrdp through 0.9.4 uses an untrusted integer as a write length, which allows local users to cause a denial of service (buffer overflow and application crash) or possibly have unspecified other impact via a crafted input stream.","status":"published","published":"2017-11-23T06:00:00Z","modified":"2024-08-05T20:35:21.28Z","updated_at":"2026-11-02T14:33:21.453505Z"}],"euvd":[{"id":"EUVD-2017-8097","description":"The scp_v0s_accept function in sesman/libscp/libscp_v0.c in the session manager in xrdp through 0.9.4 uses an untrusted integer as a write length, which allows local users to cause a denial of service (buffer overflow and application crash) or possibly have unspecified other impact via a crafted input stream.","status":"published","published":"2017-11-23T06:00:00Z","modified":"2024-08-05T20:35:21Z","updated_at":"2026-11-03T02:23:11.095005Z"}],"ghsa":[{"id":"GHSA-26g9-q99r-c973","title":"The scp_v0s_accept function in sesman/libscp/libscp_v0.c in the session manager in xrdp through 0...","description":"The scp_v0s_accept function in sesman/libscp/libscp_v0.c in the session manager in xrdp through 0.9.4 uses an untrusted integer as a write length, which allows local users to cause a denial of service (buffer overflow and application crash) or possibly have unspecified other impact via a crafted input stream.","status":"published","published":"2022-05-13T01:25:26Z","modified":"2025-04-20T03:50:07Z","cvss":[{"version":"3.0","score":8.4,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T15:01:56.152144Z"}],"nvd":[{"id":"CVE-2017-16927","description":"The scp_v0s_accept function in sesman/libscp/libscp_v0.c in the session manager in xrdp through 0.9.4 uses an untrusted integer as a write length, which allows local users to cause a denial of service (buffer overflow and application crash) or possibly have unspecified other impact via a crafted input stream.","status":"published","published":"2017-11-23T06:29:00.21Z","modified":"2026-06-17T01:10:09.587Z","cvss":[{"version":"3.0","score":8.4,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":7.2,"vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:04:09.7374Z"}],"osv":[{"id":"CVE-2017-16927","description":"The scp_v0s_accept function in sesman/libscp/libscp_v0.c in the session manager in xrdp through 0.9.4 uses an untrusted integer as a write length, which allows local users to cause a denial of service (buffer overflow and application crash) or possibly have unspecified other impact via a crafted input stream.","status":"published","published":"2017-11-23T06:29:00.21Z","modified":"2026-10-20T10:48:17.011817331Z","cvss":[{"version":"3.0","score":8.4,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:04.853379Z"},{"id":"DEBIAN-CVE-2017-16927","description":"The scp_v0s_accept function in sesman/libscp/libscp_v0.c in the session manager in xrdp through 0.9.4 uses an untrusted integer as a write length, which allows local users to cause a denial of service (buffer overflow and application crash) or possibly have unspecified other impact via a crafted input stream.","status":"published","published":"2017-11-23T06:29:00.21Z","modified":"2026-09-01T20:03:45.226649314Z","cvss":[{"version":"3.0","score":8.4,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:29.100767Z"},{"id":"UBUNTU-CVE-2017-16927","description":"The scp_v0s_accept function in sesman/libscp/libscp_v0.c in the session manager in xrdp through 0.9.4 uses an untrusted integer as a write length, which allows local users to cause a denial of service (buffer overflow and application crash) or possibly have unspecified other impact via a crafted input stream.","status":"published","published":"2017-11-23T06:29:00Z","modified":"2026-02-04T02:59:27.253159Z","cvss":[{"version":"3.0","score":8.4,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:14.563448Z"},{"id":"DLA-1203-1","title":"xrdp - security update","status":"published","published":"2017-12-11T00:00:00Z","modified":"2026-03-09T01:02:04.304764Z","updated_at":"2026-11-02T15:46:09.336894Z"},{"id":"MGASA-2017-0456","title":"Updated xrdp packages fix security vulnerability","description":"The scp_v0s_accept function in sesman/libscp/libscp_v0.c in the session\nmanager in xrdp through 0.9.4 uses an untrusted integer as a write\nlength, which allows local users to cause a denial of service (buffer\noverflow and application crash) or possibly have unspecified other\nimpact via a crafted input stream. (CVE-2017-16927)\n","status":"published","published":"2017-12-21T17:43:29Z","modified":"2026-04-16T06:23:47.517324458Z","updated_at":"2026-11-02T15:49:40.442238Z"},{"id":"openSUSE-SU-2024:11526-1","title":"libpainter0-0.9.15-2.2 on GA media","description":"These are all security issues fixed in the libpainter0-0.9.15-2.2 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T03:23:56.303894Z","updated_at":"2026-11-02T16:58:35.195147Z"},{"id":"SUSE-SU-2019:1847-1","title":"Security update for xrdp","description":"This update for xrdp fixes the following issues:\n\nThese security issues were fixed:\n\n- CVE-2013-1430:  When successfully logging in using RDP into an xrdp session, \n  the file ~/.vnc/sesman_${username}_passwd was created. Its content was the equivalent \n  of the user's cleartext password, DES encrypted with a known key (bsc#1015567).\n- CVE-2017-16927: The scp_v0s_accept function in sesman/libscp/libscp_v0.c in the session manager \n  in xrdp through used an untrusted integer as a write length, which could lead to a \n  local denial of service (bsc#1069591).\n- CVE-2017-6967: Fixed call of the PAM function auth_start_session(). This lead\n  to to PAM session modules not being properly initialized, with a potential\n  consequence of incorrect configurations or elevation of privileges, aka a\n  pam_limits.so bypass (bsc#1029912).\n\nThese non-security issues were fixed:\n\n- The KillDisconnected option for TigerVNC Xvnc sessions is now supported (bsc#1101506)\n- Fixed an issue with delayed X KeyRelease events (bsc#1100453)    \n- Force xrdp-sesman.service to start after xrdp.service. (bsc#1014524)\n- Avoid use of hard-coded sesman port. (bsc#1060644)\n- Fixed a regression connecting from Windows 10. (bsc#1090174)\n","status":"published","published":"2019-07-15T12:38:52Z","modified":"2026-02-04T04:13:41.691924Z","updated_at":"2026-11-02T15:53:46.44301Z"},{"id":"SUSE-SU-2019:1860-1","title":"Security update for xrdp","description":"This update for xrdp fixes the following issues:\n\nSecurity issues fixed: \n\n- CVE-2013-1430:  When successfully logging in using RDP into an xrdp session,\n  the file ~/.vnc/sesman_${username}_passwd was created. Its content was the equivalent\n  of the user's cleartext password, DES encrypted with a known key (bsc#1015567).\n- CVE-2017-16927: The scp_v0s_accept function in sesman/libscp/libscp_v0.c in the session manager\n  in xrdp through used an untrusted integer as a write length, which could lead to a\n  local denial of service (bsc#1069591).\n- CVE-2017-6967: Fixed call of the PAM function auth_start_session(). This lead\n  to to PAM session modules not being properly initialized, with a potential\n  consequence of incorrect configurations or elevation of privileges, aka a\n  pam_limits.so bypass (bsc#1029912).\n\nOther issues addressed:\n\n- The KillDisconnected option for TigerVNC Xvnc sessions is now supported (bsc#1101506)\n- Fixed an issue with delayed X KeyRelease events (bsc#1100453)\n- Force xrdp-sesman.service to start after xrdp.service. (bsc#1014524)\n- Avoid use of hard-coded sesman port. (bsc#1060644)\n- Backport upstream commit 5575197,\n  sesman should stop setting LANG and let initialization scripts\n  take care of it (bsc#1023988).\n- Backport upstream patches for 32bpp support (bsc#1022098).\n- Fixed a regression connecting from Windows 10. (bsc#1090174)\n","status":"published","published":"2019-07-16T13:30:46Z","modified":"2026-02-04T02:38:19.972472Z","updated_at":"2026-11-02T15:53:46.44301Z"},{"id":"USN-4815-1","title":"xrdp vulnerabilities","description":"It was discovered that xrdp did not properly validate certain input in the\nsession manager. A local attacker could possibly use this issue to cause a\ndenial of service or other unspecified impact. (CVE-2017-16927)\n\nIt was discovered that xrdp did not properly initialize PAM session\nmodules. A remote attacker could possibly use this issue to escalate\nprivileges. (CVE-2017-6967)\n","status":"published","published":"2021-03-15T21:50:35Z","modified":"2026-06-29T13:48:28.643092176Z","updated_at":"2026-11-02T16:58:15.159055Z"}]}}
