Greening's score was the third of four unanswered goals for the Senators, who had spotted the Panthers an early 2-0 lead.
Craig Anderson earned the triumph with 30 saves.
Brian Campbell and Jonathan Huberdeau each scored for the Panthers, who tumbled to their fifth loss in six contests.
Tim Thomas stopped 42-of-46 shots.
Millions of Getty images now available for free via embed tool
NBC reportedly holds celebs hostage to Jimmy Fallon's show