{"id":"CVE-2018-18409","aliases":["ALPINE-CVE-2018-18409","DEBIAN-CVE-2018-18409","EUVD-2018-10138","GHSA-5xhp-rfv2-8345","MGASA-2019-0264","UBUNTU-CVE-2018-18409","USN-3955-1"],"status":"published","title":"A stack-based buffer over-read exists in setbit() at iptree.h of TCPFLOW 1.5.0, due to received...","description":"A stack-based buffer over-read exists in setbit() at iptree.h of TCPFLOW 1.5.0, due to received incorrect values causing incorrect computation, leading to denial of service during an address_histogram call or a get_histogram call.","severity":{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01302,"percentile":0.70689,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-125"],"published":"2018-10-17T00:00:00Z","modified":"2026-10-23T18:03:02Z","fixes":[{"ecosystem":"Alpine:v3.10","package":"tcpflow","fixed_in":["1.5.0-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.11","package":"tcpflow","fixed_in":["1.5.0-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.12","package":"tcpflow","fixed_in":["1.5.0-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.13","package":"tcpflow","fixed_in":["1.5.0-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.14","package":"tcpflow","fixed_in":["1.5.0-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.15","package":"tcpflow","fixed_in":["1.5.0-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.16","package":"tcpflow","fixed_in":["1.5.0-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.17","package":"tcpflow","fixed_in":["1.5.0-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.18","package":"tcpflow","fixed_in":["1.5.0-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.19","package":"tcpflow","fixed_in":["1.5.0-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.20","package":"tcpflow","fixed_in":["1.5.0-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.21","package":"tcpflow","fixed_in":["1.5.0-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.22","package":"tcpflow","fixed_in":["1.5.0-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.23","package":"tcpflow","fixed_in":["1.5.0-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"tcpflow","fixed_in":["1.5.0-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.7","package":"tcpflow","fixed_in":["1.5.0-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.8","package":"tcpflow","fixed_in":["1.5.0-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.9","package":"tcpflow","fixed_in":["1.5.0-r1"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"tcpflow","fixed_in":["1.5.2+repack1-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"tcpflow","fixed_in":["1.5.2+repack1-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"tcpflow","fixed_in":["1.5.2+repack1-1"],"sources":["osv"]},{"ecosystem":"Mageia:6","package":"tcpflow","fixed_in":["1.5.2-1.mga6"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:14.04:LTS","package":"tcpflow","fixed_in":["1.4.4+repack1-2ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"tcpflow","fixed_in":["1.4.5+repack1-1ubuntu0.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:18.04:LTS","package":"tcpflow","fixed_in":["1.4.5+repack1-4ubuntu0.18.04.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.10","package":"tcpflow","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.0-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.11","package":"tcpflow","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.0-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.12","package":"tcpflow","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.0-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.13","package":"tcpflow","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.0-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.14","package":"tcpflow","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.0-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.15","package":"tcpflow","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.0-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.16","package":"tcpflow","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.0-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.17","package":"tcpflow","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.0-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.18","package":"tcpflow","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.0-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.19","package":"tcpflow","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.0-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.20","package":"tcpflow","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.0-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.21","package":"tcpflow","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.0-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.22","package":"tcpflow","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.0-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"tcpflow","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.0-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"tcpflow","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.0-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.7","package":"tcpflow","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.0-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.8","package":"tcpflow","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.0-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.9","package":"tcpflow","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.0-r1"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"tcpflow","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.2+repack1-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"tcpflow","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.2+repack1-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"tcpflow","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.2+repack1-1"}]}]},{"source":"osv","ecosystem":"Mageia:6","package":"tcpflow","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.2-1.mga6"}]}]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"tcpflow","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.4+repack1-2ubuntu0.1~esm1"}]}],"versions":["1.3.0+dfsg-2","1.4.3+repack1-1","1.4.4+repack1-1","1.4.4+repack1-2"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"tcpflow","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.5+repack1-1ubuntu0.1"}]}],"versions":["1.4.4+repack1-3","1.4.5+repack1-1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"tcpflow","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.5+repack1-4ubuntu0.18.04.1"}]}],"versions":["1.4.5+repack1-4","1.4.5+repack1-4build1","1.4.5+repack1-4build2"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"tcpflow","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.5+repack1-1ubuntu0.1"}]}],"versions":["1.4.4+repack1-3","1.4.5+repack1-1"],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"tcpflow","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.5+repack1-4ubuntu0.18.04.1"}]}],"versions":["1.4.5+repack1-4","1.4.5+repack1-4build1","1.4.5+repack1-4build2"],"bundled":2}],"products":[{"vendor":"canonical","product":"ubuntu_linux"},{"vendor":"digitalcorpora","product":"tcpflow"},{"vendor":"fedoraproject","product":"fedora"}],"references":[{"url":"https://github.com/simsong/tcpflow/issues/195","tags":["x_refsource_MISC","x_transferred","Exploit","Patch","Third Party Advisory","fix","report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/K6MP4YMCJX4ITOBFX427UMOA6E7ZLJDE/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MN5FW6HKPDP7PI2IVNMFSQVIDSCQ5BOR/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://usn.ubuntu.com/3955-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","Third Party Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-18409"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/K6MP4YMCJX4ITOBFX427UMOA6E7ZLJDE/"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MN5FW6HKPDP7PI2IVNMFSQVIDSCQ5BOR/"},{"url":"https://github.com/advisories/GHSA-5xhp-rfv2-8345"},{"url":"https://security.alpinelinux.org/vuln/CVE-2018-18409","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-18409","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2019-0264.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=24578","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-18409","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-3955-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-18409","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-14938","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2018-18409","description":"A stack-based buffer over-read exists in setbit() at iptree.h of TCPFLOW 1.5.0, due to received incorrect values causing incorrect computation, leading to denial of service during an address_histogram call or a get_histogram call.","status":"published","published":"2018-10-17T04:00:00Z","modified":"2024-08-05T11:08:21.811Z","updated_at":"2026-11-02T14:35:11.799349Z"}],"euvd":[{"id":"EUVD-2018-10138","description":"A stack-based buffer over-read exists in setbit() at iptree.h of TCPFLOW 1.5.0, due to received incorrect values causing incorrect computation, leading to denial of service during an address_histogram call or a get_histogram call.","status":"published","published":"2018-10-17T04:00:00Z","modified":"2024-08-05T11:08:21Z","updated_at":"2026-11-03T02:39:36.317092Z"}],"ghsa":[{"id":"GHSA-5xhp-rfv2-8345","title":"A stack-based buffer over-read exists in setbit() at iptree.h of TCPFLOW 1.5.0, due to received...","description":"A stack-based buffer over-read exists in setbit() at iptree.h of TCPFLOW 1.5.0, due to received incorrect values causing incorrect computation, leading to denial of service during an address_histogram call or a get_histogram call.","status":"published","published":"2022-05-14T01:04:09Z","modified":"2023-02-02T05:03:01Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:51:33.40906Z"}],"nvd":[{"id":"CVE-2018-18409","description":"A stack-based buffer over-read exists in setbit() at iptree.h of TCPFLOW 1.5.0, due to received incorrect values causing incorrect computation, leading to denial of service during an address_histogram call or a get_histogram call.","status":"published","published":"2018-10-17T04:29:00.893Z","modified":"2026-06-17T01:47:15.897Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/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-125"],"updated_at":"2026-11-02T14:04:46.409324Z"}],"osv":[{"id":"ALPINE-CVE-2018-18409","description":"A stack-based buffer over-read exists in setbit() at iptree.h of TCPFLOW 1.5.0, due to received incorrect values causing incorrect computation, leading to denial of service during an address_histogram call or a get_histogram call.","status":"published","published":"2018-10-17T04:29:00.893Z","modified":"2026-10-23T17:17:55.233837245Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:27:47.187336Z"},{"id":"CVE-2018-18409","description":"A stack-based buffer over-read exists in setbit() at iptree.h of TCPFLOW 1.5.0, due to received incorrect values causing incorrect computation, leading to denial of service during an address_histogram call or a get_histogram call.","status":"published","published":"2018-10-17T04:29:00.893Z","modified":"2026-10-20T10:50:22.817332803Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:44:08.834469Z"},{"id":"DEBIAN-CVE-2018-18409","description":"A stack-based buffer over-read exists in setbit() at iptree.h of TCPFLOW 1.5.0, due to received incorrect values causing incorrect computation, leading to denial of service during an address_histogram call or a get_histogram call.","status":"published","published":"2018-10-17T04:29:00.893Z","modified":"2026-10-23T18:03:02.910534033Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:45:30.57382Z"},{"id":"UBUNTU-CVE-2018-18409","description":"A stack-based buffer over-read exists in setbit() at iptree.h of TCPFLOW 1.5.0, due to received incorrect values causing incorrect computation, leading to denial of service during an address_histogram call or a get_histogram call.","status":"published","published":"2018-10-17T00:00:00Z","modified":"2026-02-04T04:27:45.593012Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:54:17.496046Z"},{"id":"MGASA-2019-0264","title":"Updated tcpflow packages fix security vulnerability","description":"Updated tcpflow package fixes security vulnerability:\n\nA stack-based buffer over-read exists in setbit() at iptree.h of TCPFLOW\n1.5.0, due to received incorrect values causing incorrect computation,\nleading to denial of service during an address_histogram call or a\nget_histogram call (CVE-2018-18409).\n","status":"published","published":"2019-09-12T19:09:52Z","modified":"2026-04-16T04:42:24.522592785Z","updated_at":"2026-11-02T15:49:40.793816Z"},{"id":"USN-3955-1","title":"tcpflow vulnerabilities","description":"It was discovered that tcpflow incorrectly handled certain malformed network \npackets. A remote attacker could send these packets to a target system, causing\ntcpflow to crash or possibly disclose sensitive information.\n","status":"published","published":"2019-04-24T17:57:30Z","modified":"2026-02-10T04:41:31Z","updated_at":"2026-11-02T16:58:14.019824Z"}]}}
