{"id":"CVE-2026-56872","aliases":["GO-2026-6171"],"title":"Malformed RowDescription and DataRow messages cause panics in github.com/lib/pq","summary":"Malformed RowDescription and DataRow messages cause panics in github.com/lib/pq","severity":"none","vendor":"lib","product":"github.com/lib/pq","ecosystem":"go","affected":["github.com/lib/pq >= 1.0.0"],"published":"2026-08-18","updated":"2026-08-18","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GO-2026-6171","references":[{"url":"https://github.com/golang/vulndb/issues/6171"}],"tags":["osv","go"],"ingestedAt":"2026-08-18T19:21:39.131Z","slug":"CVE-2026-56872","body":"## Overview\n\ngithub.com/lib/pq decodes attacker-controlled RowDescription and DataRow payloads without validating their structural relationship or encoded value widths required by binary decoders. A malicious PostgreSQL endpoint or active network attacker on an unauthenticated transport can send malformed row responses, causing unrecovered runtime panics while reading query results.\n\n## Affected packages\n\n- `github.com/lib/pq >= 1.0.0`\n\n## Remediation\n\nRefer to the advisory for the patched release.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}