Repository navigation
20261117:
tmpfs: clear setgid on files created by nonmembers of the group
(CVE-2026-127749, FreeBSD-SA-26:94.tmpfs). A user could create a
setgid file on tmpfs for a group it does not belong to. Rebuild
and install the kernel and tmpfs.ko, then reboot.
tcp: handle read-only mbufs when extracting urgent data
(CVE-2026-127748, FreeBSD-SA-26:93.tcp). Receiving TCP urgent
data modified mbufs that may be shared, such as file pages sent
with sendfile(2), which a local user could exploit to gain root.
Rebuild and install the kernel, then reboot.
vfs: check access for open(2) with O_CREAT and O_DIRECTORY
(CVE-2026-127746, FreeBSD-SA-26:92.vfs). The combination skipped
the read and search permission check on an existing directory.
Rebuild and install the kernel, then reboot.
fdescfs: check write access when truncating through /dev/fd
(CVE-2026-127745, FreeBSD-SA-26:91.fdescfs). With fdescfs mounted,
a file opened read-only could be truncated through /dev/fd/N
without write permission. Rebuild and install the kernel and
fdescfs.ko, then reboot.
vm: fix handling of largepage mappings (CVE-2026-127744,
FreeBSD-SA-26:90.vm). Pages of a largepage shared memory object
could stay mapped after the object was freed, which a local user
could exploit to gain root. Rebuild and install the kernel, then
reboot.
bsnmpd: fix SNMPv3 authentication and VACM bypasses and a buffer
overflow (CVE-2026-127742, CVE-2026-127743, FreeBSD-SA-26:89.bsnmp).
A remote client could have SNMPv3 discovery messages executed
without authentication or access checks, including SETs, read the
USM and VACM configuration, or overflow a buffer with an oversized
vacmViewTreeFamilyMask. Rebuild and install world, then restart
bsnmpd if it is running.
sound: do not resize a channel buffer while I/O is in progress
(CVE-2026-127741, FreeBSD-SA-26:88.sound). A resize racing with a
read or write on the same channel could free the buffer the copy
was using, which a local user with access to a dsp device could
exploit to gain root. Rebuild and install the kernel and sound
modules, then reboot.
freebsd32: do not modify control messages shared with the socket
buffer (CVE-2026-101321, FreeBSD-SA-26:86.freebsd32). Receiving
a large control message with MSG_PEEK in a 32-bit program could
corrupt the socket's message queue, which a local user could exploit
to gain root. Rebuild and install the kernel, then reboot.
kqueue: fix a use after free when detaching a timer knote
(CVE-2026-101320, FreeBSD-SA-26:85.kqueue). A timer knote of a
stopped process could be re-armed while it was being detached and
fire after its memory was freed, which a local user could exploit
to gain root. Rebuild and install the kernel, then reboot.
vmm: reject guest writes of reserved bits to IA32_TSC_AUX
(CVE-2026-101319, FreeBSD-SA-26:84.vmm). On Intel hosts a bhyve
guest could store a value with reserved bits set, which was later
loaded into the host MSR, crashing the host. The write now raises
#GP in the guest. Rebuild and install the kernel and vmm.ko, then
reboot.
ipsec: fix IV reuse with AES-CTR and AES-GCM (CVE-2026-101318,
FreeBSD-SA-26:82.ipsec). esp_output() advanced the per-SA IV
counter under a shared lock, so packets sent concurrently on
different CPUs could be encrypted with the same IV and key,
letting an on-path attacker forge packets and potentially recover
plaintext. Rebuild and install the kernel, then reboot. IV reuse
before the update may allow continued forgery on SAs that keep the
same keys: SAs negotiated by an IKE daemon are replaced at reboot,
but manually keyed SAs (setkey(8)) should be given new keys.
nfsd: fix a use after free via DELEGRETURN (CVE-2026-101317,
FreeBSD-SA-26:79.nfs). The NFSv4 server did not check that the
stateid passed to DELEGRETURN referred to a delegation, so a client
could supply an open or lock stateid and have the server free that
state while it was still in use. A remote NFSv4 client able to
open a file on an export could panic the server or potentially
execute code in its kernel. Systems not running an NFSv4 server
are not affected. Rebuild and install the kernel, then reboot.
netlink: fix a kernel heap buffer overflow (CVE-2026-127747,
FreeBSD-SA-26:77.netlink). When a netlink reply outgrew its
buffer, nlmsg_refill_buffer() sized the replacement buffer for the
data being added but not for the part of the message already
written, so the kernel could write past its end. An unprivileged
local user, including one in a jail, could use this to escalate
privileges. Rebuild and install the kernel, then reboot.
ocs_fc: fix multiple vulnerabilities in the Emulex Fibre Channel
driver (CVE-2026-127752, CVE-2026-127753, CVE-2026-127754,
FreeBSD-SA-26:76.ocs_fc). The ioctl interface did not require
superuser privileges and did not bound user supplied sizes or PCI
offsets, so a member of the operator group could corrupt kernel
memory. A remote port on the same fabric could trigger a use after
free with a single PRLI, or out-of-bounds accesses via malformed
FCP command frames or exchange IDs. /dev/ocsN is now root:wheel
mode 0600 and its ioctls require root; tools that used it as an
operator group member must now run as root. Rebuild and install
the kernel, then reboot.
ktls: fix a kernel memory disclosure via TLS_SET_RECORD_TYPE
control messages (CVE-2026-101313, FreeBSD-SA-26:74.ktls).
sosend_generic() accepted a TLS_SET_RECORD_TYPE message holding
only a cmsghdr and read the record type from the byte past its
end, so a local user with a KTLS transmit socket could leak one
byte of uninitialized kernel memory per record in the plaintext
TLS 1.2 record header. Such messages are now rejected with
EINVAL. Rebuild and install the kernel, then reboot.
20261111:
mport(1) updated to 2.8.7. Adds the aarch64 and riscv64
architectures.
20261106:
unbound 1.26.2: CVE-2026-14586 CVE-2026-32665 CVE-2026-35501
CVE-2026-40691 CVE-2026-41637 CVE-2026-42955 CVE-2026-44621
CVE-2026-44687 CVE-2026-44690 CVE-2026-46582 CVE-2026-50045
CVE-2026-50046 CVE-2026-50106 CVE-2026-50243 CVE-2026-50248
CVE-2026-50251 CVE-2026-50252 CVE-2026-52863 CVE-2026-54478
CVE-2026-55708 CVE-2026-55717 CVE-2026-55973 CVE-2026-55990
CVE-2026-55991 CVE-2026-56416 CVE-2026-56444 CVE-2026-77860
CVE-2026-77955 CVE-2026-78227 CVE-2026-80225 CVE-2026-81634
CVE-2026-81642 CVE-2026-82717 CVE-2026-82720 CVE-2026-85501
CVE-2026-96405 CVE-2026-97206 CVE-2026-109125
xz 5.8.4: fixes an invalid memory access in liblzma decoders that
are reinitialized after a memory allocation failure
(GHSA-5qpq-xqfv-j9pg, CVE pending).
file 5.48
libarchive 3.8.11: fixes many out-of-bounds reads and writes,
use-after-free bugs and integer overflows when reading malformed
archives. No CVE numbers have been assigned.
libpcap 1.10.6 and tcpdump 4.99.6. The libpcap fix for
CVE-2025-11961 was already backported.
tcpdump: fix out-of-bounds reads when printing pfsync "update" and
"tdb" records
wpa_supplicant and hostapd 2.12: CVE-2026-58374 CVE-2026-78807
(w1.fi security advisories 2026-1 through 2026-4). Also fixes
the hostapd RADIUS Message-Authenticator length check (w1.fi
2026-5).
zlib 1.3.2 with the security fixes from 1.4: fixes out-of-bounds
writes in inflateGetDictionary(), inflateSync() and deflatePrime(),
out-of-bounds reads after inflatePrime() and deflateResetKeep(),
and uninitialised memory exposed by inflateBack() and gzseek().
The non-blocking I/O support new in 1.3.2 comes with the fixes for
CVE-2026-85091 and a related gzprintf() overflow.
tnftp 20260211: ftp(1) now rejects PASV and LPSV replies that name
an address other than the server's, and exits non-zero when an
HTTP transfer is shorter than expected.
20261105:
OpenSSH 10.6p2: fixes an sshd(8) password authentication bypass
reported against Linux builds without PAM, and accepts the
ssh-mldsa44-ed25519 CA signature algorithm by default.
tzdata 2026f: Cuba stays on daylight time (-04) through
2027-11-07 instead of falling back on 2026-11-01.
20261102:
OpenSSH 10.6p1, including the GSSAPI authentication fixes for
CVE-2026-106553. SSH compression is less effective after the
compression side-channel mitigation.
expat 2.10.0: CVE-2026-113351, CVE-2026-115506,
CVE-2026-117610 and CVE-2026-118370. Also includes the 2.9.0
fixes for CVE-2026-77214 and CVE-2026-102633.
20261028:
mport(1) updated to 2.8.5. Users who cannot write the package
database can now run the inspection commands (search, query, info,
list, stats), while commands that change packages, the index or
settings are refused with a message asking to run mport as root.
Package annotations, including age restrictions (age:), now
work. When aged_enable is set, an age-restricted install is refused
if aged(8) cannot be reached or the user's age is unset (set it with
agectl(8)); without a login session (cron, rc scripts), or with aged
disabled and not running, the check is skipped with a warning. Every
pkg-message entry is now shown, honouring pkg(8)-style upgrade version
ranges. "mport which" exits 1 when no package owns the file, failed
updates now return an error, and mport.update accepts a single
package file.
20261020:
The base trust store in /usr/share/certs has been regenerated from
NSS 3.131.1. Mozilla removed trust in emSign Root CA - C1 and
emSign ECC Root CA - C3, and in emSign ECC Root CA - G3 after a
security incident affecting intermediate certificates. G3 is now
blacklisted so that an outdated security/ca_root_nss cannot
reintroduce it. After installworld, run "make delete-old" to
remove the old certificate files and "certctl rehash" to update
/etc/ssl/certs. Also update security/ca_root_nss to 3.131.1.
20261017:
firstboot now asks which desktop to use when enabling a graphical
environment: MidnightBSD Workspace (x11-wm/midnight-wm), Xfce, or
GNUstep with Window Maker. Xfce remains the default.
The choice is stored in
/usr/local/etc/X11/xinit/xinitrc.d/default-session.sh, which sets
DEFAULT_SESSION for the mlogind "default" session and startx.
share/skel/dot.xinitrc now accepts the midnight-wm session and
falls back to it when Xfce is not installed; existing users can
copy /usr/share/skel/dot.xinitrc to ~/.xinitrc, or pick a session
with F1 in mlogind.
20261016:
tftp(1): fix packet buffer overflow on over-long file names in
send_rrq()/send_wrq(); tftpd(8) now explicitly sets its gid to
nobody after dropping supplemental groups.
20261015:
rpcinfo(8): CVE-2026-16277, CVE-2026-16461 stack buffer overflows
with data from a malicious rpcbind server (rpcinfo -l / -s).
nvi 2.2.1-52c07e8
20261014:
bhyve(8): fix guest-triggerable memory safety bugs in the xhci,
hda and fbuf device models (FreeBSD-SA-26:72.bhyve, CVE-2026-101309,
CVE-2026-101310, CVE-2026-101311). Restart any virtual machines
that use these devices after installing.
20261014:
sound(4): fix a race between buffer resizing and mmap(2) that could
let a local user with access to a sound device trigger a kernel
use-after-free (FreeBSD-SA-26:71.sound, CVE-2026-101308). Rebuild
and install the kernel and reboot.
20261014:
hastd(8): fix an assertion failure on empty control messages,
uninitialized nvpair padding that could leak heap memory into
on-disk metadata and network messages, and a worker hang when
the main process hands off an incoming connection
(FreeBSD-EN-26:26.hastd). Restart hastd after installing.
Also includes the earlier fix for the nv data size check.
20261002:
openssl: fix an out-of-bounds read in DTLS retransmission
(CVE-2026-84782). If the DTLS retransmission timer fired while a
handshake message write was suspended, the resent message was read
from a stale buffer offset and could include heap memory, which was
sent to the peer as plaintext, or crash the application. Only
applications using DTLS are affected. OpenSSL 1.1.1 is out of
public upstream support, so this is a local patch to 1.1.1w.
Rebuild and install world, then restart all daemons that use the
library, or reboot.
20261002:
udp6: fix a jail network isolation bypass (CVE-2026-101303,
FreeBSD-SA-26:69.udp). An unconnected IPv6 UDP sendto(2) from a
classic (non-VNET) jail did not rewrite a loopback destination to
the jail's primary address, so a jailed process could reach
services listening on the host's IPv6 loopback address. Rebuild
and install the kernel, then reboot.
20261001:
ktls: fix a remote denial of service in receive-side kernel TLS
(CVE-2026-101302, FreeBSD-SA-26:67.ktls). An off-by-one in the
search for the TLS 1.3 inner record type let a remote peer panic
the kernel with a crafted record whose plaintext is all zeros.
Only sockets using software receive-side KTLS are affected;
systems with kern.ipc.tls.enable=0 are not. Rebuild and install
the kernel, then reboot.
20261001:
jail: fix three FD_RESOLVE_BENEATH bypasses (CVE-2026-101304,
CVE-2026-101305, CVE-2026-101306, FreeBSD-SA-26:66.jail). A
directory descriptor passed into a jail over a Unix domain socket
carries FD_RESOLVE_BENEATH so lookups cannot leave it, but the flag
and capability rights were lost when opening /dev/fd/N on an
fdescfs mounted with "nodup", renameat(2) ignored the flag so a
directory could be moved and escaped from via fchdir(2), and
SCM_RIGHTS dropped the flag when a descriptor was passed, even to
the sender itself. A jailed process that received such a
descriptor could escape the jail's filesystem root. Rebuild and
install the kernel, then reboot.
20261001:
sysvsem: fix a heap out-of-bounds access in semop(2)
(CVE-2026-58098, FreeBSD-SA-26:64.sysvsem). When semop(2) slept
waiting on a semaphore, the check that the set still existed after
waking relied on a 15-bit sequence number that wraps, so a local
user who created and destroyed enough sets in the same slot could
make the kernel access freed or foreign heap memory, potentially
leading to privilege escalation. The kernel now keeps a 64-bit
sequence number per slot. Rebuild and install the kernel, then
reboot.
20260930:
tzdata 2026e (from 2026c). Manitoba moves to permanent -05 on
2026-10-31 and the Northwest Territories to permanent -06; the
EST5EDT/CST6CDT/MST7MDT/PST8PDT names now follow POSIX rules for
pre-1966 timestamps.