CVE-2004-1774: Buffer Overflow in Oracle 10g MD2 SDO_CODE_SIZE Procedure
- Vendor
- Oracle Corporation
A buffer overflow vulnerability exists in the SDO_CODE_SIZE procedure of the MD2 package (MDSYS.MD2.SDO_CODE_SIZE) in Oracle 10g prior to version 10.1.0.2 Patch 2. The vulnerability is triggered by passing an overly long LAYER parameter, which can lead to memory corruption and potentially allow the execution of arbitrary code.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows local users to execute arbitrary code with the privileges of the Oracle process, potentially leading to full compromise of the database server.
Mitigation
If you can’t patch tonight, do this now.
Restrict local access to the database server and limit execution privileges on the vulnerable procedure to trusted users only until the patch can be applied.
Remediation
Patch, then assume compromise.
Upgrade to Oracle 10g version 10.1.0.2 Patch 2 or later, where this vulnerability has been addressed.
Exploits
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2004-1774 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2004-1774 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2004-1774?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2004-1774.
- Is there a patch for CVE-2004-1774?
- Upgrade to Oracle 10g version 10.1.0.2 Patch 2 or later, where this vulnerability has been addressed.
- What products are affected by CVE-2004-1774?
- Oracle Corporation Application Server and Oracle Corporation Oracle10g.
- How severe is CVE-2004-1774?
- CVE-2004-1774 has a CVSS v2 score of 7.2 (High) and an EPSS score of 2.7% (86th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.