The bug fix comes days after Google fixed a similar vulnerability under attack in its Chrome browser.