The exponential increase in sharing images on digital platforms, including in areas such as military, medical, and financial applications, and the potential risks of unauthorized access and manipulation, highlights the urgent need for effective and secure image encryption. This paper introduces Convolutional Neural Network and Hyperchaotic System-based Image Encryption (CNNHSIE), a new high-speed, reliable, and secure scheme for image encryption. CNNHSIE is based on the hyperchaotic system to generate a random matrix, as well as a novel high-speed permutation technique called HSPT and a dynamic pixel diffusion technique called DPDT. Additionally, the proposed technique incorporates convolutional neural networks to improve security and efficiency. The VGG16 model is used to compute the public key based on the features extracted from the plain image. The CNNHSIE was thoroughly evaluated using various analysis techniques on the USC-SIPI database and other public datasets from sources including Radiopaedia and Kaggle. It is characterized by high key sensitivity, the ability to resist various attacks and high performance. For the “Male" image 1024 × 1024, CNNHSIE achieves, a UACI value of 33.4809