Read the docs

FindBin::libs uncontrolled search path lets local attackers load libraries

Priority LOW 23CWE-427Published · Updated

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

EPSS 0.00315 16th percentileScored 2026-11-30
Fix Fixed FindBin-libs: 5.4.0

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—FindBin-libs4.1.0 to before 5.4.05.4.0Patch availableCNA
  • 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

  1. 2026-11-30 Threatist record created from CVE-2026-120359
  2. 2026-11-30 Alias added: GHSA-h25p-9jcq-46r7

References

Sources