Buried pipelines are widely used, so it is necessary to analyze and study their fracture characteristics. The locations of corrosion defects on the pipe are more susceptible to fracture under the influence of internal pressure generated during material transportation. In the open literature, a large number of studies have been conducted on the failure pressure or residual strength of corroded pipelines. On this basis, this study conducts a fracture analysis on buried pipelines with corrosion areas under seismic loads. The extended finite element method was used to model and analyze the buried pipeline under seismic load, and it was found that the stress value at the crack tip was maximum when the circumferential angle of the crack was near 5° in the corrosion area. The changes in the stress field at the crack tip in the corrosion zone of the pipeline under different loads were compared. Based on the BP algorithm, a neural network model that can predict the stress field at the pipe crack tip is established. The neural network is trained using numerical model data, and a prediction model with a prediction error of less than 10% is constructed. The crack tip characteristics were further studied using the BP neural network model, and it was determined that the tip stress fluctuation range is between 450 MPa and 500 MPa. The neural network model is optimized based on the GA algorithm, which solves the problem of convergence difficulties and improves the prediction accuracy. According to the prediction results, it is found that when the internal pressure increases, the corrosion depth will significantly affect the crack tip stress field. The maximum error of the optimized neural network is 5.32%. The calculation data of the optimized neural network model were compared with the calculation data of other models, and it was determined that GA-BPNN has better adaptability in this research problem.