When somebody in early position makes a pot committing raise followed by someone else shoving, I think it's very likely that at least one of them has KK or AA. However, you also have to consider what types of players these are, if they're maniacs then they might be doing this with something like 44 or A6s. I have limited experience, so take it with a grain of salt, but assuming that the other two players are playing reasonably well and if I had to make a decision like this for my whole stack in this situation I think I would fold it pretty quickly.
My thought is this; if in a tournament two other players are willing to put their entire stacks or close to it on the line, and I don't have AA, I'm definitely getting out of the way. In your situation, if the cutoff loses, he's crippled with 3BB. If the original raiser loses, he's out. Either way, your
equity goes up and at no risk to you. This is why they say you can make money in tournament poker by folding, when two other big stacks are willing to knock each other out and you ladder up just by sitting there and watching.
QQ is a good hand HU, but in a 3-way pot when your tournament life is on the line, it becomes a lot weaker. If you were up against AKo and JJ, for example, you would actually be an underdog (46.6% to 53.3%) to those two hands combined because any A or K on the board would end your tournament, as would another J.