FreeBSD VuXML: Documenting security issues in FreeBSD and the FreeBSD Ports Collection

FreeBSD -- Remote code execution via ND6 Router Advertisements

Affected packages
15.0 <= FreeBSD < 15.0_1
14.3 <= FreeBSD < 14.3_7
13.5 <= FreeBSD < 13.5_8

Details

VuXML ID 6c9318c7-dae9-11f0-80b8-bc241121aa0a
Discovery 2025-12-16
Entry 2025-12-17

Problem Description:

The rtsol(8) and rtsold(8) programs do not validate the domain search list options provided in router advertisement messages; the option body is passed to resolvconf(8) unmodified.

resolvconf(8) is a shell script which does not validate its input. A lack of quoting meant that shell commands pass as input to resolvconf(8) may be executed.

Impact:

Systems running rtsol(8) or rtsold(8) are vulnerable to remote code execution from systems on the same network segment. In particular, router advertisement messages are not routable and should be dropped by routers, so the attack does not cross network boundaries.

References

CVE Name CVE-2025-14558
FreeBSD Advisory SA-25:12.rtsold