PatchSiren cyber security CVE debrief
CVE-2016-2090 Canonical CVE debrief
CVE-2016-2090 is a critical memory-safety flaw in libbsd’s fgetwln function. The NVD record describes an off-by-one condition that can lead to a heap-based buffer overflow in libbsd before 0.8.2, with a CVSS 3.1 score of 9.8 and network-reachable, no-authentication conditions in the published vector.
- Vendor
- Canonical
- Product
- Unknown
- CVSS
- CRITICAL 9.8
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2017-01-13
- Original CVE updated
- 2026-05-13
- Advisory published
- 2017-01-13
- Advisory updated
- 2026-05-13
Who should care
Security teams and maintainers responsible for systems that ship libbsd, especially environments matching the affected CPEs in the record: libbsd before 0.8.2 and distro packages for Fedora 24/25, Debian 8.0, and Ubuntu 12.04 ESM, 14.04 ESM, 16.04 LTS, 18.04 LTS, and 19.04.
Technical summary
The vulnerability is an off-by-one bug in fgetwln that can trigger a heap-based buffer overflow. NVD classifies it as CWE-119 and assigns CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, indicating high potential impact if reachable in an affected build. The affected libbsd version range in the record is any version before 0.8.2.
Defensive priority
Immediate
Recommended defensive actions
- Upgrade libbsd to 0.8.2 or later where available.
- Apply vendor or distribution security updates for affected Fedora, Debian, and Ubuntu packages.
- Inventory systems and containers that include libbsd, including transitive dependencies.
- Prioritize internet-facing or broadly exposed services that bundle the affected library.
- Rebuild and redeploy images after patching to ensure the vulnerable package is removed.
- Verify package versions against distro advisories before and after remediation.
Evidence notes
The supplied NVD record identifies the issue as an off-by-one vulnerability in libbsd’s fgetwln function that can cause a heap-based buffer overflow, and lists libbsd versions before 0.8.2 as affected. The record also includes CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H and CWE-119. Reference links point to the original oss-security disclosure, a fuzzing-project writeup, a freedesktop bug report, a patch commit, and downstream distro advisories. The CVE record was published on 2017-01-13.
Sources and references
Verified primary and authoritative sources
-
CVE-2016-2090 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2016-2090
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2016-2090 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2016-2090
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Mitigation or vendor reference
Unverified legacy reference
URL: https://blog.fuzzing-project.org/36-Heap-buffer-overflow-in-fgetwln-function-of-libbsd.html
[email protected] - Third Party Advisory
-
Mitigation or vendor reference
Unverified legacy reference
URL: https://lists.debian.org/debian-lts-announce/2019/12/msg00036.html
[email protected] - Third Party Advisory
-
Source reference
Unverified legacy reference
URL: https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7KJE5SPSX7HEKLZ34LUTZLXWPEL2K353/
-
Source reference
Unverified legacy reference
URL: https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DIQKQ42Z7553D46QY3IMIQKS52QTNIHY/
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.