CVE-2016-1887 in Freebsd
Integer signedness error in the sockargs function in sys/kern/uipc_syscalls.c in FreeBSD 10.1 before p34, 10.2 before p17, and 10.3 before p3 allows local users to cause a denial of service (memory overwrite and kernel panic) or gain privileges via a negative buflen argument, which triggers a heap-based buffer overflow.
Affects 1 product from 1 vendor. Facts below cite their sources.
Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Freebsd | Freebsd | 10.1 10.2 10.3 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
Official description
Integer signedness error in the sockargs function in sys/kern/uipc_syscalls.c in FreeBSD 10.1 before p34, 10.2 before p17, and 10.3 before p3 allows local users to cause a denial of service (memory overwrite and kernel panic) or gain privileges via a negative buflen argument, which triggers a heap-based buffer overflow.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2016-1887 |
|---|---|
| BreachSpider ID | BS-2016-GLOBAL-221902-H |
| CVSS vector | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2016-05-25 |
| Last modified | 2026-05-06 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-264: Permissions, Privileges, and Access Controls
Broad class covering failures in permission enforcement. Deprecated in favor of CWE-284, CWE-862, CWE-863.
Analysis AI-written, not human-reviewed
An integer signedness error in the sockargs function in FreeBSD's uipc_syscalls.c file can lead to a denial of service or privilege escalation through a negative buflen argument, causing a heap-based buffer overflow.
The vulnerability is triggered by a local user providing a negative buflen argument to the sockargs function, which can cause a heap-based buffer overflow, leading to memory overwrite and potentially a kernel panic or privilege escalation.
Questions
What is CVE-2016-1887?
An integer signedness error in the sockargs function in FreeBSD's uipc_syscalls.c file can lead to a denial of service or privilege escalation through a negative buflen argument, causing a heap-based buffer overflow.
What is the CVSS score for CVE-2016-1887?
CVE-2016-1887 has CVSS 7.8 (High). Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 1.1%.
Is CVE-2016-1887 actively exploited?
Public exploit available for CVE-2016-1887. Exploitation risk elevated.
How do I remediate CVE-2016-1887?
Priority: IMMEDIATE. Advisory: https://security.FreeBSD.org/advisories/FreeBSD-SA-16:19.sendmsg.asc PSIRT: [email protected]
What systems are affected by CVE-2016-1887?
CVE-2016-1887 affects Freebsd Freebsd.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Freebsd","product":"Freebsd","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-05-06.