CVE-2025-30672Mite for Perl generates code with an untrusted search path vulnerability
Mite for Perl before 0.013000 generates code with the current working directory ('.') added to the @INC path 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. This affects the Mite distribution itself, and other distributions that contain code generated by Mite.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by CPANSec, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- TOBYINK Mite: affected: before 0.013000; fixed in
0.013000
Solution: Version 0.013000 of Mite was released to address the issue. Users should update to the latest version, and regenerate the Mite files for any projects using the distribution.
Vendor advisories:
- https://metacpan.org/release/TOBYINK/Mite-0.013000/changes (release-notes)
References
- https://metacpan.org/release/TOBYINK/Mite-0.013000/changes
- https://wiki.gentoo.org/wiki/Project:Perl/Dot-In-INC-Removal
- https://perldoc.perl.org/perlrun#PERL_USE_UNSAFE_INC
- https://blogs.perl.org/users/todd_rinaldo/2016/11/what-happened-to-dot-in-inc.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.