Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-27304

published critical CVSS 3.1 · 9.8

pgx SQL Injection via Protocol Message Size Overflow

Published
06 Mar 2024, 19:07:08 UTC
Updated
12 Dec 2024, 20:52:24 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
jackc — pgx< 4.18.2 · >= 5.0.0, < 5.5.4 Affected Not stated GitHub_M
jackc — pgx0 to < 4.18.2 · Other versions: unknown Affected Not stated CISA-ADP
jackc — pgx5.0.0 to < 5.5.4 · Other versions: unknown Affected Not stated CISA-ADP

Description

pgx is a PostgreSQL driver and toolkit for Go. SQL injection can occur if an attacker can cause a single query or bind message to exceed 4 GB in size. An integer overflow in the calculated message size can cause the one large message to be sent as multiple messages under the attacker's control. The problem is resolved in v4.18.2 and v5.5.4. As a workaround, reject user input large enough to cause a single query or bind message to exceed 4 GB in size.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
9.8 / 10
Severity
critical
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
jackc pgx < 4.18.2 (affected)>= 5.0.0, < 5.5.4 (affected) GitHub_M · cna
jackc pgx 0 to < 4.18.2 (affected · custom)Default: unknown CISA-ADP · adp
jackc pgx 5.0.0 to < 5.5.4 (affected · custom)Default: unknown CISA-ADP · adp

Weaknesses

2
  • CWE-89 CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') (GitHub_M · cna)
  • CWE-190 CWE-190: Integer Overflow or Wraparound (GitHub_M · cna)

References

7

Provider assertions

3

GitHub_M · cna

pgx SQL Injection via Protocol Message Size Overflow

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
4cac13fe1fc25a0e4ef8c4eba5577e1077bde63ab44f1007fa817c99f1889110
Ingested
23 Sep 2026, 08:20:47 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected