The hosts went ahead when Smith headed in Youssouf M'Changama's cross. Liverpool skipper Luis Suarez was allowed to run at the Oldham defence as he squeezed in an equaliser. But Smith took advantage of keeper Brad Jones's error and Reece Wabara scored a delightful back-post header as Oldham restored their advantage although Joe Allen's volley ensured a tense finish.
Steven Gerrard, who was brought on from the substitutes bench with 35 minutes remaining in attempt to turn the game around, hit the bar as nerves frayed at a wet and windy Boundary Park. Smith's fragmented career Matt Smith had given up on professional football after being released by Cheltenham aged 18 and went on to gain a degree in International Management with American Studies from the University of Manchester. While studying he played for the likes of Redditch United, Droylsden and Solihull Moors - where he was spotted by Oldham.
Yet Paul Dickov's side held on for a superb win over the seven-times winners on a weekend when Football League sides have caused upsets on all three days of the fourth round. Oldham have been beset by financial problems in recent months, meaning manager Dickov has had to shed much of his coaching staff but his players produced a display which made a mockery of their lowly position in the third tier. It also completed a fantastic response to their 5-1 defeat by the five-times European champions in the FA Cup third round last season. Despite Gerrard's omission, Liverpool were not under-strength with Suarez, Daniel Sturridge, Fabio Borini and Raheem Sterling all starting in attack.
However, they were overshadowed in the opening exchanges by superb combination play between Smith and his strike partner Robbie Simpson, who bullied Liverpool centre-backs Sebastian Coates and Martin Skrtel. They made their mark, sometimes literally, and 23-year-old Smith showed his intentions as early as the third minute with a well-taken goal. Lee Croft mis-cued a shot from 20 yards but it found its way out to the left where M'Changama was given time to cross and Smith beat Coates to head in despite Skrtel's effort to clear off the line. The tie continued its ferocious start when Raheem Sterling scythed down M'Changama and Simpson followed in on Reds keeper Jones after he spilled a shot.
But as much as Oldham were on the front foot, they were also slow to retreat and they gave Suarez plenty of space to equalise when he ran from his own half and squeezed the ball in after playing an inadvertent one-two with Oldham defender Cliff Byrne. Sterling should have given Liverpool the lead before the half-hour mark when he breezed into the box but the 18-year-old shot straight at Latics keeper Dean Bouzanis.