Bug 2590267 - CVE-2026-139877 sgx-pccs: mysql2 before 3.25.0 SQL Injection via Placeholder Escaping under NO_BACKSLASH_ESCAPES [fedora-all]
Summary: CVE-2026-139877 sgx-pccs: mysql2 before 3.25.0 SQL Injection via Placeholder ...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: sgx-pccs
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Daniel Berrangé
QA Contact:
URL:
Whiteboard: {"flaws": ["b5825390-c609-4fb1-8e3b-6...
Depends On:
Blocks: CVE-2026-139877
TreeView+ depends on / blocked
 
Reported: 2026-12-03 17:39 UTC by jinczhan
Modified: 2026-12-03 17:39 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description jinczhan 2026-12-03 17:39:04 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

mysql2 before 3.25.0 contains an sql injection vulnerability in Connection.format() and Connection.escape() because quotes are always backslash-escaped regardless of session SQL mode. When NO_BACKSLASH_ESCAPES is enabled, attackers can pass crafted values through ? placeholders in connection.query() to close string literals and append SQL, disclosing or modifying data.


Note You need to log in before you can comment on or make changes to this bug.