GHSA-jqcq-xjh3-6g23

Suggest an improvement
Source
https://github.com/advisories/GHSA-jqcq-xjh3-6g23
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-jqcq-xjh3-6g23/GHSA-jqcq-xjh3-6g23.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-jqcq-xjh3-6g23
Aliases
Downstream
CGA (223)
MINI (30)
Published
2026-03-18T13:00:31Z
Modified
2026-09-10T03:51:00Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Denial of service in github.com/jackc/pgproto3/v2
Details

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.

Database specific
{
    "cwe_ids":  [
        "CWE-129"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-03-18T13:00:31Z",
    "nvd_published_at":  "2026-03-26T20:16:12Z",
    "severity":  "HIGH"
}
References

Affected packages

Go / github.com/jackc/pgproto3/v2

Package

Name
github.com/jackc/pgproto3/v2
View open source insights on deps.dev
Purl
pkg:golang/github.com/jackc/pgproto3/v2

Affected ranges

Type
SEMVER
Events
Introduced
2.0.0
Last Affected
2.3.3

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-jqcq-xjh3-6g23/GHSA-jqcq-xjh3-6g23.json"