The preparation of amorphous solid dispersions (ASDs) represents a promising strategy for addressing the solubility limitations of poorly soluble drugs, facilitating enhanced absorption. Acidic polymers such as cellulose acetate phthalate (CAP) and hydroxypropyl methylcellulose phthalate (HPMCP) have emerged as effective carriers for ASDs. Although the hydrolytic degradation of these polymers has been documented, its impact on the stability of ASDs has not been systematically investigated. This research aimed to explore the potential hydrolysis of CAP and HPMCP and how it influences the stability of ASDs containing ketoconazole (KTZ), at drug loadings of 10 % and 50 %. Our study utilized thermal analysis, infrared spectroscopy, and evaluations of physical and chemical stability. The results revealed that although KTZ remained physically stable in all ASDs over a 60-day period under various stability conditions, the emergence of crystalline phthalic acid (PA), a byproduct of polymer hydrolysis, was observed at elevated temperatures and relative humidity levels. The acidic microenvironment fostered by the release of PA further catalyzed drug chemical degradation. This study underscores the susceptibility of CAP and HPMCP to hydrolytic degradation, highlighting the inherent risk of PA-induced drug degradation, particularly for acid-labile compounds. These insights into the understanding of polymer hydrolysis in ASDs pave the way for the development of targeted approaches to safeguard drug stability and optimize pharmaceutical formulations for enhanced bioavailability, efficacy, and safety.