DEBIAN-CVE-2025-40909

Source
https://security-tracker.debian.org/tracker/CVE-2025-40909
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-40909.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2025-40909
Upstream
Published
2025-05-30T13:15:22Z
Modified
2025-09-25T07:45:11.645792Z
Summary
[none]
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

References

Affected packages

Debian:11 / perl

Package

Name
perl
Purl
pkg:deb/debian/perl?arch=source

Affected ranges

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

Affected versions

5.*

5.32.1-4
5.32.1-4+deb11u1
5.32.1-4+deb11u2
5.32.1-4+deb11u3
5.32.1-4+deb11u4
5.32.1-5
5.32.1-6
5.34.0~rc2-1
5.34.0-1
5.34.0-2
5.34.0-3
5.34.0-4
5.34.0-5
5.36.0-1
5.36.0-2
5.36.0-3
5.36.0-4
5.36.0-5
5.36.0-6
5.36.0-7
5.36.0-8
5.36.0-9
5.36.0-10
5.38.0~rc2-1
5.38.0-1
5.38.0-2
5.38.2-1
5.38.2-2
5.38.2-3
5.38.2-3.1
5.38.2-3.2
5.38.2-3.2+hurd.1
5.38.2-4
5.38.2-5
5.40.0~rc1-1
5.40.0-1
5.40.0-2
5.40.0-3
5.40.0-4
5.40.0-5
5.40.0-6
5.40.0-7
5.40.0-8
5.40.1-1
5.40.1-2
5.40.1-3
5.40.1-4
5.40.1-5
5.40.1-6
5.42.0-1
5.42.0-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / perl

Package

Name
perl
Purl
pkg:deb/debian/perl?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.36.0-7+deb12u3

Affected versions

5.*

5.36.0-7
5.36.0-7+deb12u1
5.36.0-7+deb12u2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / perl

Package

Name
perl
Purl
pkg:deb/debian/perl?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.40.1-5

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:14 / perl

Package

Name
perl
Purl
pkg:deb/debian/perl?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.40.1-5

Ecosystem specific

{
    "urgency": "not yet assigned"
}