Can I use STL in a Third Party DLL?

I have a third party DLL that makes heavy use of shared_ptrs and std::vector
Is it safe to use this dll as a third party plugin? I already know it causes heap corruption upon deallocations if I use it directly in my project, but looking for a way to avoid this by using a third party module setup/hide behind a c style interface?