{ "document": { "category": "csaf_security_advisory", "csaf_version": "2.0", "distribution": { "tlp": { "label": "WHITE", "url": "https://www.first.org/tlp/" } }, "lang": "en", "notes": [ { "category": "description", "text": "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.\n\nThe 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.\n\nAn attacker who can name a directory can run code as any user who runs a script inside it.", "title": "Vulnerability Description" } ], "publisher": { "category": "other", "contact_details": "gdt@cpan.org", "name": "giterlizzi", "namespace": "https://github.com/giterlizzi/" }, "references": [ { "category": "self", "summary": "CPANSA-FindBin-libs-2026-120361 JSON", "url": "https://raw.githubusercontent.com/giterlizzi/perl-CPANSA-CSAF/develop/csaf/white/2026/cpansa-findbin-libs-2026-120361.json" }, { "category": "external", "summary": "https://metacpan.org/release/LEMBARK/FindBin-libs-v5.4.0/changes", "url": "https://metacpan.org/release/LEMBARK/FindBin-libs-v5.4.0/changes" }, { "category": "external", "summary": "CVE-2026-120361 (NVD)", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-120361" } ], "title": "FindBin-libs vulnerability", "tracking": { "current_release_date": "2026-11-30T00:00:00", "generator": { "engine": { "name": "CSAF Perl Toolkit", "version": "0.26" } }, "id": "CPANSA-FindBin-libs-2026-120361", "initial_release_date": "2026-11-30T00:00:00", "revision_history": [ { "date": "2026-11-30T00:00:00", "number": "1", "summary": "First release" } ], "status": "final", "version": "1" } }, "product_tree": { "branches": [ { "branches": [ { "category": "product_version_range", "name": "vers:cpan/>=4.0.1|<5.4.0", "product": { "name": "FindBin-libs greater than or equal 4.0.1 and less than 5.4.0", "product_id": "CSAFPID-0001", "product_identification_helper": { "purl": "pkg:cpan/FindBin-libs" } } }, { "category": "product_version_range", "name": "vers:cpan/>=5.4.0", "product": { "name": "FindBin-libs greater than or equal 5.4.0", "product_id": "CSAFPID-0002", "product_identification_helper": { "purl": "pkg:cpan/FindBin-libs" } } } ], "category": "product_name", "name": "FindBin-libs" } ] }, "vulnerabilities": [ { "cve": "CVE-2026-120361", "cwe": { "id": "CWE-95", "name": "Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')" }, "notes": [ { "category": "description", "text": "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.\n\nThe 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.\n\nAn attacker who can name a directory can run code as any user who runs a script inside it.", "title": "Vulnerability Description" } ], "product_status": { "fixed": [ "CSAFPID-0002" ], "known_affected": [ "CSAFPID-0001" ] } } ] }