AI-assisted summary built from NVD and CISA data. Verify against the linked sources before acting.

Summary

FindBin::Bin versions 4.0.1 to before 5.4.0 interpolate a script directory name into a string eval without escaping it. A quote in the directory name can cause the remaining name to be compiled as Perl code.

Impact: arbitrary code execution

Affected technologies

  • FindBin::Bin for Perl (4.0.1 to before 5.4.0)
  • Perl 5.40 and later

Upgrade FindBin::Bin to version 5.4.0 or later.

Details

   
CVSS 9.8 (Critical)
Vendor / product Vendor not specified
Published 2026-11-30
Weakness CWE-95
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Original description

FindBin::Bin versions from 4.0.1 before 5.4.0 for Perl execute code from the script’s directory name via a string eval. The module defines Bin by interpolating the script’s directory, or the current directory for perl -e, into a single-quoted literal inside a string eval, without escaping. A single quote in any directory name ends the literal and the rest of the name is compiled as Perl code. FindBin::Bin is installed only on Perl 5.40 and later, and FindBin::libs loads it. An attacker who can n

References

← Threat intelligence dashboard