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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 | — |