We measured the density of vibrational states (DOS) and the specific heat of various glassy and crystalline polymorphs of SiO2. The typical (ambient) glass shows a well-known excess of specific heat relative to the typical crystal (α-quartz). This, however, holds when comparing a lower-density glass to a higherdensity crystal. For glassy and crystalline polymorphs with matched densities, the DOS of the glass appears as the smoothed counterpart of the DOS of the corresponding crystal; it reveals the same number of the excess states relative to the Debye model, the same number of all states in the low-energy region, and it provides the same specific heat. This shows that glasses have higher specific heat than crystals not due to disorder, but because the typical glass has lower density than the typical crystal.