And IMDb says:
Cube - 1997 : Six different people, each from a very different walk of life, awaken to find themselves inside a giant cube with thousands of possible rooms. Each has a skill that becomes clear when they must band together to get out: a cop, a math whiz, a building designer, a doctor, an escape master, and a disabled man. Each plays a part in their thrilling quest to find answers as to why they've been imprisoned.
Cube 2: Hypercube - 2002 :
Eight strangers find themselves waking up in a strange cube-shaped room with no recollection of how they came to be there. Soon discovering that they're in a strange fourth dimension where our laws of physics don't apply, they have to unravel the secrets of the "hypercube" in order to survive...
Evens out around 2000! How do I know these things...
-Tsuji