A vaporizer for the sterilization of containers, includes a housing, a first opening arranged in the housing for supplying a gaseous medium to the housing, an injection device for injecting into the housing a substance which contains hydrogen peroxide (H2O2). A heating device is arranged inside the housing for vaporizing the hydrogen peroxide, and a second opening is arranged in the housing for discharging a mixture of the gaseous medium and the vaporized hydrogen peroxide from the housing. The injection device extends in a longitudinal direction perpendicular to a plane of the heating device and the first opening is adjoined by a pipe section which extends at least partially in a longitudinal direction (L) of the injection device, wherein the injection device runs at least partially inside the pipe section.