CVE-2026-58302

NameCVE-2026-58302
Descriptionrtapi_app in linuxcnc-uspace in LinuxCNC before 2.9.9 allows privilege escalation. It is installed SUID root and loads shared library modules via dlopen() by using a user-supplied module name. Insufficient validation of the module name allows path traversal, enabling an unprivileged local user to load an arbitrary shared library. Because the process retains elevated privileges during module loading, this results in local privilege escalation to root.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1140943

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
linuxcnc (PTS)bookworm2.9.0~pre1+git20230208.f1270d6ed7-1+deb12u1vulnerable
trixie1:2.9.4-2vulnerable
sid1:2.9.9-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
linuxcncsource(unstable)1:2.9.9-11140943

Notes

[trixie] - linuxcnc <no-dsa> (Will be fixed via point release)
[bookworm] - linuxcnc <no-dsa> (Will be fixed via point release)
https://github.com/LinuxCNC/linuxcnc/commit/00d534c87464a3ed446656998aa02b8abc74b391 (v2.9.9)

Search for package or bug name: Reporting problems