Spanish inflation in October remained at 4.9 percent, its highest level since February 2023, official data showed Friday, one month before an election in which the cost of living will be a major issue.