CVE-2016-6559: BSD libc - Buffer Overflow
- Cve: CVE-2016-6559
- Name: BSD libc - Buffer Overflow
- Description: Improper bounds checking of the obuf variable in the link_ntoa() function in linkaddr.c of the BSD libc library may allow an attacker to read or write from memory. The full impact and severity depends on the method of exploit and how the library is used by applications. According to analysis by FreeBSD developers, it is very unlikely that applications exist that utilize link_ntoa() in an exploitable manner, and the CERT/CC is not aware of any proof of concept. A blog post describes the functionality of link_ntoa() and points out that none of the base utilities use this function in an exploitable manner. For more information, please see FreeBSD Security Advisory SA-16:37.
- Impact: Potential memory read/write access, but actual impact depends on application context and exploit method.
- Remediation: Update to the latest version of BSD libc where the issue is fixed or apply security patches provided by the vendor.
- Vulnerability type: buffer_overflow
- Vulnerability impact: information_disclosure, data_tampering
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.03604
- Epss percentile: 0.89754
- Assignee: [email protected]
- Published at: 2018-07-13T20:29:00Z
- Age in days: 3056
- Modified at: 2026-06-17T00:51:22Z
- References total: 4
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2016-6559
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-120 | Buffer Copy without Checking Size of Input |
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://www.freebsd.org/security/advisories/FreeBSD-SA-16:37.libc.asc | Vendor Advisory |
| http://www.securitytracker.com/id/1037398 | Third Party Advisory, VDB Entry |
| https://www.kb.cert.org/vuls/id/548487 | Third Party Advisory, US Government Resource |
| https://www.securityfocus.com/bid/94694 | Third Party Advisory, VDB Entry |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| freebsd:freebsd | = 11.0, = 10.3, = 10.2, = 10.1, = 9.3 | no | nvd | /v1/products/freebsd/freebsd |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Exposed hosts: 164177
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports