VDB
EN

GO-2026-6172

Backend frame lengths cause pre-validation memory exhaustion in github.com/lib/pq

상세

github.com/lib/pq allocates the backend-declared PostgreSQL frame payload before applying a protocol length bound or a phase-specific message-type check. A malicious server or active network attacker on an unauthenticated connection can send frame headers declaring multi-gigabyte or invalid-phase payloads, forcing large allocations that lead to memory exhaustion and runtime out-of-memory crashes.

이 버전이 영향받나요?

사용 중인 패키지 버전을 입력하면 즉시 평가합니다.

영향 패키지

Go / github.com/lib/pq
최초 영향 버전: 1.0.0

No fixed version published yet for github.com/lib/pq (go modules). Pin to a known-safe version or switch to an alternative.

참고