CVE-2026-120359
JSON

Not scored

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
Not scored
Exploit likelihood
0.32% (higher than 26% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
CPANSec

Description

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.

Affected

Product or packageVersionsReported by
FindBin-libsfrom 4.1.0 before 5.4.0CVE List

Classification

References

Sources

SourceRecordLicence
CVE ListCVE-2026-120359 changed 2026-11-30CVE Terms of Use