Amazon is recalling one of their mattresses after it failed to meet mandatory federal flammability standards for mattresses and posing a fire hazard.

The recall is for the "AmazonBasics" Memory Foam Mattresses in both 10” and 12” sizes, according to the U.S. Consumer Product Safety Commission. Recalled mattresses were manufactured in twin, full, queen, king and California king sized. 

The mattresses are white with "AmazonBasics" printed on the foot panel and have a white federal label with “Amazon.com Services Inc.” printed on it.

Amazon said they are contacting all purchasers so they can send consumers a cover to place over the mattresses for free. The CPSA said the cover will bring the mattress into compliance with federal regulations.

So far there have been no reported injuries due to the mattresses being potential fire hazards.

There were about 15,300 recalled mattresses sold to consumers.