CVE-2016-1885
What it is
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.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. High risk of service disruption.
- Exploit odds
- 1.2% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 1.2% in the next 30 days (EPSS).
- Severity: 6.2 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 1.2% · EPSS, next 30 days
- Weakness
- CWE-119 · Buffer errors
- Record status
- Modified
Affected
- Freebsd 9.3
- Freebsd 10.1
- Freebsd 10.2
Attack profile CVSS 3.0 · 6.2
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Raw vector
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2016-1885.md and follow it. Check whether this project is affected by CVE-2016-1885. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://security.FreeBSD.org/advisories/FreeBSD-SA-16:15.sysarch.asc
- https://security.FreeBSD.org/advisories/FreeBSD-SA-16:15.sysarch.asc
References
- http://packetstormsecurity.com/files/136276/FreeBSD-Kernel-amd64_set_ldt-Heap-Overflow.html
- http://seclists.org/fulldisclosure/2016/Mar/56
- http://seclists.org/fulldisclosure/2016/Mar/67
- http://www.coresecurity.com/advisories/freebsd-kernel-amd64setldt-heap-overflow
- http://www.securityfocus.com/archive/1/537812/100/0/threaded
- http://www.securityfocus.com/archive/1/537813/100/0/threaded
- http://www.securitytracker.com/id/1035309
- https://security.FreeBSD.org/advisories/FreeBSD-SA-16:15.sysarch.asc
- https://www.exploit-db.com/exploits/39570/
- http://packetstormsecurity.com/files/136276/FreeBSD-Kernel-amd64_set_ldt-Heap-Overflow.html
- http://seclists.org/fulldisclosure/2016/Mar/56
- http://seclists.org/fulldisclosure/2016/Mar/67
- http://www.coresecurity.com/advisories/freebsd-kernel-amd64setldt-heap-overflow
- http://www.securityfocus.com/archive/1/537812/100/0/threaded
- http://www.securityfocus.com/archive/1/537813/100/0/threaded
- http://www.securitytracker.com/id/1035309
- https://security.FreeBSD.org/advisories/FreeBSD-SA-16:15.sysarch.asc
- https://www.exploit-db.com/exploits/39570/