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-2026-62151

published medium CVSS 4.0 · 5.8

mysql_fdw SQL injection through a multi-byte character set escaping bypass

Published
25 Nov 2026, 16:36:21 UTC
Updated
25 Nov 2026, 17:20:35 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
EnterpriseDB — MySQL Foreign Data Wrapper (mysql_fdw)0 to < 2.10.0 · Other versions: unaffected Affected Not stated EDB
Alpine Linux edge postgresql-mysql_fdw Fixed 2.10.0-r0 Package fix record

Description

mysql_fdw builds string literals for queries sent to the remote MySQL server with an escaping routine that is not character-set aware. When the connection uses a multi-byte character set such as GBK, SJIS or Big5 and MySQL's default backslash escaping is in effect, a crafted value whose trailing byte is 0x5C absorbs the escaping backslash and leaves the following quote unescaped. The routine handles every pushed-down string constant, including ordinary WHERE-clause literals, so an authenticated user with only SELECT on a foreign table can break out of the literal and run arbitrary SQL on the remote MySQL server with the credentials of the user mapping. The issue is fixed in mysql_fdw 2.10.0. From mysql_fdw 2.10.0, mysql_fdw forces NO_BACKSLASH_ESCAPES into the session sql_mode and escapes string literals by doubling single quotes.

en · EDB · cna

Vendor advisories explicitly linked to this CVE.

1

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
5.8 / 10
Severity
medium
Provider
EDB · cna
Vector string
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
EnterpriseDB MySQL Foreign Data Wrapper (mysql_fdw) 0 to < 2.10.0 (affected · custom)Default: unaffected EDB · cna

Weaknesses

1
  • CWE-89 CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') (EDB · cna)

References

2

Provider assertions

2

EDB · cna

mysql_fdw SQL injection through a multi-byte character set escaping bypass

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
a74d3688d5eebbedea60ff55467a0245386667d16f716473322f17a282a80f50
Ingested
25 Nov 2026, 17:29:39 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