The khtml::RenderTableSection::ensureRows function in KHTMLParser in Apple Mac OS X 10.4.3 and earlier, as used by Safari and TextEdit, allows remote attackers to cause a denial of service (memory consumption and application crash) via HTML files with a large ROWSPAN attribute in a TD tag.
Mac OS X and Mac OS X Server are vulnerable to a heap-based buffer overflow, caused by improper handling of certain HTML. By hosting a malicious Web site containing specially-crafted HTML, a remote attacker could overflow a buffer and execute arbitrary code on the system or cause the application to crash.