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

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
CVSS Version CVSS Vector CVSS Base Score CVSS Base Severity
Fixed

giterlizzi

Namespace: https://github.com/giterlizzi/

gdt@cpan.org

References

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/