No, an aftermarket air filter alone will not void your engine warranty, though confirm with your automaker. Any related failures provably due to the filter could be invalidated.