{"id":"CVE-2016-2090","aliases":["ALPINE-CVE-2016-2090","BELL-CVE-2016-2090","DEBIAN-CVE-2016-2090","DLA-2052-1","EUVD-2016-3195","GHSA-q44v-89pv-h73p","UBUNTU-CVE-2016-2090","USN-4243-1"],"status":"published","title":"Off-by-one vulnerability in the fgetwln function in libbsd before 0.8.2 allows attackers to have...","description":"Off-by-one vulnerability in the fgetwln function in libbsd before 0.8.2 allows attackers to have unspecified impact via unknown vectors, which trigger a heap-based buffer overflow.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.03209,"percentile":0.88255,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-119"],"published":"2017-01-13T16:00:00Z","modified":"2026-09-22T07:01:49Z","fixes":[{"ecosystem":"Alpine:v3.2","package":"libbsd","fixed_in":["0.6.0-r2"],"sources":["osv"]},{"ecosystem":"Alpine:v3.3","package":"libbsd","fixed_in":["0.8.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.4","package":"libbsd","fixed_in":["0.8.2"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"libbsd","fixed_in":["0.8.2-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"libbsd","fixed_in":["0.8.2-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"libbsd","fixed_in":["0.8.2-1"],"sources":["osv"]},{"ecosystem":"Debian:8","package":"libbsd","fixed_in":["0.7.0-2+deb8u1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:14.04:LTS","package":"libbsd","fixed_in":["0.6.0-2ubuntu1+esm1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.2","package":"libbsd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.0-r2"}]}]},{"source":"osv","ecosystem":"Alpine:v3.3","package":"libbsd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.4","package":"libbsd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8.2"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"libbsd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8.2-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"libbsd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8.2-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"libbsd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8.2-1"}]}]},{"source":"osv","ecosystem":"Debian:8","package":"libbsd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7.0-2+deb8u1"}]}],"versions":["0.7.0-2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"libbsd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.0-2ubuntu1+esm1"}]}],"versions":["0.6.0-1","0.6.0-1ubuntu1","0.6.0-2ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"libbsd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.0-2ubuntu1+esm1"}]}],"versions":["0.6.0-1","0.6.0-1ubuntu1","0.6.0-2ubuntu1"],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"libbsd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8.2-1ubuntu0.1"}]}],"versions":["0.7.0-2","0.8.0-2","0.8.1-1","0.8.2-1"],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"libbsd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8.7-1ubuntu0.1"}]}],"versions":["0.8.6-1","0.8.6-2","0.8.6-3","0.8.7-1"],"bundled":2}],"products":[{"vendor":"canonical","product":"ubuntu_linux"},{"vendor":"debian","product":"debian_linux"},{"vendor":"fedoraproject","product":"fedora"},{"vendor":"freedesktop","product":"libbsd"}],"references":[{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7KJE5SPSX7HEKLZ34LUTZLXWPEL2K353/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://blog.fuzzing-project.org/36-Heap-buffer-overflow-in-fgetwln-function-of-libbsd.html","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DIQKQ42Z7553D46QY3IMIQKS52QTNIHY/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://bugs.freedesktop.org/show_bug.cgi?id=93881","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Third Party Advisory","report"]},{"url":"http://www.openwall.com/lists/oss-security/2016/01/28/5","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"https://cgit.freedesktop.org/libbsd/commit/?id=c8f0723d2b4520bdd6b9eb7c3e7976de726d7ff7","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix"]},{"url":"https://security.gentoo.org/glsa/201607-13","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","Third Party Advisory","advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/12/msg00036.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Third Party Advisory","advisory"]},{"url":"https://usn.ubuntu.com/4243-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","Third Party Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-2090"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7KJE5SPSX7HEKLZ34LUTZLXWPEL2K353"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DIQKQ42Z7553D46QY3IMIQKS52QTNIHY"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7KJE5SPSX7HEKLZ34LUTZLXWPEL2K353"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DIQKQ42Z7553D46QY3IMIQKS52QTNIHY"},{"url":"https://usn.ubuntu.com/4243-1"},{"url":"https://github.com/advisories/GHSA-q44v-89pv-h73p"},{"url":"https://security.alpinelinux.org/vuln/CVE-2016-2090","tags":["advisory"]},{"url":"https://docs.bell-sw.com/security/cves/CVE-2016-2090","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2016-2090","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2016-2090","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-4243-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-2090","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-20367","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2016-2090","description":"Off-by-one vulnerability in the fgetwln function in libbsd before 0.8.2 allows attackers to have unspecified impact via unknown vectors, which trigger a heap-based buffer overflow.","status":"published","published":"2017-01-13T16:00:00Z","modified":"2024-08-05T23:17:50.696Z","updated_at":"2026-11-02T14:33:33.424551Z"}],"euvd":[{"id":"EUVD-2016-3195","description":"Off-by-one vulnerability in the fgetwln function in libbsd before 0.8.2 allows attackers to have unspecified impact via unknown vectors, which trigger a heap-based buffer overflow.","status":"published","published":"2017-01-13T16:00:00Z","modified":"2024-08-05T23:17:50Z","updated_at":"2026-11-03T02:22:54.667958Z"}],"ghsa":[{"id":"GHSA-q44v-89pv-h73p","title":"Off-by-one vulnerability in the fgetwln function in libbsd before 0.8.2 allows attackers to have...","description":"Off-by-one vulnerability in the fgetwln function in libbsd before 0.8.2 allows attackers to have unspecified impact via unknown vectors, which trigger a heap-based buffer overflow.","status":"published","published":"2022-05-13T01:12:13Z","modified":"2025-04-20T03:32:15Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T15:01:39.626411Z"}],"nvd":[{"id":"CVE-2016-2090","description":"Off-by-one vulnerability in the fgetwln function in libbsd before 0.8.2 allows attackers to have unspecified impact via unknown vectors, which trigger a heap-based buffer overflow.","status":"published","published":"2017-01-13T16:59:00.167Z","modified":"2026-06-17T00:43:25.233Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:03:33.686843Z"}],"osv":[{"id":"ALPINE-CVE-2016-2090","description":"Off-by-one vulnerability in the fgetwln function in libbsd before 0.8.2 allows attackers to have unspecified impact via unknown vectors, which trigger a heap-based buffer overflow.","status":"published","published":"2017-01-13T16:59:00.167Z","modified":"2026-09-22T06:30:19.339937055Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:27:46.318571Z"},{"id":"BELL-CVE-2016-2090","title":"CVE-2016-2090 does not affect BellSoft software","status":"withdrawn","published":"2017-01-13T16:59:00Z","modified":"2026-09-06T07:15:06.397151903Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:28:13.47097Z"},{"id":"CVE-2016-2090","description":"Off-by-one vulnerability in the fgetwln function in libbsd before 0.8.2 allows attackers to have unspecified impact via unknown vectors, which trigger a heap-based buffer overflow.","status":"published","published":"2017-01-13T16:59:00.167Z","modified":"2026-03-15T21:50:22.181919Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:02.114472Z"},{"id":"DEBIAN-CVE-2016-2090","description":"Off-by-one vulnerability in the fgetwln function in libbsd before 0.8.2 allows attackers to have unspecified impact via unknown vectors, which trigger a heap-based buffer overflow.","status":"published","published":"2017-01-13T16:59:00.167Z","modified":"2026-09-22T07:01:49.181413181Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:45:27.323751Z"},{"id":"UBUNTU-CVE-2016-2090","description":"Off-by-one vulnerability in the fgetwln function in libbsd before 0.8.2 allows attackers to have unspecified impact via unknown vectors, which trigger a heap-based buffer overflow.","status":"published","published":"2017-01-13T16:59:00Z","modified":"2026-04-22T09:51:50.65006Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"},{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:54:11.492576Z"},{"id":"DLA-2052-1","title":"libbsd - security update","status":"published","published":"2019-12-30T00:00:00Z","modified":"2026-03-09T01:18:34.409308Z","updated_at":"2026-11-02T15:46:10.227108Z"},{"id":"USN-4243-1","title":"libbsd vulnerabilities","description":"It was discovered that libbsd incorrectly handled certain inputs.\nAn attacker could possibly use this issue to execute arbitrary code.\nThis issue only affected Ubuntu 14.04 ESM. (CVE-2016-2090)\n\nIt was discovered that libbsd incorrectly handled certain strings.\nAn attacker could possibly use this issue to access sensitive information.\n(CVE-2019-20367)\n","status":"published","published":"2020-01-20T15:24:14Z","modified":"2026-06-29T13:47:54.326774041Z","updated_at":"2026-11-02T16:58:14.547547Z"}]}}
