FindBin::libs versions from 4.1.0 before 5.4.0 for Perl add the current directory to...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| CPANFindBin-libs |
≥ 4.1.0, < 5.4.0→ 5.4.0 |
5.4.0 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-120359 libfindbin-libs-perl No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-120359 libfindbin-libs-perl No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- package gitlab.com
- web gitlab.com
- web metacpan.org
- web cpan.org
- web nvd.nist.gov
- web github.com