Updated

There really is something about Mary.

Accused “cannibal cop” Gilberto Valle told a shrink that his descent into sexual deviancy began after watching Cameron Diaz’s big-screen debut when he was a kid, The Post reports.

Valle, 28, admitted he gets aroused “when imagining women being abducted and bound by others,” and tied it to Diaz’s supporting role in the hit 1994 Jim Carrey comedy “The Mask,” which he saw during his “early adolescence.”

The “pattern of arousal appears to have originated with a scene in the movie, ‘The Mask,’ in which Cameron Diaz pretends to be abducted and bound,” Valle’s defense lawyers wrote.

In the flick, Diaz — later nomimated for a Golden Globe for her starring role in “There’s Something About Mary” — gets trailed by two goons and chased into an alley where she’s confronted by villain Dorian Tyrell, played by Peter Green.

More On This...

Clad in a revealing long black dress, Diaz, playing love interest Tina Carlyle, gets roughly pushed against a wall by Tyrell before being forced into his limo and taken to a casino for the film’s climactic scene.

There, she’s tied to a coconut tree and a ticking time bomb is placed at her feet. Her arms are strung up over her head and her legs are wrapped to the tree with duct tape, before she’s rescued by Carrey’s character, Stanley Ipkiss, a k a “The Mask.”

Valle’s Manhattan federal court filing — which was unsealed following a legal challenge by The Post — also says he discovered Internet porn in high school “and was particularly interested in bondage websites.”

But his taste for “cannibalism pornography” didn’t develop until his sophomore year of college, when he found some hard-core DVDs that belonged to one of his roommates.

Reps for Diaz and Carrey didn’t respond to requests for comment.

Go to The Post for the full report.