freenode

← CVE tracker

CVE-2026-120359

FindBin::libs versions from 4.1.0 before 5.4.0 for Perl add the current directory to LD_LIBRARY_PATH with the ld_lib option

Severity
high CVSS 7.3 (v3.1)
Weakness
CWE-427 Uncontrolled Search Path Element
Published
30 November 2026 by CPANSec
First seen on our lists
30 November 2026
FindBin::libs versions from 4.1.0 before 5.4.0 for Perl add the current directory to LD_LIBRARY_PATH with the ld_lib option. When LD_LIBRARY_PATH is unset, ld_lib sets it to the directories found followed by a trailing colon. The dynamic linker reads the empty element after it as the current directory. The option exists only in the module installed on Perl 5.40 and later. A local attacker who can write to the working directory of a program the script runs can plant a shared library that runs as the script's user.

Our coverage

We have not written about this one. Know why it matters? Send a tip.

On the lists