# GO-2024-2567 - Panic in Pipeline when PgConn is busy or closed in github.com/jackc/pgx

Source: https://junglewise.ai/threats/go-2024-2567-panic-in-pipeline-when-pgconn-is-busy-or-closed-in-github-8819cd3b  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-07-02  
License: CC BY 4.0 with a link back

Severity: info · Published 2024-07-02

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

Technologies: [github.com/jackc/pgx/v5 (Go)](https://junglewise.ai/threats/technologies/github-com-jackc-pgx-v5). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is This vulnerability exploited in the wild?** No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.

**How severe is This vulnerability?** Informational severity, published 2 July 2024.

**Which products and versions are affected?** github.com/jackc/pgx/v5 (Go) SEMVER:introduced=5.0.0-alpha.5,fixed=5.5.2.

**Is there a fix for This vulnerability?** Yes. github.com/jackc/pgx/v5 (Go): upgrade to 5.5.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected?** Check whether you run github.com/jackc/pgx/v5 (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/jackc/pgx/v5 (Go): upgrade to 5.5.2 or later

  ```sh
  go get github.com/jackc/pgx/v5@v5.5.2
  ```


## Affected products

- github.com/jackc/pgx/v5 (Go) SEMVER:introduced=5.0.0-alpha.5,fixed=5.5.2

## Related threats

- [jackc pgx SQL injection in simple protocol sanitizer](https://junglewise.ai/threats/cve-2026-41889-jackc-pgx-sql-injection-in-simple-protocol-sanitizer)
- [jackc pgx memory safety vulnerability in pgproto3](https://junglewise.ai/threats/cve-2026-33816-jackc-pgx-memory-safety-vulnerability-in-pgproto3)
- [Jackc pgx memory-safety vulnerability in pgproto3](https://junglewise.ai/threats/cve-2026-33815-jackc-pgx-memory-safety-vulnerability-in-pgproto3)
- [Panic in Pipeline when PgConn is busy or closed in github.com/jackc/pgx](https://junglewise.ai/threats/panic-in-pipeline-when-pgconn-is-busy-or-closed-in-github-com-jackc-pgx-b06ba063)
- [GO-2024-2606 - SQL injection in github.com/jackc/pgproto3 and github.com/jackc/pgx](https://junglewise.ai/threats/cve-2024-27304-pgproto3-sql-injection-via-protocol-message-size-overflow)
