Skip to content
OpenAdvisories
Medium · 6.5 CVE-2025-30673 EUVD-2025-9134GHSA-hhc7-9jf4-whgx

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

Published Apr 1, 2025 · Updated Apr 1, 2025 · Assigned by CPANSec

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 products

VendorProductAffectedFixed
TOBYINK Sub::HandlesVia < 0.050002 0.050002

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libsub-handlesvia-perl 0.050002-1 —
Debian 13 libsub-handlesvia-perl 0.050002-1 —
Debian 12 libsub-handlesvia-perl 0.050000-1+deb12u1 —
ReleasePackageFixed inAdvisory
Ubuntu 25.10 libsub-handlesvia-perl No fix yet —
Ubuntu 24.04 LTS libsub-handlesvia-perl No fix yet —
Ubuntu 22.04 LTS libsub-handlesvia-perl No fix yet —

References