CVEvulnerability

CVE-2026-39461

8.8 HIGH Published 2026-05-21 Modified 2026-07-23 Official page ↗
Status
Analyzed
Published
2026-05-21
Last modified
2026-07-23
Assigner
[email protected]
CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
8.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Weaknesses
CWE-121

Description

libcasper(3) communicates with helper processes via UNIX domain sockets, and uses the select(2) system call to wait for data to become available. However, it does not verify that its socket descriptor fits within select(2)'s descriptor set size limit of FD_SETSIZE (1024). An attacker able to cause an application using libcasper(3) to allocate large file descriptors, e.g., by opening many descriptors and executing a program which is not careful to close them upon startup, may trigger stack corruption. If the target application runs with setuid root privileges, this could be used to escalate local privileges.

Affected configurations

• freebsd freebsd 14.3 • freebsd freebsd 14.4 • freebsd freebsd 15.0

Related

Weakness · CWE (1)

  • CWE-121 Stack-based Buffer Overflow weakness

References