The secondary users (SUs) in cognitive radio networks (CRNs) can obtain reliable spectrum sensing information of the primary user (PU) channel using cooperative spectrum sensing (CSS). Multiple SUs share their sensing observations in the CSS system to tackle fading and shadowing conditions. The presence of malicious users (MUs) may pose threats to the performance of CSS due to the reporting of falsified sensing data to the fusion center (FC). Different categories of MUs, such as always yes, always no, always opposite, and random opposite, are widely investigated by researchers. To this end, this paper proposes a hybrid boosted tree algorithm (HBTA)-based solution that combines the differential evolution (DE) and boosted tree algorithm (BTA) to mitigate the effects of MUs in the CSS systems, leading to reliable sensing results. An optimized threshold and coefficient vector, determined against the SUs employing DE, is utilized to train the BTA. The BTA is a robust ensembling machine learning (ML) technique gaining attention in spectrum sensing operations. To show the effectiveness of the proposed scheme, extensive simulations are performed at different levels of signal-to-noise-ratios (SNRs) and with different sensing samples, iteration levels, and population sizes. The simulation results show that more reliable spectrum decisions can be achieved compared to the individual utilization of DE and BTA schemes. Furthermore, the obtained results show the minimum sensing error to be exhibited by the proposed HBTA employing a DE-based solution to train the BTA. Additionally, the proposed scheme is compared with several other CSS schemes such as simple DE, simple BTA, maximum gain combination (MGC), particle swarm optimization (PSO), genetic algorithm (GA), and K-nearest neighbor (KNN) algorithm-based soft decision fusion (SDF) schemes to validate its effectiveness.