Please Note: The Term "Yayin Nesech - Wine of Idolatry" in the Talmud sometimes Refers to Wine of Uncertain Status - Stam Yayin. [For example, see Pesachim 30b, where "Yayin Nesech" is referred to as a Rabbinic Prohibition.] I have tried to clarify matters wherever possible.
The Rabbinic Prohibition: Pesachim 30b
Prohibition is of benefit as well as consumption: Bava Metzia 24b
Open and Sealed Barrels in a town invaded by tax-collecting soldiers: Ketuvot 27a
Above case, during wartime and various other time-pressed circumstances: Ketuvot 27a; Niddah 13a
Using Wine which was sealed with a single seal: Shabbat 122a