Star Trek: Voyager, season 2, episode 17
Dreadnought
Summary
A highly advanced Cardassian AI missile that had been reprogrammed by B'Elanna Torres is found in the Delta Quadrant, and its damaged programming could destroy Voyager and a planet.
Summary from Wikipedia, CC BY-SA 4.0.
Find out more
These links open the services in a new tab with the question pre-filled; the AI assistants may ask you to sign in. Their answers can contain errors.