Mozilla has issued a security release that patches 12 vulnerabilities in its Firefox 3 browser, four of which were rated as 'critical'.

The four critical vulnerabilities - two in the Firefox browser engine, two in its JavaScript engine - were patched by a single multi-fix update that Mozilla, as is its practice, said might be exploitable.

"Some of these crashes showed evidence of memory corruption under certain circumstances and we presume that with enough effort at least some of these could be exploited to run arbitrary code," the text said in the accompanying security advisory.

The patch comes just days before Mozilla hopes to roll out the newest beta of its next open-source browser, Firefox 3.5.

Of the remaining flaws fixed, two were listed as 'high', two were rated 'moderate' and four 'low' in Mozilla's four-step ranking system. It's the most vulnerabilities Mozilla has patched since November 2008, when it quashed 11 bugs.

These patches prevent prevent rogue search plug-ins from sending users to malicious websites and block attackers from using Adobe Flash to conduct cross-site forgery request attacks or secretly plant cookie-like objects on a machine to track the user's movements on the web.

Mozilla addressed several non-security bugs in the update as well, including a database corruption problem that deleted cookies and an issue with displaying inline images on some web-based services, including AOL's email and instant messaging services.

Firefox 3.0.9 may not be the only update Mozilla unveils this week; the company is still planning on releasing Firefox 3.5 Beta 4 by the end of the week, according to posted meeting notes.

That schedule may slip, however, as Mozilla developers have yet to declare a 'code freeze' - a milestone that means all the bugs that will be fixed have been. There are currently seven bugs that must be resolved before the beta can move into internal testing prior to actual release.

Mozilla said that a code freeze for Firefox 3.5 Beta 4 was "day-by-day." Beta 4 has already slipped from an earlier schedule that said it would ship by April 14.
Firefox 3.5, formerly known as 3.1 was conceived as a 'fast track' upgrade last year, and was originally intended to launch in late 2008. But the browser's progress has been repeatedly delayed, either to add new features, as was done last fall, or to deal with troublesome bugs.

As a result, Mozilla has had to rework 3.5's schedule several times. Beta 3, the most recent update to Firefox 3.5, shipped March 12.

Firefox 3.0.9 can be downloaded for Windows, Mac OS X and Linux from the Mozilla site. Current users can also call up their browser's built-in updater, or wait for the automatic update notification, which should pop up in the next 48 hours.