Mozilla Firefox before 20.0 and SeaMonkey before 2.17 when gfx.color_management.enablev4 is used do not properly handle color profiles during PNG rendering which allows remote attackers to obtain sensitive information from process memory or cause a denial of service (memory corruption) via a grayscale PNG image.