Home › CVE › Vulnerabilities
CVE-2026-120359
Summary
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.
Weakness
- CWE-427: Uncontrolled Search Path Element
References by type
Patches and fixed releases
Other references
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-120359?
FindBin::libs versions from 4.1.0 before 5.4.0 for Perl add the current directory to LDLIBRARYPATH with the ldlib option. When LDLIBRARYPATH is unset, ldlib 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. Weakness type: Uncontrolled Search Path Element (CWE-427).
How severe is CVE-2026-120359?
CVE-2026-120359 has not been given a CVSS score yet.
Is CVE-2026-120359 being exploited?
Not as far as is known: CVE-2026-120359 is not in CISA's Known Exploited Vulnerabilities catalog as of November 30, 2026.
How do I fix CVE-2026-120359?
Follow the advisories and patches linked on this page under References for fixed versions and workarounds.