The present invention provides novel compounds, corresponding to formulae I and II, respectively, which are able to reactivate the apoptosis-inducing function of mutant p53 proteins. This reactivation is provided by restoration of sequence-specific DNA-binding activity and transcriptional transactivation function to mutant p53 proteins, and modulation of the conformation-dependent epitopes of the p53 protein. Accordingly, the substances according to the invention will be used in pharmaceutical compositions and methods for treatment of patients suffering from various types of tumors.