Skip to content
Noroxi
CVE-2012-5612· NVD / CVE Program· CNA redhat

Heap-based buffer overflow in Oracle MySQL 5.5.19 and other versions through 5.5.28, and MariaDB 5.5.28a and possibly other versions, allows

Heap-based buffer overflow in Oracle MySQL 5.5.19 and other versions through 5.5.28, and MariaDB 5.5.28a and possibly other versions, allows remote authenticated users to cause a denial of service (memory corruption and crash) and possibly execute arbitrary code, as demonstrated using certain variations of the (1) USE, (2) SHOW TABLES, (3) DESCRIBE, (4) SHOW FIELDS FROM, (5) SHOW COLUMNS FROM, (6) SHOW INDEX FROM, (7) CREATE TABLE, (8) DROP TABLE, (9) ALTER TABLE, (10) DELETE FROM, (11) UPDATE, and (12) SET PASSWORD commands.

MediumCVSS 6.5 · v2.0—Proof of concept Fix available
Published
Dec 3, 2012
Updated
Jun 16, 2026
EPSS
20.8% · 97th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

32

Monitor

Low priority for now.

CVSS
26 / 40 · 6.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
6 / 30 · 20.8%

Affected systems

VendorProduct
mariadbmariadb
oraclemysql
suselinux enterprise desktop
suselinux enterprise server
suselinux enterprise software development kit
canonicalubuntu linux

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • oracle mysql5.5.0 and later · up to 5.5.28 inclusive

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
openSUSE:Tumbleweedmariadbbefore 10.0.22-3.810.0.22-3.8
SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSSmariadb104before 10.4.30-150100.3.5.1010.4.30-150100.3.5.10
SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSSpython-mysqlclientbefore 1.4.6-150100.3.3.71.4.6-150100.3.3.7
SUSE:Linux Enterprise Software Development Kit 12 SP5lz4before 1.8.0-3.5.21.8.0-3.5.2
SUSE:Linux Enterprise Software Development Kit 12 SP5mariadb-connector-cbefore 3.1.22-2.35.13.1.22-2.35.1
SUSE:Linux Enterprise Software Development Kit 12 SP5mariadb104before 10.4.30-8.5.4610.4.30-8.5.46
SUSE:Linux Enterprise Software Development Kit 12 SP5python-mysqlclientbefore 1.3.14-8.9.21.3.14-8.9.2

Other highest-scoring records for the same primary product.

  • CVE-2026-49261MariaDB server has unsafe parameter handling in `wsrep_notify_cmd`
    40Plan
  • CVE-2023-26785MariaDB v10.5 was discovered to contain a remote code execution (RCE) vulnerability via UDF Code in a Shared Object File, followed by a "cre
    40Plan
  • CVE-2021-27928A remote code execution issue was discovered in MariaDB 10.2 before 10.2.37, 10.3 before 10.3.28, 10.4 before 10.4.18, and 10.5 before 10.5.
    40Plan
  • CVE-2026-32710Heap-based Buffer Overflow in MariaDB
    39Monitor
  • CVE-2020-15180A flaw was found in the mysql-wsrep component of mariadb.
    38Monitor
  • CVE-2017-15365sql/event_data_objects.cc in MariaDB before 10.1.30 and 10.2.x before 10.2.10 and Percona XtraDB Cluster before 5.6.37-26.21-3 and 5.7.x bef
    36Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
opensuse:mariadb10.0.22-3.8 · openSUSE:TumbleweedPackage registry (OSV)
suse:lz41.8.0-3.5.2 · SUSE:Linux Enterprise Software Development Kit 12 SP5Package registry (OSV)
suse:mariadb-connector-c3.1.22-2.35.1 · SUSE:Linux Enterprise Software Development Kit 12 SP5Package registry (OSV)
suse:mariadb10410.4.30-150100.3.5.10 · SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSSPackage registry (OSV)
suse:python-mysqlclient1.4.6-150100.3.3.7 · SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSSPackage registry (OSV)

Exploit status

Proof of concept available

A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.

Evidence

  • Exploit-DB entry ×1

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Exploit-DB entrydos2012-12-02

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

  1. First PoC-1 d
  2. Published
  3. TodaySep 30, 2026+5049 d
EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

The product’s vendor appears in a public program. Matched by name; verify the scope text in the program.

Technical details

Attack conditions

  • No special conditions are required; it is repeatable.

If successful

Confidentiality
P · data can be read
Integrity
P · data or configuration can be modified
Availability
P · the service can be disrupted
Attack complexity
Low
Confidentiality impact
P
Integrity impact
P
Availability impact
P

Weakness class (CWE)

CWE-787 · Out-of-bounds Write

CVSS vector

AV:N/AC:L/Au:S/C:P/I:P/A:P

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records