FindBin::libs uncontrolled search path lets local attackers load libraries
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- Code execution
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from CNA. Impact type from CWE-427.
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, a trailing colon makes the dynamic linker treat the empty element as the current directory (CWE-427). 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. The option exists only in the module installed on Perl 5.40 and later.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | FindBin-libs | 4.1.0 to before 5.4.0 | 5.4.0 | Patch available | CNA |
- FindBin-libs Vendor— Affected 4.1.0 to before 5.4.0 Fixed in 5.4.0 Patch available CNA
Remediation
Update FindBin-libs to version 5.4.0.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
- Fix · CNA FindBin-libs Fixed in 5.4.0
Timeline
- 2026-11-30 Threatist record created from CVE-2026-120359
- 2026-11-30 Alias added: GHSA-h25p-9jcq-46r7
References
Sources
- CVE-2026-120359 · CVE Program
- CVE-2026-120359 · NVD
- FIRST EPSS
- GHSA-h25p-9jcq-46r7 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences