FreeBSD : FreeBSD -- Privilege escalation via missing fdescfs(4) access checks (694ec2f0-e313-11f1-a3e1-bc241121aa0a)

high Nessus Plugin ID 382593

Synopsis

The remote FreeBSD host is missing one or more security-related updates.

Description

The version of FreeBSD installed on the remote host is prior to tested version. It is, therefore, affected by a vulnerability as referenced in the 694ec2f0-e313-11f1-a3e1-bc241121aa0a advisory.

fdescfs(4) did not implement access checks for its files, and did not verify that a descriptor was open for writing before changing the size of the underlying file. As a result, truncate(2) on /dev/fd/N succeeded even when descriptor N was open read-only.
fdescfs(4) also checked the wrong Capsicum rights on the descriptor when changing file attributes.
An unprivileged local user can truncate or extend any file which they are able to open for reading, including system files owned by root. This may allow privilege escalation or a Denial of Service (DoS).

Tenable has extracted the preceding description block directly from the FreeBSD security advisory.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Update the affected packages.

See Also

http://www.nessus.org/u?9ec4bab6

Plugin Details

Severity: High

ID: 382593

File Name: freebsd_pkg_694ec2f0e31311f1a3e1bc241121aa0a.nasl

Version: 1.1

Type: Local

Published: 11/18/2026

Updated: 11/18/2026

Configuration: Enable paranoid mode

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 58.8

CVSS v2

Risk Factor: Low

Base Score: 2.1

Temporal Score: 1.6

Vector: CVSS2#AV:L/AC:L/Au:N/C:N/I:N/A:P

CVSS Score Source: CVE-2026-127745

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.8

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:freebsd:freebsd, p-cpe:/a:freebsd:freebsd:freebsd-kernel

Required KB Items: Settings/ParanoidReport, Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Exploit Ease: No known exploits are available

Patch Publication Date: 11/18/2026

Vulnerability Publication Date: 11/18/2026

Reference Information

CVE: CVE-2026-127745