Description
SQL injection vulnerability in authpgsqllib.c in Courier-Authlib before 0.62.0, when a non-Latin locale Postgres database is used, allows remote attackers to execute arbitrary SQL commands via query parameters containing apostrophes.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | courier-authlib | 0.61.0-1+lenny1 | — |
| Debian 13 | courier-authlib | 0.61.0-1+lenny1 | — |
| Debian 12 | courier-authlib | 0.61.0-1+lenny1 | — |
| Debian 5.0 | courier-authlib | 0.61.0-1+lenny1 | DTSA-180-1 |
| Debian 4.0 | courier-authlib | 0.58-4+etch2 | DSA-1688-1 |
Advisories 2
- DSA-1688-1 courier-authlib - SQL injection Debian Security (DSA / DLA) · Mar 9, 2026
- DTSA-180-1 courier-authlib - sql injection Debian Security (DSA / DLA) · Mar 9, 2026
References
- 33235 third-party-advisory
- 32926 vdb-entry
- courier-library-postgres-sql-injection(47494) vdb-entry
- http://www.courier-mta.org/authlib/changelog.html
- 34234 third-party-advisory
- 50811 vdb-entry
- GLSA-200903-25 vendor-advisory