# github.com/jackc/pgx/v5 (Go) vulnerabilities

4 known vulnerabilities (3 critical, 1 low), with the versions each affects and the releases that fix them.

## At a glance

- Latest release: v5.12.0 (Oct 31, 2026): no advisory affects it
- Newest unaffected release: v5.12.0 (Oct 31, 2026), the latest release
- Releases: 45 since v5.0.0 (Sep 17, 2022)
- Registry: https://pkg.go.dev/github.com/jackc/pgx/v5
- Releases read: Nov 8, 2026

## Version timeline

Affected versions per advisory, in version order:

- CVE-2026-41889: v5.0.0-alpha.1 to v5.9.1 (v5.9.2 is outside it)
- CVE-2026-33816: v5.0.0-alpha.1 to v5.8.0 (v5.9.0 is outside it)
- CVE-2026-33815: v5.0.0-alpha.1 to v5.8.0 (v5.9.0 is outside it)
- CVE-2024-27304: v5.0.0 to v5.5.3 (v5.5.4 is outside it)

## Advisories (4)

### [CVE-2026-41889](https://cve.now/CVE-2026-41889): pgx: SQL Injection via placeholder confusion with dollar quoted string literals

- Severity: Low 2.3
- Published: May 8, 2026
- Affected: fixed in 5.9.2.
- Fixed in v5.9.2 (released Apr 19, 2026, 19 days before disclosure).
- The latest release, v5.12.0, is not affected.

### [CVE-2026-33816](https://cve.now/CVE-2026-33816): CVE-2026-33816 in github.com/jackc/pgx

- Severity: Critical 9.8
- Published: Apr 7, 2026
- Affected: fixed in 5.9.0.
- Fixed in v5.9.0 (released Mar 21, 2026, 17 days before disclosure).
- The latest release, v5.12.0, is not affected.

### [CVE-2026-33815](https://cve.now/CVE-2026-33815): CVE-2026-33815 in github.com/jackc/pgx

- Severity: Critical 9.8
- Published: Apr 7, 2026
- Affected: fixed in 5.9.0.
- Fixed in v5.9.0 (released Mar 21, 2026, 17 days before disclosure).
- The latest release, v5.12.0, is not affected.

### [CVE-2024-27304](https://cve.now/CVE-2024-27304): pgx SQL Injection via Protocol Message Size Overflow

- Severity: Critical 9.8
- Published: Mar 6, 2024
- Affected: from 5.0.0, fixed in 5.5.4.
- Fixed in v5.5.4 (released Mar 4, 2024, 2 days before disclosure).
- The latest release, v5.12.0, is not affected.

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/go/github.com/jackc/pgx/v5
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.
