Skip to content
Noroxi
CVE-2010-3840· NVD / CVE Program· CNA mitre

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

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.

MediumCVSS 4.0 · v2.0—No exploit Fix available
Published
Jan 14, 2011
Updated
Jun 16, 2026
EPSS
3.4% · 88th percentile
CWE
—
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

17

Monitor

Low priority for now.

CVSS
16 / 40 · 4.0 / 10
CISA KEV
0 / 30 · Not listed
EPSS
1 / 30 · 3.4%

Affected systems

VendorProduct
mysqlmysql
oraclemysql

Using mysql? Add it to your stack and be the first to know about CVEs like this one. (MySQL)

Add to my stack

Affected versions

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

  • mysql mysql5.1.23
  • mysql mysql5.1.31
  • mysql mysql5.1.32
  • mysql mysql5.1.34
  • mysql mysql5.1.37
  • mysql mysql5.1.5
  • oracle mysql5.1
  • oracle mysql5.1.1
  • oracle mysql5.1.10
  • oracle mysql5.1.11
  • oracle mysql5.1.12
  • oracle mysql5.1.13
  • oracle mysql5.1.14
  • oracle mysql5.1.15
  • oracle mysql5.1.16
  • oracle mysql5.1.17
  • oracle mysql5.1.18
  • oracle mysql5.1.19
  • oracle mysql5.1.2
  • oracle mysql5.1.20

Package-level exposure

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

EcosystemPackageAffected rangeFix
Debian:5.0mysql-dfsg-5.0before 5.0.51a-24+lenny55.0.51a-24+lenny5
Red Hat:enterprise_linux:4::asmysqlbefore 0:4.1.22-2.el4_8.40:4.1.22-2.el4_8.4
Red Hat:enterprise_linux:4::asmysql-benchbefore 0:4.1.22-2.el4_8.40:4.1.22-2.el4_8.4
Red Hat:enterprise_linux:4::asmysql-debuginfobefore 0:4.1.22-2.el4_8.40:4.1.22-2.el4_8.4
Red Hat:enterprise_linux:4::asmysql-develbefore 0:4.1.22-2.el4_8.40:4.1.22-2.el4_8.4
Red Hat:enterprise_linux:4::asmysql-serverbefore 0:4.1.22-2.el4_8.40:4.1.22-2.el4_8.4
Red Hat:enterprise_linux:5::client_workstationmysqlbefore 0:5.0.77-4.el5_5.40:5.0.77-4.el5_5.4
Red Hat:enterprise_linux:5::client_workstationmysql-benchbefore 0:5.0.77-4.el5_5.40:5.0.77-4.el5_5.4
Red Hat:enterprise_linux:5::client_workstationmysql-debuginfobefore 0:5.0.77-4.el5_5.40:5.0.77-4.el5_5.4
Red Hat:enterprise_linux:5::client_workstationmysql-develbefore 0:5.0.77-4.el5_5.40:5.0.77-4.el5_5.4
Red Hat:enterprise_linux:5::client_workstationmysql-serverbefore 0:5.0.77-4.el5_5.40:5.0.77-4.el5_5.4
Red Hat:enterprise_linux:5::client_workstationmysql-testbefore 0:5.0.77-4.el5_5.40:5.0.77-4.el5_5.4
Red Hat:enterprise_linux:6::clientmysqlbefore 0:5.1.52-1.el6_0.10:5.1.52-1.el6_0.1
Red Hat:enterprise_linux:6::clientmysql-benchbefore 0:5.1.52-1.el6_0.10:5.1.52-1.el6_0.1
Red Hat:enterprise_linux:6::clientmysql-debuginfobefore 0:5.1.52-1.el6_0.10:5.1.52-1.el6_0.1
Red Hat:enterprise_linux:6::clientmysql-develbefore 0:5.1.52-1.el6_0.10:5.1.52-1.el6_0.1
Red Hat:enterprise_linux:6::clientmysql-embeddedbefore 0:5.1.52-1.el6_0.10:5.1.52-1.el6_0.1
Red Hat:enterprise_linux:6::clientmysql-embedded-develbefore 0:5.1.52-1.el6_0.10:5.1.52-1.el6_0.1
Red Hat:enterprise_linux:6::clientmysql-libsbefore 0:5.1.52-1.el6_0.10:5.1.52-1.el6_0.1
Red Hat:enterprise_linux:6::clientmysql-serverbefore 0:5.1.52-1.el6_0.10:5.1.52-1.el6_0.1
Red Hat:enterprise_linux:6::clientmysql-testbefore 0:5.1.52-1.el6_0.10:5.1.52-1.el6_0.1

Other highest-scoring records for the same primary product.

  • CVE-2004-0627The check_scramble_323 function in MySQL 4.1.x before 4.1.3, and 5.0, allows remote attackers to bypass authentication via a zero-length scr
    61This week
  • CVE-2003-0780Buffer overflow in get_salt_from_password from sql_acl.cc for MySQL 4.0.14 and earlier, and 3.23.x, allows attackers with ALTER TABLE privil
    60This week
  • CVE-2004-0628Stack-based buffer overflow in MySQL 4.1.x before 4.1.3, and 5.0, allows remote attackers to cause a denial of service (crash) and possibly
    42Plan
  • CVE-2006-1518Buffer overflow in the open_table function in sql_base.cc in MySQL 5.0.x up to 5.0.20 might allow remote attackers to execute arbitrary code
    38Monitor
  • CVE-2009-2446Multiple format string vulnerabilities in the dispatch_command function in libmysqld/sql_parse.cc in mysqld in MySQL 4.0.0 through 5.0.83 al
    37Monitor
  • CVE-2004-0835MySQL 3.x before 3.23.59, 4.x before 4.0.19, 4.1.x before 4.1.2, and 5.x before 5.0.1, checks the CREATE/INSERT rights of the original table
    37Monitor

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
debian:mysql-dfsg-5.05.0.51a-24+lenny5 · Debian:5.0Package registry (OSV)
red hat:mysql0:4.1.22-2.el4_8.4 · Red Hat:enterprise_linux:4::asPackage registry (OSV)
red hat:mysql-bench0:4.1.22-2.el4_8.4 · Red Hat:enterprise_linux:4::asPackage registry (OSV)
red hat:mysql-debuginfo0:4.1.22-2.el4_8.4 · Red Hat:enterprise_linux:4::asPackage registry (OSV)
red hat:mysql-devel0:4.1.22-2.el4_8.4 · Red Hat:enterprise_linux:4::asPackage registry (OSV)
red hat:mysql-embedded0:5.1.52-1.el6_0.1 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
red hat:mysql-embedded-devel0:5.1.52-1.el6_0.1 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
red hat:mysql-libs0:5.1.52-1.el6_0.1 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
red hat:mysql-server0:4.1.22-2.el4_8.4 · Red Hat:enterprise_linux:4::asPackage registry (OSV)
red hat:mysql-test0:5.0.77-4.el5_5.4 · Red Hat:enterprise_linux:5::client_workstationPackage registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

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.

No dated events beyond publication.

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.

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

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • No special conditions are required; it is repeatable.

If successful

Confidentiality
none
Integrity
none
Availability
P · the service can be disrupted
Attack complexity
Low
Confidentiality impact
None
Integrity impact
None
Availability impact
P

Weakness class (CWE)

—

CVSS vector

AV:N/AC:L/Au:S/C:N/I:N/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