VDB

DEBIAN-CVE-2025-40909

DEBIAN-CVE-2025-40909 PUBLISHED CVSS 5.900000095367432 MEDIUM

Record from OSV · Published May 30, 2025

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

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
perlDebian:135.40.1-5
perlDebian:145.40.1-5
perlDebian:125.36.0-7+deb12u3

Risk scores

CVSS 3.1
5.900000095367432
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Affected products

VendorProductVersions
Debian:13perl0
Debian:14perl0
Debian:12perl0, 5.36.0-7, 5.36.0-7+deb12u1

Timeline

  • May 30, 2025 CVE Published
  • Sep 1, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln DEBIAN-CVE-2025-40909
vulnetix vdb fixes DEBIAN-CVE-2025-40909

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/DEBIAN-CVE-2025-40909/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›