The Protestant Bible gives the second commandment as referring to images. But the Catholic Catechism gives it as referring to taking the name of God in vain, omitting the references to images.

The Catholic Answers

Even the Protestant Bible does not give the second commandment as referring to images, though Protestants are usually taught that those words in the first commandment which refer to images constitute a second commandment.

Radio Replies Volume 1 by Rev. Dr. Leslie Rumble MSC and Rev. Charles Mortimer Carty