On July 13,2022, while easing into a parking slot with foot on the pedal brake, with final stop and reaching to shift gear into parking mode, my 2019 Crosstrek engine suddenly accelerated and made the car surge forward. My brake pedal was on the floor with no response and the car continued to shoot pass the curb and sidewalk onto a vegetation embankment, heading towards the building and its glass door. I was terrified as the car did not respond to braking and tried to shift into neutral but the shift gear was struggling, until the car got stopped by the vegetation bank and continued to rev loudly, but then allowed me to shift into neutral. There was no warning of any sort when the phenomenon took place. When the tow truck arrived, tow personnel turned on the engine and tried the brakes pedal which went straight to the floor, with no pressure response. What was terrifying was the car engine suddenly accelerated forward and would not stop until the car was stopped by the dirt and vegetation. Without the vegetation, my car would have plowed into the building and the tall glass windows. The front of my car was damaged. It is now in a body shop. My car was bought brand new, has been serviced regularly by the dealership that I ordered it from. The last maintenance was March 2022, for a 24k service, with all in good operation. It currently has 25K miles. In the aftermath, I researched the web for info, and I found out that there is a current class action suit against Subaru