Magnolia Pictures has acquired all U.S. rights to Alex Gibney’s “Zero Days,” apart from pay TV rights, which have been picked up by Showtime.

Participant Media’s documentary feature film makes its world premiere this week at the Berlin Film Festival in competition. FilmNation Entertainment is handling international sales.

“Zero Days” is a documentary thriller about cyber warfare. It tells the story of Stuxnet, a self-replicating computer malware that the U.S. and Israel unleashed to destroy a key part of an Iranian nuclear facility, and which ultimately spread beyond its intended target.

It was written and directed by Gibney, who won an Academy Award for “Taxi to the Dark Side.”

Magnolia will release “Zero Days” theatrically in the late summer, followed by the film’s television debut on Showtime.

The film is produced by Gibney’s Jigsaw Productions and Global Produce’s Marc Shmuger, and executive produced by Jeff Skoll and Diane Weyermann of Participant Media and Sarah Dowland.