Car jerked back and suddenly accelerated without warning as driver had foot on brake and was slowly pulling into parking spot. Car hit wall of parking garage causing front end damage. Parking collision warning did not sound at any point. Car was going 1-2 MPH and was 5 feet from end of parking spot when incident occurred. Sudden acceleration when driver has foot on brake can cause injury to driver, passengers or others in the path of the car. No hazards in parking garage were present that could have caused accident, which was witnessed by driver's work colleague. No police report filed. Incident was reported to Subaru, which ran diagnostic and could not replicate issue. No warning messages were present prior to the incident. It appears there are 2 current class action lawsuits filed against Subaru reporting similar issues with 2018 Outback. I am unsure what component failed to cause this issue; car is available for inspection on request.