This week saw the third beta of FreeBSD 15.1, a critical execve() privilege escalation vulnerability, the KDE desktop installer option being pushed to 15.2, and two libnv security advisories that remain highly relevant. Here’s your summary.
FreeBSD 15.1 Beta 3 Released
FreeBSD 15.1-BETA3 was released over the weekend as the latest weekly test candidate. The release is entering its final stretch — the Release Candidate (RC) is expected next week, and if all goes well, FreeBSD 15.1-RELEASE is targeted for June 2, 2026.
Key changes in Beta 3:
- OpenZFS 2.4.2 has been integrated — the latest OpenZFS release with various fixes and minor enhancements.
- Cloud images now automatically run
pkg upgradeon first boot to apply security updates to the base system. A sensible improvement for cloud deployments that often start from stale images. - Kerberos has been updated.
- bsdinstall scripted installations now use pkgbase.
The beta cycle has been relatively smooth so far. BETA1 and BETA2 in previous weeks brought Zstd 1.5.7, userland fixes for ifconfig, lockf, stat, tail, and certctl, plus kernel fixes for nullfs, so_splice, and VT.
BETA2 Recap (May 8)
- Updated to Zstd 1.5.7
- bsdinstall now consistently uses
pkg.freebsd.orgfor package bootstrap - Various userland and kernel bug fixes
Critical execve() Privilege Escalation — CVE-2026-7270
A serious kernel vulnerability disclosed in late April continues to generate discussion. FreeBSD-SA-26:13.execdescribes an operator-precedence error in the execve(2) implementation that leads to a buffer overflow. Attacker-controlled data can spill into adjacent argument buffers, corrupt kernel state, and grant unprivileged users root access.
The flaw affects all supported FreeBSD releases (13.5 through the 15 branch). Patches were published within hours, adding explicit parentheses to enforce the intended evaluation order and tightening size checks.
Community Reaction
- Positive: Rapid response — the advisory went live less than an hour after discovery, with patches available for every supported branch the same day.
- Concerns: There is no workaround. Administrators who can’t immediately reboot (e.g., high-availability systems) remain exposed.
- Source-based installations require kernel recompilation and reboot, which can take hours on older hardware.
- Early adopters on the 15 branch reported a minor regression in custom execve wrapper scripts that relied on the previous (buggy) argument handling.
Two libnv Security Advisories (SA-26:16 and SA-26:17)
Also disclosed on April 29, two libnv vulnerabilities remain relevant for anyone who hasn’t patched yet:
- SA-26:16 (CVE-2026-39457): Stack overflow via
select()file descriptor set overflow — when a socket descriptor exceedsFD_SETSIZE(1024),select(2)overflows its file descriptor set. An attacker who can force a program to open many descriptors can trigger stack corruption and potentially escalate privileges via setuid-root programs. Discovered by Joshua Rogers (AISLE Research Team). - SA-26:17 (CVE-2026-35547): Heap overflow in libnv — message size is not properly validated when processing headers, enabling out-of-bounds writes on the heap. This can cause crashes, panics, or potential privilege escalation by unprivileged users. Discovered by Mariusz Zaborski.
Both affect all supported FreeBSD versions with no workaround. Upgrade and reboot are mandatory.
KDE Desktop Installer Option Delayed to FreeBSD 15.2
The long-awaited KDE desktop installation option in the FreeBSD installer has been delayed again — this time from 15.1 to FreeBSD 15.2 (expected December 2026). Originally planned for 15.0, then moved to 15.1, the installation script needs updates for new NVIDIA drivers and removal of obsolete components. After committing to CURRENT, a testing period in STABLE is required, which no longer fits the 15.1 timeline.
Until then, KDE Plasma can be set up manually via pkg after installation.
Mailing List Discussions
Update Strategy and Timing (freebsd-current)
Bob Prohaska kicked off a discussion about preferred update strategies for self-hosted FreeBSD systems. On stable branches, freebsd-update is straightforward. On current, things get more complex. Warner Losh, Rick Macklem, Mark Millard, and others weighed in on the trade-offs of different approaches — a worthwhile read for anyone running current in production.
PKGBASE: Upgrading 15.0 to 15.1-BETA2
Vermaden asked about the upgrade path from FreeBSD 15.0-RELEASE to 15.1-BETA2 using the PKGBASE model. Colin Percival confirmed this path isn’t fully documented yet. The PKGBASE system remains marked as experimental, and the minor-release upgrade workflow needs more work.
Beach Cleaning Project: Infrastructure Cleanup
The FreeBSD Foundation published a detailed report on the Beach Cleaning Project in late April that continues to draw attention:
- Machine-readable inventory of over 1,000 components in the base system, including 73 third-party imports
- OpenSSL 3.5 LTS was integrated in time for FreeBSD 15.0 (replacing OpenSSL 3.0, which reaches EOL September 2026)
- SBOM generation in SPDX 2 and SPDX 3 formats
- CODEOWNERS-style reports for better maintainability
- Preparation for importing pkg into the base system as part of the pkgbase transition
The project was funded by Alpha-Omega and produced practical tooling, security assessments, and implementation plans that will serve FreeBSD development well beyond the project’s lifespan.
Blog Posts This Week
Vermaden: FreeBSD PKGBASE Minor Upgrades
Vermaden published a practical guide for upgrading FreeBSD 15.0 to 15.1-BETA2 using PKGBASE and ZFS Boot Environments. The walkthrough covers creating a new BE, configuring the pkg repository, upgrading the base system, and rolling back if needed — including an alternative approach using --chroot.
Going Back to BSD
Pete shared a personal blog post about returning to BSD after decades on Linux. He describes moving from Arch Linux to FreeBSD, setting up mail servers with Bastille jails, and appreciating the simplicity of the rc system compared to systemd. A nostalgic and practical read.
Looking Ahead
Next week will see the Release Candidate for FreeBSD 15.1. If no unexpected issues arise, the final release is expected on June 2, 2026. Administrators should patch the three security vulnerabilities (execve, libnv x2) immediately if they haven’t already.
Sources: Phoronix, FreeBSD Mailing Lists, FreeBSD Security Advisories, FreeBSD Foundation, Vermaden Blog, LavX News, peteftw.com