github.com/jackc/pgx/v5 vulnerabilities

Registry
Go
Latest
5.13.0

10 known advisories

The latest version, 5.13.0, is not affected by any of them. Projects on older versions may be.

Update to the latest version:go get github.com/jackc/pgx/v5@v5.13.0

Is your project on an affected github.com/jackc/pgx/v5?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Security advisories for github.com/jackc/pgx/v5

  • LowCVE-2026-41889GO-2026-500422 Jun 2026

    SQL Injection via placeholder confusion with dollar quoted string literals in github.com/jackc/pgx

    Affected
    <5.9.2
    Fixed in
    5.9.2
  • LowCVE-2026-41889GHSA-j88v-2chj-qfwx22 Apr 2026

    pgx: SQL Injection via placeholder confusion with dollar quoted string literals

    Affected
    <5.9.2
    Fixed in
    5.9.2
  • CriticalCVE-2026-33816GHSA-9jj7-4m8r-rfcm7 Apr 2026

    Memory-safety vulnerability in github.com/jackc/pgx/v5.

    Affected
    <5.9.0
    Fixed in
    5.9.0
  • CriticalCVE-2026-33815GHSA-xgrm-4fwx-7qm87 Apr 2026

    pgx contains memory-safety vulnerability

    Affected
    <5.9.0
    Fixed in
    5.9.0
  • LowCVE-2026-33815GO-2026-47717 Apr 2026

    CVE-2026-33815 in github.com/jackc/pgx

    Affected
    <5.9.0
    Fixed in
    5.9.0
  • LowCVE-2026-33816GO-2026-47727 Apr 2026

    CVE-2026-33816 in github.com/jackc/pgx

    Affected
    <5.9.0
    Fixed in
    5.9.0
  • MediumGHSA-fqpg-rq76-99pq5 Jul 2024

    Panic in Pipeline when PgConn is busy or closed in github.com/jackc/pgx

    Affected
    <5.5.2
    Fixed in
    5.5.2
  • LowGO-2024-25672 Jul 2024

    Panic in Pipeline when PgConn is busy or closed in github.com/jackc/pgx

    Affected
    >=5.0.0-alpha.5 <5.5.2
    Fixed in
    5.5.2
  • LowCVE-2024-27304GO-2024-260614 Mar 2024

    SQL injection in github.com/jackc/pgproto3 and github.com/jackc/pgx

    Affected
    >=5.0.0 <5.5.4
    Fixed in
    5.5.4
  • HighCVE-2024-27304GHSA-mrww-27vc-gghv4 Mar 2024

    pgx SQL Injection via Protocol Message Size Overflow

    Affected
    >=5.0.0 <5.5.4
    Fixed in
    5.5.4

Is your github.com/jackc/pgx/v5 version vulnerable?

Which of your client projects still run an old github.com/jackc/pgx/v5?

NPMscan reads the go.mod in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other Go packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the Go registry.