CVE-2026-120361

NameCVE-2026-120361
DescriptionFindBin::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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1155877

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libfindbin-libs-perl (PTS)bookworm, trixie3.0.2-1vulnerable
forky, sid4.0.4-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libfindbin-libs-perlsource(unstable)(unfixed)1155877

Notes

https://lists.security.metacpan.org/cve-announce/msg/45519742/

Search for package or bug name: Reporting problems