Catalyzes the hydrolysis of acyl-CoAs into free fatty acids and coenzyme A (CoASH), regulating their respective intracellular levels (PubMed:16940157). Functions as a peroxisomal succinyl-coenzyme A thioesterase that can also hydrolyze glutaryl-CoA and long chain saturated acyl-CoAs (PubMed:16940157). H2O + succinyl-CoA = CoA + H(+) + succinate glutaryl-CoA + H2O = CoA + glutarate + H(+) H2O + hexadecanoyl-CoA = CoA + H(+) + hexadecanoate (9Z)-octadecenoyl-CoA + H2O = (9Z)-octadecenoate + CoA + H(+) (9Z,12Z)-octadecadienoyl-CoA + H2O = (9Z,12Z)-octadecadienoate + CoA + H(+) (5Z,8Z,11Z,14Z)-eicosatetraenoyl-CoA + H2O = (5Z,8Z,11Z,14Z)-eicosatetraenoate + CoA + H(+) decanoyl-CoA + H2O = CoA + decanoate + H(+) dodecanoyl-CoA + H2O = CoA + dodecanoate + H(+) H2O + tetradecanoyl-CoA = CoA + H(+) + tetradecanoate H2O + octadecanoyl-CoA = CoA + H(+) + octadecanoate eicosanoyl-CoA + H2O = CoA + eicosanoate + H(+) Lipid metabolism; fatty acid biosynthesis. Strongest expression in liver and kidney and weaker expression in placenta, heart, and muscle. Compared to mouse peroxisomal succinyl-coenzyme A thioesterase/ACOT4, the human enzyme has a broad substrate specificity overlapping the activity of three mouse acyl-coenzyme A thioesterases, providing an explanation for the unexpectedly low number of acyl-coenzyme A thioesterase genes in the human genome. Belongs to the C/M/P thioester hydrolase family.