Updated

WARNING: PROFANE LANGUAGE ON LINKED AUDIO RECORDINGS AND TRANSCRIPTS.

Screenwriter Joe Eszterhas says he and his family were house guests of Mel Gibson in Costa Rica last December when the 'Mad Max' star went off on a blistering tirade, recorded on an iPhone by Eszterhas ' 15-year-old son Nick.

Eszterhas provided the audio recording to industry website The Wrap because: “Gibson called me a liar. And I also have some reason to believe he’s creating a PR blitz questioning my truthfulness.”

Eszterhas, who wrote the blockbuster "Basic Instinct," was writing a screenplay for Gibson for a film called "The Maccabees." The fact that the screenplay had not been completed seems to be one of the things that set Gibson off.

“Why don’t I have a first draft of 'The Maccabees'? What the f**k have you been doing?” he can be heard bellowing on the recording on The Wrap's website.

More On This...

And it gets worse. Gibson, 56, also screams about Oksana Grigorieva, his ex-girlfriend and mother of his young daughter.

“I am earning money for a filthy little c**ksucker who takes advantage of me!” Gibson rants.

PHOTOS: Gibson and Grigorieva in happier times.

Gibson and Eszterhas and have been involved in a heated back and forth over the past weeks, during which Eszterhas accused Gibson of making anti-Semitic remarks and threatening Grigorieva.

Eszterhas wrote a scathing, nine-page letter to Gibson in which he accused the actor of “hating Jews” and using “The Maccabees” film project – a story about Jewish heroism --  “in an attempt to deflect continuing charges of anti-Semitism which have dogged you, charges which have crippled your career.”

“I’ve come to the conclusion that the reason you won’t make ‘The Maccabees’ is the ugliest possible one. You hate Jews,” Eszterhas wrote.

“The Maccabees” project was put on hold by Warner Bros. studio, in part due to Eszterhas’ script, The Wrap reported.

Gibson has called several of Eszterhas' assertions "fabrications,” and may sue the writer. The actor is looking into whether Costa Rican laws were violated when he was secretly taped in his home, and if his privacy was violated by the release of the audio, TMZ reports.

Gibson should have a good grasp on the legalities regarding leaked recordings, as several violent and crude phone messages he left for his ex-girlfriend Oksana Grigorieva were released in 2010 and used against him in their custody battle over their infant daughter.

Eszterhaus says regardless of how his son’s recording relates to “The Macabees” film project, it shows Gibson is in bad shape, and possibly dangerous.

“The bottom line is it shows to me he badly needs help,” Eszterhas told TheWrap. “My interest isn’t to damage him with this tape but to prevent damage being done to others.... I strongly believe that unless he seeks and receives some kind of psychiatric help, someone is going to get hurt.”

Gibson has a long history making racist and anti-Semitic remarks. After a DUI arrest, Gibson exploded that “Jews are responsible for all the wars in the world.” In a voice mail to Grigorieva he said she would be to blame if she were to be “raped by a pack of n**gers.” Grigorieva was granted a restraining order during their custody battle over daughter Lucia.

Go to The Wrap to read a full transcript of the recording, and to hear the recording itself.