CVE-2026-45254 Incorrect libcap_net limitation list manipulation
A flaw in FreeBSD's libcap_net allows processes to bypass network restrictions by omitting keys during limit updates, leading to privilege escalation.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-45254?
CVE-2026-45254 is a medium-severity vulnerability in Freebsd Freebsd, published on 21 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
In the case of the cap_net service, when a key present in the old limit was omitted from the new limit, the missing key was treated as "allow any" instead of being rejected.
In certain scenarios, an application that had previously restricted a subset of network operations could ask for a new limit that extended the permissions of the process.
Weakness: CWE-269
Which versions are affected by CVE-2026-45254?
It affects 1 product.
Products include Freebsd Freebsd.
How do I fix CVE-2026-45254?
No fix has been published for CVE-2026-45254 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-45254 being exploited?
There is no known exploitation of CVE-2026-45254 in the wild and no public exploit code.
Other vulnerabilities in Freebsd Freebsd
Sources
Also known as GHSA-rx3c-36rq-fgf8.