Yellow peach moth (Conogethes punctiferalis (Guenée), (Lepidoptera: Crambidae), YPM) and maize ear rot are important pests and diseases of maize (Zea mays L., (Poales: Poaceae)). In recent years, YPM has become the most destructive maize pest in the Huang-Huai-Hai summer maize region of China via the tunneling of larvae into maize ears. Interestingly, YPM infestation aggravates the occurrence of maize ear rot and causes heavier yield loss of maize in the field. However, few studies report whether maize ear rot would also affect the behavior of YPM. Here, we identified the effects of maize ear rot caused by four different fungi on maize ears’ volatile organic compounds (VOCs) and the cascading effects on the behavior of YPM. The current results found that mated YPM females showed a preference for mock-inoculated maize ears (MIM) or mechanically damaged maize ears (MDM) but showed repellence to Penicillium oxalicum (Eurotiales: Aspergillaceae)-infected maize ears (POM), Trichoderma asperellum (Hypocreales: Hypocreaceae)-infected maize ears (TAM), Aspergillus phoenicis (Eurotiales: Aspergillaceae)-infected maize ears (APM), Aspergillus flavus (Eurotiales: Aspergillaceae)-infected maize ears (AFM) in the oviposition selection and four-arm olfactometer experiments, indicating that VOCs emitting from fungi-infected maize ears were all repellent to mated YPM females. Further analyses showed that 57 VOCs were identified from all treatments. The partial least squares discriminant analysis (PLS-DA) displayed a separation between TAM, APM, AFM and POM, MDM, and MIM, with 24.3% and 19.1% explanation rates of the first two PLS components. Moreover, the relative quantities of eight common VOCs from different treatments were lower, and the other three common VOCs were higher in fungi-infected maize ears than those in MIM or MDM. There were also 17 unique VOCs in fungi-infected maize ears. In conclusion, these results suggested that maize ear rot negatively affected the behavior of YPM by changing both components and proportions of maize ears’ VOCs. These behavior-modifying VOCs may form the basis for the development of attractant or repellent formulations for YPM’s management in the future.