It's possible that you might be misremembering or misinterpreting information. The idea that X-rays might travel faster than light is a misconception that has been debunked.
If you can provide more context about where you heard this information, I might be able to help clarify the source of the misunderstanding.