Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/jackc/pgproto3/v2
  4. ›
  5. CVE-2026-4427

CVE-2026-4427: Duplicate Advisory: pgproto3: Negative field length panics in DataRow.Decode

March 19, 2026 (updated March 30, 2026)

Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-jqcq-xjh3-6g23. This link is maintained to preserve external references.

Original Description

A flaw was found in pgproto3. A malicious or compromised PostgreSQL server can exploit this by sending a DataRow message with a negative field length. This input validation vulnerability can lead to a denial of service (DoS) due to a slice bounds out of range panic.

References

  • access.redhat.com/security/cve/CVE-2026-4427
  • bugzilla.redhat.com/show_bug.cgi?id=2448626
  • github.com/advisories/GHSA-x6gf-mpr2-68h6
  • github.com/golang/vulndb/issues/4518
  • github.com/jackc/pgproto3
  • github.com/jackc/pgx/issues/2507
  • nvd.nist.gov/vuln/detail/CVE-2026-4427
  • securityinfinity.com/research/memory-safety-vulnerabilities-in-go-postgresql-wire-protocol-parsers-pgproto3-pgx

Code Behaviors & Features

Detect and mitigate CVE-2026-4427 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 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/CVE-2026-4427.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:40 +0000.