Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/jackc/pgproto3/v2
  4. ›
  5. GHSA-jqcq-xjh3-6g23

GHSA-jqcq-xjh3-6g23: Denial of service in github.com/jackc/pgproto3/v2

March 18, 2026

The DataRow.Decode function fails to properly validate field lengths. A malicious or compromised PostgreSQL server can send a DataRow message with a negative field length, causing a slice bounds out of range panic.

References

  • github.com/advisories/GHSA-jqcq-xjh3-6g23
  • github.com/golang/vulndb/issues/4518
  • github.com/jackc/pgproto3
  • github.com/jackc/pgx/issues/2507
  • securityinfinity.com/research/memory-safety-vulnerabilities-in-go-postgresql-wire-protocol-parsers-pgproto3-pgx

Code Behaviors & Features

Detect and mitigate GHSA-jqcq-xjh3-6g23 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 2.0.0 up to 2.3.3

Solution

Unfortunately, there is no solution available yet.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-129: Improper Validation of Array Index

Source file

go/github.com/jackc/pgproto3/v2/GHSA-jqcq-xjh3-6g23.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:01 +0000.