Home / Mariadb / Mariadb / CVE-2013-1861
CVE-2013-1861: is it exploited, and which versions of Mariadb are affected and fixed?
CVE-2013-1861 is a memory corruption (buffer overflow) vulnerability in Mariadb. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:08 UTC). Affected: mariadb from 5.5.0 before 5.5.32, mariadb from 10.0.0 before 10.0.4, mysql from 5.1.0 through 5.1.69 and 15 more (NVD). Fixed in 5.5.32 and 10.0.4 (NVD). Severity: Medium (5.0, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:08 UTC, CVE record November 19, 2026, 07:20 UTC and NVD November 19, 2026, 08:48 UTC.
What is CVE-2013-1861?
MariaDB 5.5.x before 5.5.30, 5.3.x before 5.3.13, 5.2.x before 5.2.15, and 5.1.x before 5.1.68, and Oracle MySQL 5.1.69 and earlier, 5.5.31 and earlier, and 5.6.11 and earlier allows remote attackers to cause a denial of service (crash) via a crafted geometry feature that specifies a large number of points, which is not properly handled when processing the binary representation of this feature, related to a numeric calculation error.
From the CVE record by redhat, last updated August 6, 2024, 15:20 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| mariadb | mariadb | from 5.5.0 before 5.5.32 | application |
| mariadb | mariadb | from 10.0.0 before 10.0.4 | application |
| oracle | mysql | from 5.1.0 through 5.1.69 | application |
| oracle | mysql | from 5.5.0 through 5.5.31 | application |
| oracle | mysql | from 5.6.0 through 5.6.11 | application |
| redhat | enterprise linux | 5 | operating system |
| redhat | enterprise linux | 6.0 | operating system |
| debian | debian linux | 7.0 | operating system |
| canonical | ubuntu linux | 10.04 | operating system |
| canonical | ubuntu linux | 12.04 | operating system |
| canonical | ubuntu linux | 12.10 | operating system |
| canonical | ubuntu linux | 13.04 | operating system |
| opensuse | opensuse | 11.4 | operating system |
| opensuse | opensuse | 12.2 | operating system |
| opensuse | opensuse | 12.3 | operating system |
| suse | linux enterprise desktop | 11 | operating system |
| suse | linux enterprise server | 11 | operating system |
| suse | linux enterprise software development kit | 11 | operating system |
NVD analysis (status Modified), last modified June 16, 2026, 23:52 UTC.
How severe is CVE-2013-1861?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2013-1861 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 18.8% probability of exploitation activity in the next 30 days, percentile 97.4 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Where are the vendor advisories and references?
- 54300 third-party-advisory, x_refsource_SECUNIA
- DSA-2818 vendor-advisory, x_refsource_DEBIAN
- [oss-security] 20130513 CVE-2013-1861 for MySQL/MariaDB: geometry query crashes mysqld mailing-list, x_refsource_MLIST
- http://www.oracle.com/technetwork/topics/security/cpujuly2013-1899826.html x_refsource_CONFIRM
- mysql-mariadb-cve20131861-dos(82895) vdb-entry, x_refsource_XF
- https://mariadb.atlassian.net/browse/MDEV-4252 x_refsource_CONFIRM
- 52639 third-party-advisory, x_refsource_SECUNIA
- openSUSE-SU-2013:1335 vendor-advisory, x_refsource_SUSE
- 58511 vdb-entry, x_refsource_BID
- USN-1909-1 vendor-advisory, x_refsource_UBUNTU
- SUSE-SU-2013:1390 vendor-advisory, x_refsource_SUSE
- [Commits] 20130305 Rev 3682: TODO-424 geometry query crashes server. in file:///home/hf/wmar/todo-424/ mailing-list, x_refsource_MLIST
- openSUSE-SU-2013:1410 vendor-advisory, x_refsource_SUSE
- 91415 vdb-entry, x_refsource_OSVDB
- https://bugzilla.redhat.com/show_bug.cgi?id=919247 x_refsource_MISC
- SUSE-SU-2013:1529 vendor-advisory, x_refsource_SUSE
- GLSA-201409-04 vendor-advisory, x_refsource_GENTOO
When was it published, and where is the official record?
- Reserved
- February 19, 2013
- Published
- March 28, 2013, 23:00 UTC
- CVE record updated
- August 6, 2024, 15:20 UTC by redhat
- NVD
- Modified, last modified June 16, 2026, 23:52 UTC
- Last checked
- CVE list November 19, 2026, 07:20 UTC; NVD November 19, 2026, 08:48 UTC; KEV December 3, 2026, 10:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Mariadb?
- Apr 3, 2026CVE-2026-35549 MariaDB: memory Allocation with Excessive Size Value
- Dec 23, 2025CVE-2025-13699 MariaDB: path traversal (reading or writing files outside the intended folder)
- Mar 8, 2025CVE-2023-52971 MariaDB: insecure Automated Optimizations
- Mar 8, 2025CVE-2023-52970 MariaDB: insecure Automated Optimizations
- Mar 8, 2025CVE-2023-52969 MariaDB: insecure Automated Optimizations
- Mar 8, 2025CVE-2023-52968 MariaDB: incorrect Behavior Order
- Oct 17, 2024CVE-2024-27766 Mariadb: code injection (remote code execution) disputed
- Oct 17, 2024CVE-2023-39593 Mariadb: code injection (remote code execution) disputed
Questions about CVE-2013-1861
Is CVE-2013-1861 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:08 UTC. FIRST's EPSS gives it a 18.8% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Mariadb are affected by CVE-2013-1861?
mariadb from 5.5.0 before 5.5.32, mariadb from 10.0.0 before 10.0.4, mysql from 5.1.0 through 5.1.69, mysql from 5.5.0 through 5.5.31, mysql from 5.6.0 through 5.6.11, enterprise linux 5 and 12 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2013-1861?
5.5.32 and 10.0.4, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2013-1861?
Medium (5.0, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2013-1861?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.