CVE-2026-120359

Source
https://cve.org/CVERecord?id=CVE-2026-120359
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-120359.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-120359
Downstream
Published
2026-11-30T00:26:11Z
Modified
2026-11-30T02:00:10Z
Summary
FindBin::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
Details

FindBin::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.

Database specific
{
    "cna_assigner":  "CPANSec",
    "cwe_ids":  [
        "CWE-427"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120359.json"
}
References

Affected packages

Git / gitlab.com/lembark/findbin-libs

Affected ranges

Type
GIT
Repo
https://gitlab.com/lembark/findbin-libs
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "4.1.0"
                },
                {
                    "fixed":  "5.4.0"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "fixed":  "9cf0a05e97f56899f125d53b9a5e87ea265c9179"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

v2.*
v2.20.2
v4.*
v4.0.5
v5.*
v5.2.5
v5.3.5
v5.3.6
v5.3.7
v5.3.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-120359.json"