Security Advisories (1)
CVE-2025-30672 (2025-04-01)

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.

NAME

Mite::Compiled - The extra class file written by Mite.

SYNOPSIS

use Mite::Compiled;
my $compiled = Mite::Compiled->new( source => $source );

DESCRIPTION

NO USER SERVICABLE PARTS INSIDE. This is a private class.

Represents the extra file written by Mite containing the compiled code.

There is a one-to-one mapping between a source file and a compiled file, but there can be many Mite classes in one file. Mite::Compiled manages the compliation and ensures classes don't write over each other.

SEE ALSO

Mite::Source, Mite::Class, Mite::Project