Description
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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 7 | mysql-5.5 | 5.5.33+dfsg-0+wheezy1 | DSA-2818-1 |
| Debian 6.0 | mysql-5.1 | 5.1.72-2 | DSA-2780-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 6 | mysql +7 | 5.1.71-1.el6 | RHBA-2013:1647 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- MySQL / MariaDB - Geometry Query Denial of Service EDB-38392 · dos · Mar 7, 2013 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 3
- RHBA-2013:1647 Red Hat Bug Fix Advisory: mysql bug fix update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- DSA-2780-1 mysql-5.1 - several Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-2818-1 mysql-5.5 - several Debian Security (DSA / DLA) · Mar 9, 2026
References
- 54300 third-party-advisory
- DSA-2818 vendor-advisory
- [oss-security] 20130513 CVE-2013-1861 for MySQL/MariaDB: geometry query crashes mysqld mailing-list
- http://www.oracle.com/technetwork/topics/security/cpujuly2013-1899826.html
- mysql-mariadb-cve20131861-dos(82895) vdb-entry
- https://mariadb.atlassian.net/browse/MDEV-4252
- 52639 third-party-advisory
- openSUSE-SU-2013:1335 vendor-advisory
- 58511 vdb-entry
- USN-1909-1 vendor-advisory
- SUSE-SU-2013:1390 vendor-advisory
- [Commits] 20130305 Rev 3682: TODO-424 geometry query crashes server. in file:///home/hf/wmar/todo-424/ mailing-list
- openSUSE-SU-2013:1410 vendor-advisory
- 91415 vdb-entry
- https://bugzilla.redhat.com/show_bug.cgi?id=919247
- SUSE-SU-2013:1529 vendor-advisory
- GLSA-201409-04 vendor-advisory