Numerical simulation of the spherical shock pulse propagation in aqueous foam with volumetric liquid fraction of 0.0083 has been carried out in accordance with the published experimental data on the explosion of HE in aqueous foam. The assumption is used that the foam structure is destroyed by the shock wave, which leads to the transformation of the foam into a monodisperse gas-droplet mixture. The system of equations for the two-phase gas-droplet model of aqueous foam includes the laws of conservation of mass, momentum, energy for each phase and the equation for the dynamics of the volumetric liquid fraction in a single-pressure, two-velocity, two-temperature approximations in a three-dimensional formulation and takes into account the forces of the Schiller-Naumann interfacial drag, the Ranz-Marshall interphase contact heat exchange and the effect of foam syneresis on the initial distribution of its volumetric liquid fraction. Realistic equations of state in the form of Peng-Robinson and Mie-Gruneisen are used to describe the thermodynamic properties of air and water that make up a gas-droplet mixture. Numerical modeling of the processes under consideration was carried out in the open software of computational fluid dynamics OpenFOAM using the finite volume method based on the iterative two-step PIMPLE algorithm. The analysis of the effect of foam syneresis on the dynamics of shock pulse in aqueous foam is given. It was found that the uneven distribution of the liquid fraction in the foam, caused by its sedimentation under the gravity, leads to the increase in the shock pulse velocity in upper layers of the foam. In comparative analysis of numerical solutions and experimental data at sensor locations, the importance of taking into account syneresis phenomena in modeling the dynamics of shock wave in aqueous foam is shown. The reliability of calculations obtained by the proposed model is confirmed by their agreement with experimental data.