JLSEC-2026-1396

Source
https://github.com/JuliaLang/SecurityAdvisories.jl/blob/main/advisories/published/2026/JLSEC-2026-1396.md
Import Source
https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-1396.json
JSON Data
https://api.osv.dev/v1/vulns/JLSEC-2026-1396
Upstream
Published
2026-11-23T15:17:06Z
Modified
2026-11-23T15:43:35Z
Severity
  • 5.9 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L (Source: CNA) CVSS Calculator
Summary
Perl threads have a working directory race condition where file operations may target unintended...
Details

Perl threads have a working directory race condition where file operations may target unintended paths.

If a directory handle is open at thread creation, the process-wide current working directory is temporarily changed in order to clone that handle for the new thread, which is visible from any third (or more) thread already running.

This may lead to unintended operations such as loading code or accessing files from unexpected locations, which a local attacker may be able to exploit.

The bug was introduced in commit 11a11ecf4bea72b17d250cfb43c897be1341861e and released in Perl version 5.13.6

Database specific
{
    "license": "CC-BY-4.0",
    "sources": [
        {
            "database_specific": {
                "status": "Deferred"
            },
            "html_url": "https://nvd.nist.gov/vuln/detail/CVE-2025-40909",
            "id": "CVE-2025-40909",
            "imported": "2026-11-21T08:11:23.157Z",
            "modified": "2026-06-17T09:22:16.320Z",
            "published": "2025-05-30T13:15:22.350Z",
            "url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2025-40909"
        },
        {
            "html_url": "https://github.com/advisories/GHSA-jpf5-526x-c5hw",
            "id": "GHSA-jpf5-526x-c5hw",
            "imported": "2026-11-21T08:11:54.696Z",
            "modified": "2026-04-18T15:34:15Z",
            "published": "2025-05-30T15:30:30Z",
            "url": "https://api.github.com/advisories/GHSA-jpf5-526x-c5hw"
        },
        {
            "affected": {
                "perl:perl": [
                    "5.13.6 <5.41.13"
                ]
            },
            "html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-16506",
            "id": "EUVD-2025-16506",
            "imported": "2026-11-21T08:11:20.392Z",
            "modified": "2026-04-18T14:15:40Z",
            "published": "2025-05-30T12:20:11Z",
            "url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2025-16506"
        }
    ]
}
References

Affected packages

Julia / Perl_jll

Package

Name
Perl_jll
Purl
pkg:julia/Perl_jll?uuid=83958c19-0796-5285-893e-a1267f8ec499

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Database specific

source
"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-1396.json"