CVE-2005-0227 in Postgresql
PostgreSQL (pgsql) 7.4.x, 7.2.x, and other versions allows local users to load arbitrary shared libraries and execute code via the LOAD extension.
Affects 1 product from 1 vendor. Facts below cite their sources.
Requires local access, low complexity.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Postgresql | Postgresql | ≥ 7.3.0, < 7.3.9 ≥ 7.4, < 7.4.7 ≥ 8.0, < 8.0.1 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
PostgreSQL (pgsql) 7.4.x, 7.2.x, and other versions allows local users to load arbitrary shared libraries and execute code via the LOAD extension.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2005-0227 |
|---|---|
| BreachSpider ID | BS-2005-GLOBAL-006579-M |
| CVSS vector | AV:L/AC:L/Au:S/C:P/I:P/A:P |
| Published | 2005-05-02 |
| Last modified | 2026-06-16 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-94: Code Injection
Attacker injects arbitrary code that is executed by the application process.
Related attack patterns (CAPEC)
CAPEC-35 Leverage Executable Code in Non-Executable Files via CWE-94
CAPEC-77 Manipulating User-Controlled Variables via CWE-94
CAPEC-242 Code Injection via CWE-94
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2005. A medium severity vulnerability affects Postgresql systems (CVE-2005-0227). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: PostgreSQL (pgsql) 7.4.x, 7.2.x, and other versions allows local users to load arbitrary shared libraries and execute code via the LOAD extension. CVSS vector: AV:L/AC:L/Au:S/C:P/I:P/A:P.
Questions
What is CVE-2005-0227?
This vulnerability was disclosed in 2005. A medium severity vulnerability affects Postgresql systems (CVE-2005-0227). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2005-0227?
CVE-2005-0227 has CVSS 4.3 (Medium). Vector: AV:L/AC:L/Au:S/C:P/I:P/A:P. EPSS: 0.5%.
Is CVE-2005-0227 actively exploited?
No confirmed active exploitation of CVE-2005-0227 as of 2026-09-25.
How do I remediate CVE-2005-0227?
Priority: MONITOR. Advisory: http://archives.postgresql.org/pgsql-announce/2005-02/msg00000.php PSIRT: [email protected]
What systems are affected by CVE-2005-0227?
CVE-2005-0227 affects Postgresql Postgresql.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Postgresql","product":"Postgresql","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.