A Canadian woman has pleaded guilty to stabbing her boyfriend, nearly killing him, in a botched sex game in which he asked her to carve a heart-shaped symbol on his chest.

Catherine McCoubrey, 25, was sentenced to three years' probation for the February 2007 assault, said the daily Winnipeg Free Press.

The couple had been drinking alcohol and were engaged in "rough sex'' when the boyfriend egged her on, said the paper. She agreed, but accidentally pressed the knife too deep.

The 24-year-old victim was rushed to hospital with a puncture wound to his heart and was not expected to live, but has since recovered.

Click here for more from News.com.au.