The present invention relates to a pharmaceutical composition consisting of amides of mono- and dicarboxylic acids and hydroxystilbenes, and may be used for the treatment of pathologies caused, sustained and/or characterised by an abnormal general response of the immune system, in both humans and animals.