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.
History

Mon, 30 Nov 2026 00:45:00 +0000

Type Values Removed Values Added
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.
Title 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
Weaknesses CWE-427
References

cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published: 2026-11-30T00:26:11.438Z

Updated: 2026-11-30T00:26:11.438Z

Reserved: 2026-11-01T21:57:40.839Z

Link: CVE-2026-120359

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-30T01:17:03.670

Modified: 2026-11-30T01:17:03.670

Link: CVE-2026-120359

cve-icon Redhat

No data.