A thermoplastic molding composition comprising A) from 10 to 94% by weight of a polyamide, B) from 1 to 30% by weight of an impact modifier made of a copolymer I of B 1) from 35 to 89.9% by weight of ethylene B 2) from 10 to 60% by weight of 1-octene or 1-butene or propylene or a mixture of these and B 3) from 0.05 to 5% by weight of functional monomers, where the functional monomers have been selected from the group of the carboxylic acid groups, carboxylic anhydride groups, carboxylic ester groups, carboxamide groups, carboximide groups, amino groups, hydroxy groups, epoxy groups, urethane groups and oxazoline groups and mixtures of these, or made of a copolymer II of B 1) from 50 to 98% by weight of ethylene B 4) from 2 to 50% by weight of acrylic acid or methacrylic acid or (meth)acrylate having from 1 to 18 carbon atoms, or B 5) from 0 to 20% by weight of functional monomers selected from the group of the carboxylic anhydride groups and epoxy groups and mixtures of these, or a mixture of these, C) from 0.1 to 10% by weight of a copolymer of C 1) from 50 to 95% by weight of styrene or substituted styrenes of the general formula I or a mixture of these in which R is an alkyl radical having from 1 to 8 carbon atoms or a hydrogen atom and R 1 is an alkyl radical having from 1 to 8 carbon atoms and n has the value 0, 1, 2, or 3, and C 2) from 5 to 50% by weight of structural units derived from one or more dicarboxylic anhydrides, D) from 0.001 to 20% by weight of iron powder, E) from 0.05 to 3% by weight of a copper-containing stabilizer, F) from 100 ppm to 5% by weight of alkali metal salts or alkaline earth metal salts of oxo acids of phosphorus or a mixture of these, G) from 0 to 2% by weight of a polyethyleneimine homo- or copolymer, H) from 0 to 60% by weight of further additives, where the total of the percentages by weight of A) to H) is 100%. A) from 10 to 94% by weight of a polyamide, B) from 1 to 30% by weight of an impact modifier made of a copolymer I of B 1) from 35 to 89.9% by weight of ethylene B 2) from 10 to 60% by weight of 1-octene or 1-butene or propylene or a mixture of these and B 3) from 0.05 to 5% by weight of functional monomers, where the functional monomers have been selected from the group of the carboxylic acid groups, carboxylic anhydride groups, carboxylic ester groups, carboxamide groups, carboximide groups, amino groups, hydroxy groups, epoxy groups, urethane groups and oxazoline groups and mixtures of these, or made of a copolymer II of B 1) from 50 to 98% by weight of ethylene B 4) from 2 to 50% by weight of acrylic acid or methacrylic acid or (meth)acrylate having from 1 to 18 carbon atoms, or B 5) from 0 to 20% by weight of functional monomers selected from the group of the carboxylic anhydride groups and epoxy groups and mixtures of these, or a mixture of these, B 1) from 35 to 89.9% by weight of ethylene B 2) from 10 to 60% by weight of 1-octene or 1-butene or propylene or a mixture of these and B 3) from 0.05 to 5% by weight of functional monomers, where the functional monomers have been selected from the group of the carboxylic acid groups, carboxylic anhydride groups, carboxylic ester groups, carboxamide groups, carboximide groups, amino groups, hydroxy groups, epoxy groups, urethane groups and oxazoline groups and mixtures of these, B 1) from 50 to 98% by weight of ethylene B 4) from 2 to 50% by weight of acrylic acid or methacrylic acid or (meth)acrylate having from 1 to 18 carbon atoms, or B 5) from 0 to 20% by weight of functional monomers selected from the group of the carboxylic anhydride groups and epoxy groups and mixtures of these, C) from 0.1 to 10% by weight of a copolymer of C 1) from 50 to 95% by weight of styrene or substituted styrenes of the general formula I or a mixture of these in which R is an alkyl radical having from 1 to 8 carbon atoms or a hydrogen atom and R 1 is an alkyl radical having from 1 to 8 carbon atoms and n has the value 0, 1, 2, or 3, and C 2) from 5 to 50% by weight of structural units derived from one or more dicarboxylic anhydrides, C 1) from 50 to 95% by weight of styrene or substituted styrenes of the general formula I or a mixture of these in which R is an alkyl radical having from 1 to 8 carbon atoms or a hydrogen atom and R 1 is an alkyl radical having from 1 to 8 carbon atoms and n has the value 0, 1, 2, or 3, and C 2) from 5 to 50% by weight of structural units derived from one or more dicarboxylic anhydrides, D) from 0.001 to 20% by weight of iron powder, E) from 0.05 to 3% by weight of a copper-containing stabilizer, F) from 100 ppm to 5% by weight of alkali metal salts or alkaline earth metal salts of oxo acids of phosphorus or a mixture of these, G) from 0 to 2% by weight of a polyethyleneimine homo- or copolymer, H) from 0 to 60% by weight of further additives,