Bug 2585926 (CVE-2026-120361) - CVE-2026-120361 perl-findbin-libs: perl-findbin-libs: Arbitrary code execution via crafted directory name
Summary: CVE-2026-120361 perl-findbin-libs: perl-findbin-libs: Arbitrary code executio...
Keywords:
Status: NEW
Alias: CVE-2026-120361
Product: Security Response
Classification: Other
Component: vulnerability-draft
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-30 00:41 UTC by OSIDB Bzimport
Modified: 2026-11-30 07:43 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-30 00:41:37 UTC
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 name a directory can run code as any user who runs a script inside it.


Note You need to log in before you can comment on or make changes to this bug.