{"id":"CVE-2017-13734","aliases":["ALPINE-CVE-2017-13734","DEBIAN-CVE-2017-13734","EUVD-2017-5251","GHSA-86pg-q9vr-g8xh","SUSE-SU-2018:0284-1","UBUNTU-CVE-2017-13734","USN-5448-1"],"status":"published","title":"There is an illegal address access in the _nc_safe_strcat function in strings.c in ncurses 6.0...","description":"There is an illegal address access in the _nc_safe_strcat function in strings.c in ncurses 6.0 that will lead to a remote denial of service attack.","severity":{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.02148,"percentile":0.82219,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-119"],"published":"2017-08-29T06:00:00Z","modified":"2026-09-01T20:03:43Z","fixes":[{"ecosystem":"Alpine:v3.3","package":"ncurses","fixed_in":["6.0_p20170701-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.4","package":"ncurses","fixed_in":["6.0_p20170701-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.5","package":"ncurses","fixed_in":["6.0_p20170701-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.6","package":"ncurses","fixed_in":["6.0_p20170930-r0"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"ncurses","fixed_in":["6.0+20170827-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"ncurses","fixed_in":["6.0+20170827-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"ncurses","fixed_in":["6.0+20170827-1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:14.04:LTS","package":"ncurses","fixed_in":["5.9+20140118-1ubuntu1+esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"ncurses","fixed_in":["6.0+20160213-1ubuntu1+esm1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.3","package":"ncurses","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.0_p20170701-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.4","package":"ncurses","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.0_p20170701-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.5","package":"ncurses","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.0_p20170701-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.6","package":"ncurses","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.0_p20170930-r0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"ncurses","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.0+20170827-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"ncurses","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.0+20170827-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"ncurses","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.0+20170827-1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP2","package":"ncurses","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.9-58.1"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP3","package":"ncurses","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.9-58.1"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2","package":"ncurses","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.9-58.1"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP2","package":"ncurses","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.9-58.1"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP3","package":"ncurses","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.9-58.1"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP2","package":"ncurses","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.9-58.1"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP2","package":"ncurses","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.9-58.1"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP3","package":"ncurses","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.9-58.1"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP3","package":"ncurses","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.9-58.1"}]}],"bundled":7},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"ncurses","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.9+20140118-1ubuntu1+esm1"}]}],"versions":["5.9+20130608-1ubuntu1","5.9+20131221-1ubuntu1","5.9+20140118-1ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"ncurses","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.0+20160213-1ubuntu1+esm1"}]}],"versions":["5.9+20150516-2ubuntu1","6.0+20151024-2ubuntu1","6.0+20151024-2ubuntu2","6.0+20160213-1ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"ncurses","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.9+20140118-1ubuntu1+esm1"}]}],"versions":["5.9+20130608-1ubuntu1","5.9+20131221-1ubuntu1","5.9+20140118-1ubuntu1"],"bundled":11},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"ncurses","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.0+20160213-1ubuntu1+esm1"}]}],"versions":["5.9+20150516-2ubuntu1","6.0+20151024-2ubuntu1","6.0+20151024-2ubuntu2","6.0+20160213-1ubuntu1"],"bundled":11}],"products":[{"vendor":"invisible-island","product":"ncurses"}],"references":[{"url":"https://security.gentoo.org/glsa/201804-13","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1484291","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Patch","Third Party Advisory","VDB Entry","fix"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-13734"},{"url":"https://github.com/advisories/GHSA-86pg-q9vr-g8xh"},{"url":"https://security.alpinelinux.org/vuln/CVE-2017-13734","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-13734","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2018/suse-su-20180284-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1056126","tags":["report"]},{"url":"https://bugzilla.suse.com/1056127","tags":["report"]},{"url":"https://bugzilla.suse.com/1056128","tags":["report"]},{"url":"https://bugzilla.suse.com/1056129","tags":["report"]},{"url":"https://bugzilla.suse.com/1056131","tags":["report"]},{"url":"https://bugzilla.suse.com/1056132","tags":["report"]},{"url":"https://bugzilla.suse.com/1056136","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2017-13728","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-13729","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-13730","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-13731","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-13732","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-13733","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-13734","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2017-13734","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-5448-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-13734","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-10684","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-10685","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-11112","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-11113","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-13728","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-13729","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-13730","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-13731","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-13732","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-13733","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2017-13734","description":"There is an illegal address access in the _nc_safe_strcat function in strings.c in ncurses 6.0 that will lead to a remote denial of service attack.","status":"published","published":"2017-08-29T06:00:00Z","modified":"2024-08-05T19:05:19.938Z","updated_at":"2026-11-02T14:33:17.903346Z"}],"euvd":[{"id":"EUVD-2017-5251","description":"There is an illegal address access in the _nc_safe_strcat function in strings.c in ncurses 6.0 that will lead to a remote denial of service attack.","status":"published","published":"2017-08-29T06:00:00Z","modified":"2024-08-05T19:05:19Z","updated_at":"2026-11-03T02:23:19.185271Z"}],"ghsa":[{"id":"GHSA-86pg-q9vr-g8xh","title":"There is an illegal address access in the _nc_safe_strcat function in strings.c in ncurses 6.0...","description":"There is an illegal address access in the _nc_safe_strcat function in strings.c in ncurses 6.0 that will lead to a remote denial of service attack.","status":"published","published":"2022-05-14T02:19:45Z","modified":"2023-02-02T05:05:37Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:52:08.722601Z"}],"nvd":[{"id":"CVE-2017-13734","description":"There is an illegal address access in the _nc_safe_strcat function in strings.c in ncurses 6.0 that will lead to a remote denial of service attack.","status":"published","published":"2017-08-29T06:29:00.517Z","modified":"2026-07-23T18:58:25.76Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:03:57.82609Z"}],"osv":[{"id":"ALPINE-CVE-2017-13734","description":"There is an illegal address access in the _nc_safe_strcat function in strings.c in ncurses 6.0 that will lead to a remote denial of service attack.","status":"published","published":"2017-08-29T06:29:00.517Z","modified":"2026-06-15T18:24:14.849017644Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:27:46.716249Z"},{"id":"CVE-2017-13734","description":"There is an illegal address access in the _nc_safe_strcat function in strings.c in ncurses 6.0 that will lead to a remote denial of service attack.","status":"published","published":"2017-08-29T06:29:00.517Z","modified":"2026-07-08T10:55:07.673511Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:44:04.159616Z"},{"id":"DEBIAN-CVE-2017-13734","description":"There is an illegal address access in the _nc_safe_strcat function in strings.c in ncurses 6.0 that will lead to a remote denial of service attack.","status":"published","published":"2017-08-29T06:29:00.517Z","modified":"2026-09-01T20:03:43.331715244Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:45:28.801885Z"},{"id":"UBUNTU-CVE-2017-13734","description":"There is an illegal address access in the _nc_safe_strcat function in strings.c in ncurses 6.0 that will lead to a remote denial of service attack.","status":"published","published":"2017-08-29T06:29:00Z","modified":"2026-04-22T11:15:22.655531Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:54:14.122973Z"},{"id":"SUSE-SU-2018:0284-1","title":"Security update for ncurses","description":"This update for ncurses fixes several issues.\n\nThese security issues were fixed:\n\n- CVE-2017-13734: Prevent illegal address access in the _nc_safe_strcat\n  function in strings.c that might have lead to a remote denial of service attack\n  (bsc#1056126).\n- CVE-2017-13733: Prevent illegal address access in the fmt_entry function in\n  progs/dump_entry.c that might have lead to a remote denial of service attack\n  (bsc#1056127).\n- CVE-2017-13732: Prevent illegal address access in the function dump_uses() in\n  progs/dump_entry.c that might have lead to a remote denial of service attack\n  (bsc#1056128).\n- CVE-2017-13731: Prevent illegal address access in the function\n  postprocess_termcap() in parse_entry.c that might have lead to a remote denial\n  of service attack (bsc#1056129).\n- CVE-2017-13730: Prevent illegal address access in the function\n  _nc_read_entry_source() in progs/tic.c that might have lead to a remote denial\n  of service attack (bsc#1056131).\n- CVE-2017-13729: Prevent illegal address access in the _nc_save_str function\n  in alloc_entry.c that might have lead to a remote denial of service attack\n  (bsc#1056132).\n- CVE-2017-13728: Prevent infinite loop in the next_char function in\n  comp_scan.c that might have lead to a remote denial of service attack\n  (bsc#1056136).\n","status":"published","published":"2018-01-30T09:54:08Z","modified":"2026-02-04T02:15:11.975072Z","updated_at":"2026-11-02T15:53:44.594517Z"},{"id":"USN-5448-1","title":"ncurses vulnerabilities","description":"It was discovered that ncurses was not properly checking array bounds\nwhen executing the fmt_entry function, which could result in an\nout-of-bounds write. An attacker could possibly use this issue to\nexecute arbitrary code. (CVE-2017-10684)\n\nIt was discovered that ncurses was not properly checking user input,\nwhich could result in it being treated as a format argument. An\nattacker could possibly use this issue to expose sensitive\ninformation or to execute arbitrary code. (CVE-2017-10685)\n\nIt was discovered that ncurses was incorrectly performing memory\nmanagement operations and was not blocking access attempts to\nillegal memory locations. An attacker could possibly use this issue\nto cause a denial of service. (CVE-2017-11112, CVE-2017-13729,\nCVE-2017-13730, CVE-2017-13731, CVE-2017-13732, CVE-2017-13733,\nCVE-2017-13734)\n\nIt was discovered that ncurses was not properly performing checks\non pointer values before attempting to access the related memory\nlocations, which could lead to NULL pointer dereferencing. An\nattacker could possibly use this issue to cause a denial of service.\n(CVE-2017-11113)\n\nIt was discovered that ncurses was incorrectly handling loops in\nlibtic, which could lead to the execution of an infinite loop. An\nattacker could possibly use this issue to cause a denial of service.\n(CVE-2017-13728)\n","status":"published","published":"2022-05-26T17:17:13Z","modified":"2026-06-29T13:49:39.091927169Z","updated_at":"2026-11-02T16:58:16.20937Z"}]}}
