Convolutional Neural Networks (CNNs) are effective in zero-day detection by identifying complex spatial and temporal patterns within network traffic or malware code representations. Regularized CNNs, in particular, improve prediction quality with unknown data and prevent overfitting, achieving high accuracy in detecting various zero-day attacks.