Vulnerability record · CVE-2009-0323 · published 28 January 2009
CVE-2009-0323: W3C Amaya stack buffer overflows via crafted HTML/XML input
WW3 · Amaya
W3C Amaya 10.0 and 11.0 contain multiple stack-based buffer overflows in its HTML/XML parsing code, including the EndOfXmlAttributeValue and ProcessStartGI functions and the msgBuffer variable in html2thot.c and xml2thot.c. A remote attacker can trigger them with a crafted document containing an oversized type parameter in an input tag or a malformed start tag, leading to memory corruption. The flaw matters because it is remotely reachable and can result in arbitrary code execution in the context of the user running the browser.
Description
Multiple stack-based buffer overflows in W3C Amaya Web Browser 10.0 and 11.0 allow remote attackers to execute arbitrary code via (1) a long type parameter in an input tag, which is not properly handled by the EndOfXmlAttributeValue function; (2) an "HTML GI" in a start tag, which is not properly handled by the ProcessStartGI function; and unspecified vectors in (3) html2thot.c and (4) xml2thot.c, related to the msgBuffer variable. NOTE: these are different vectors than CVE-2008-6005.
AV:N/AC:L/Au:N/C:C/I:C/A:C
Automated analysis
high priorityRemote, unauthenticated code execution with public exploit code and very high EPSS, though it requires user interaction and affects an old, likely uncommon browser.
What it is
W3C Amaya 10.0 and 11.0 contain multiple stack-based buffer overflows in its HTML/XML parsing code, including the EndOfXmlAttributeValue and ProcessStartGI functions and the msgBuffer variable in html2thot.c and xml2thot.c. A remote attacker can trigger them with a crafted document containing an oversized type parameter in an input tag or a malformed start tag, leading to memory corruption. The flaw matters because it is remotely reachable and can result in arbitrary code execution in the context of the user running the browser.
Impact
An attacker who gets a victim to open a malicious page or document can corrupt the stack and potentially execute arbitrary code with the victim's privileges. A crash or denial of service is also possible.
Attack surface
The vector is network-reachable with no authentication and no privileges required (AV:N/AC:L/Au:N). Exploitation requires the victim to load attacker-controlled HTML or XML content in Amaya, so some form of user interaction is needed despite the description not stating it explicitly.
Exploitation
No CISA KEV listing, but EPSS is 0.6249 (99th percentile) and references are tagged Exploit, with public exploit code on Exploit-DB and Core Security advisories, indicating public exploitation techniques exist.
What to do
- Upgrade to a patched or current Amaya release, or retire Amaya if no supported fix exists.
- Restrict or block untrusted HTML/XML files from being opened in Amaya, and avoid using it as a default handler for web content.
- Run Amaya with least privilege and in a sandbox or isolated environment to limit the impact of code execution.
- Apply OS-level exploit mitigations (ASLR, DEP) and keep the host patched to raise exploitation difficulty.
Detection
- Monitor for Amaya process crashes or abnormal termination when opening HTML/XML files.
- Inspect network or file-transfer logs for HTML/XML content containing unusually long type attributes in input tags or malformed start tags.
- Watch for child processes spawned by Amaya, which would indicate successful code execution.
- Use endpoint detection to flag stack corruption or exploit-like behavior in the Amaya process.
This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
Track CVE-2009-0323 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2009-0323), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.