CVE-2016-6559
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedImproper 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · moderate confidenceImproper bounds checking of the obuf variable in the link_ntoa() function in linkaddr.c of BSD libc allows memory read/write. However, FreeBSD developers analysis indicates it is very unlikely applications use this function in an exploitable manner, and no proof of concept exists.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data= 9.3= 10.1= 10.2= 10.3= 11.0CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Check FreeBSD versionRun 'uname -a' or 'freebsd-version -u' to identify the installed FreeBSD releaseAffected if The version matches 9.3, 10.1, 10.2, 10.3, or 11.0
-
Identify usage of link_ntoa functionSearch application source code and compiled binaries for calls to link_ntoa using 'grep -r link_ntoa /path/to/code' or 'nm -g libc.so.7 | grep link_ntoa'Affected if Any custom or third-party application invokes link_ntoa
-
Audit input sources to link_ntoaReview code paths that pass data to link_ntoa and determine if the input originates from untrusted sources such as network packets, user input, or external filesAffected if link_ntoa receives input that could be controlled by an untrusted party
-
Verify patch statusCheck if the FreeBSD Security Advisory SA-16:37 patch has been applied by examining the linkaddr.c source or libc version; compare file timestamps against the patch release dateAffected if The patch has not been applied and the system is running an affected version
A system is affected if it runs FreeBSD 9.3, 10.1, 10.2, 10.3, or 11.0, has unpatched BSD libc, and runs applications that use link_ntoa with potentially untrusted input.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedApply the FreeBSD Security Advisory SA-16:37 patch to BSD libc. If unable to patch, audit any custom applications using link_ntoa() for potential untrusted input paths.
FreeBSD 10.4+ or 11.x (depending on support lifecycle); FreeBSD 9.4 for 9.x branch
- 1. Identify the current FreeBSD version using 'uname -a' or 'freebsd-version'
- 2. For FreeBSD 9.x systems: Upgrade to FreeBSD 9.4 or migrate to a supported release (10.4 or later)
- 3. For FreeBSD 10.x systems: Upgrade to FreeBSD 10.4 or later (11.x recommended if 10.x EOL)
- 4. Backup all critical data before performing the upgrade
- 5. Review the FreeBSD Handbook upgrading documentation at https://www.freebsd.org/doc/handbook/updating-upgrading.html
- 6. For production systems, test the upgrade in a non-production environment first
- 7. Apply the upgrade using 'freebsd-update fetch' and 'freebsd-update install' or by rebuilding from source
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation1.0 h
- Testing2.0 h
- Review / QA1.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $1,696.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2016-6559 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2016-6559 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data