CVE-2004-0366: SQL injection vulnerability in the libpam-pgsql library before 0.5.2 allows attackers to execute arbitrary SQL
CVE-2004-0366 is a high-severity flaw (CVSS 7.5) affecting pam-pgsql. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
SQL injection vulnerability in the libpam-pgsql library before 0.5.2 allows attackers to execute arbitrary SQL statements.
Why this priority
- High severity
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.5 (High) |
| EPSS exploit chance | 1.5% (top 26%) |
| CISA exploited list | No |
| Weakness | CWE-89 |
| Published | 2004-05-04 |
| Last modified | 2026-06-16 |
Last updated 2026-06-16 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2004-0366?
pam-pgsql: upgrade to 0.5.2. Exact commands for each OS are on this page.
Is CVE-2004-0366 being exploited?
CVE-2004-0366 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2004-0366 affect?
CVE-2004-0366 affects pam-pgsql. Severity is high (CVSS 7.5). SQL injection vulnerability in the libpam-pgsql library before 0.5.2 allows attackers to execute arbitrary SQL statements.
How urgent is CVE-2004-0366?
Priority 45/100. High severity
Related CVEs
- CVE-2003-0672 HIGH 7.5 DOWNGRADE Format string vulnerability in pam-pgsql 0.5.2 and earlier allows remote attackers to execute arbitrary code v
- CVE-2001-1369 HIGH 7.5 DOWNGRADE Leon J Breedt pam-pgsql before 0.5.2 allows remote attackers to execute arbitrary SQL code and bypass authenti