Mozilla Firefox 117, Mozilla Firefox ESR 115.2.0, Mozilla Thunderbird 115.2 : When calling code JS::CheckRegExpSyntax a Syntax Error could have been set which would end in calling code convertToRuntimeErrorAndClear . A path in the function could attempt to allocate memory when none is available which would have caused a newly created Out of Memory exception to be mishandled as a Syntax Error.