Heap-based buffer overflow in FreeBSD - CVE-2023-5941
Published: November 10, 2023
FreeBSD
FreeBSD Foundation
Description
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error within the __sflush() function in libc. A remote attacker can pass specially crafted data to the application that is using the affected library, trigger a heap-based buffer overflow and execute arbitrary code on the target system.
The vulnerability can be used to escalate privileges or remotely execute arbitrary code. The attack vector depends on the application or daemon that uses the vulnerable libc version.