CVE-2026-120359

NameCVE-2026-120359
DescriptionFindBin::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.
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 Bugs1155878

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)1155878

Notes

https://lists.security.metacpan.org/cve-announce/msg/45519721/
Fixed by: https://gitlab.com/lembark/findbin-libs/-/commit/9cf0a05e97f56899f125d53b9a5e87ea265c9179 (v5.2.5)

Search for package or bug name: Reporting problems