The linear and nonlinear propagation of ultrarelativistic and nonrelativistic analysis on modified ion-acoustic (MIA) waves in a strongly coupled unmagnetized collisionless relativistic space plasma system is carried out. Plasma system is assumed to contain strongly coupled nonrelativistic ion fluids, both nonrelativistic and ultrarelativistic degenerate electron and positron fluids, and positively charged static heavy elements. The restoring force is provided by the degenerate pressure of the electron and positron fluids, whereas the inertia is provided by the mass of ions. The positively charged static heavy elements participate only in maintaining the quasineutrality condition at equilibrium. The well-known reductive perturbation method is used to derive the Burgers and Korteweg–de Vries equations. Their shock and solitary wave solutions are numerically analyzed to understand the localized electrostatic disturbances. The basic characteristics of MIA shock and solitary waves are found to be significantly modified by the effects of degenerate pressures of electron, positron, and ion fluids, their number densities, and various charge state of heavy elements. The implications of our results to dense plasmas in compact astrophysical objects (e.g., nonrotating white dwarfs, neutron stars, etc.) are briefly discussed.