To bundle third-party dependencies with the source code for one's own program.
I distributed my application with a vendored copy of Perl so that it wouldn't use the system copies of Perl where it is installed.
As the software vendor, to bundle one's own, possibly modified version of dependencies with a standard program.
Strawberry Perl contains vendored copies of some CPAN modules, designed to allow them to run on Windows.