IMPORTANT NOTE: Doing this glitch also affects your save file (if you save after performing this glitch). Abnormal save files may damage your memory card, so proceed with caution. There have been no reported memory card corruptions from this as of yet, but given that this feature was probably not intentional, one may occur in the future. Attempt this glitch at your own risk.
In the original Crash Bandicoot and its sequel, Crash Bandicoot 2: Cortex Strikes Back, and in the Crash Bandicoot N. Sane Trilogy, there is a glitch which makes it possible to get 100 or more lives. The glitch is not present in Crash Bandicoot 3: Warped or any other games. The maximum possible amount of lives the player can have is 32,767.
How to do the Glitch
First, make sure to have 99 lives. Then get an extra life. Before the extra life mug touches the counter, the player must leave the level by using the pause menu or warping out of it. If done successfully, the player will end up with 100 lives. If performed incorrectly, the player will still have 99 lives. In the original Crash Bandicoot, due to the wider font used, it makes the counter go off-screen. If done multiple times, the player will gain more than 100 lives. However, if another life is collected without performing the glitch, the life counter will return to 99. This is more easily done in Castle Machinery's green gem path, where it is possible to finish the level without all of the lives being counted yet.
This glitch is also present in the Crash Bandicoot N. Sane Trilogy. However, in that game, collecting a life does not return the counter to 99, but instead simply keeps the counter the same.