The classic self-similar solutions of the nonstationary compressible Euler equations obtained for a blast-wave propagation (Sedov, Taylor, and von Neumann), a shock-wave implosion (Guderley, Landau, and Stanyukovich), or an impulsive loading of a planar target (von Hoerner, Häfele, and Zel'dovich) have all been derived for a polytropic ideal gas. None of them can be generalized for a fluid with an arbitrary equation of state (EOS), such as the van der Waals EOS of a non-ideal-gas or a three-term EOS of a condensed material. We demonstrate here that the Noh accretion-shock problem is an exception. Its self-similar solutions exist in cylindrical and spherical geometry for fluids and materials with an arbitrary EOS. Such solutions for finite accretion-shock strength and nonuniform inflow velocity are constructed semianalytically with a model three-term equation of state that includes cold, thermal ion (lattice), and thermal electron contributions to the pressure and internal energy. Examples are presented for aluminum and copper. Other material- and EOS-specific semianalytic solutions of the Noh problem can be easily constructed using the same method for any material that in the pressure range of interest can be approximated as a dissipation-free fluid with an arbitrary equation of state.