Vulnerability · Published Apr 1, 2025 · Assigned by CPANSec

CVE-2025-30673Sub::HandlesVia for Perl allows untrusted code to be included from the current working directory

Medium 6.5

In plain English

A medium-severity uncontrolled search path in Sub::HandlesVia from TOBYINK. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 37% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)0.4%top 62.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

Sub::HandlesVia for Perl before 0.050002 allows untrusted code from the current working directory ('.') to be loaded similar to CVE-2016-1238. If an attacker can place a malicious file in current working directory, it may be loaded instead of the intended file, potentially leading to arbitrary code execution. Sub::HandlesVia uses Mite to produce the affected code section due to CVE-2025-30672

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12libsub-handlesvia-perl0.050000-1+deb12u1DEBIAN-CVE-2025-30673
Debian:13libsub-handlesvia-perl0.050002-1DEBIAN-CVE-2025-30673
Debian:14libsub-handlesvia-perl0.050002-1DEBIAN-CVE-2025-30673
Ubuntu:22.04:LTSlibsub-handlesvia-perlno fix listedUBUNTU-CVE-2025-30673
Ubuntu:24.04:LTSlibsub-handlesvia-perlno fix listedUBUNTU-CVE-2025-30673
Ubuntu:25.10libsub-handlesvia-perlno fix listedUBUNTU-CVE-2025-30673

Affected products (as reported)

VendorProductVersions
TOBYINK Sub::HandlesVia 0 – before 0.050002

Weakness: CWE-427 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

References