CPANSA-FindBin-libs-2026-120359: FindBin-libs vulnerability
| Publisher | giterlizzi | Document category | csaf_security_advisory |
|---|---|---|---|
| Initial release date | 2026-11-30T00:00:00 | Engine | CSAF Perl Toolkit 0.26 |
| Current release date | 2026-11-30T00:00:00 | Build Date | |
| Current version | 1 | Status | final |
| CVSS v3.1 Base Score | Severity | ||
| Original language | Language | en | |
| Also referred to | |||
Vulnerability 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.
Vulnerabilities
CVE-2026-120359
Vulnerability DescriptionFindBin::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 |
|---|
Product status
Known affected
| Product | Score | ||||
|---|---|---|---|---|---|
| FindBin-libs greater than or equal 4.1.0 and less than 5.4.0 |
|
Fixed
- FindBin-libs greater than or equal 5.4.0
giterlizzi
Namespace: https://github.com/giterlizzi/
gdt@cpan.org
References
- CPANSA-FindBin-libs-2026-120359 JSON self
https://raw.githubusercontent.com/giterlizzi/perl-CPANSA-CSAF/develop/csaf/white/2026/cpansa-findbin-libs-2026-120359.json - https://gitlab.com/lembark/findbin-libs/-/commit/9cf0a05e97f56899f125d53b9a5e87ea265c9179.patch external
https://gitlab.com/lembark/findbin-libs/-/commit/9cf0a05e97f56899f125d53b9a5e87ea265c9179.patch - https://metacpan.org/release/LEMBARK/FindBin-libs-v5.4.0/changes external
https://metacpan.org/release/LEMBARK/FindBin-libs-v5.4.0/changes - CVE-2026-120359 (NVD) external
https://nvd.nist.gov/vuln/detail/CVE-2026-120359
Revision history
| Version | Date of the revision | Summary of the revision |
|---|---|---|
| 1 | Mon Nov 30 00:00:00 2026 | First release |
Sharing rules
TLP:WHITE
For the TLP version see: https://www.first.org/tlp/