CVE-2026-85748 (GCVE-0-2026-85748)
Vulnerability from cvelistv5
Published
2026-10-16 16:28
Modified
2026-10-16 16:54
Severity ?
VLAI Severity ?
EPSS score ?
CWE
- CWE-416 - Use After Free
Summary
MariaDB server is a community developed fork of MySQL server. From 12.3.1 until 12.3.3 and 13.0.2, SYS_REFCURSOR handling is affected because cursor-array reallocation can leave stale references in routine contexts. A low-privileged attacker can open a large number of SYS_REFCURSORs and then fetch one to trigger a use-after-free that can enable remote code execution when combined with another vulnerability. This issue is fixed in versions 12.3.3 and 13.0.2.
References
| URL | Tags | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|||||||||||||||||||||||
Impacted products
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-85748",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-10-16T16:54:30.361781Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-10-16T16:54:40.841Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"product": "server",
"vendor": "MariaDB",
"versions": [
{
"status": "affected",
"version": "\u003e= 12.3.1, \u003c 12.3.3"
},
{
"status": "affected",
"version": "\u003e= 13.0.1, \u003c 13.0.2"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "MariaDB server is a community developed fork of MySQL server. From 12.3.1 until 12.3.3 and 13.0.2, SYS_REFCURSOR handling is affected because cursor-array reallocation can leave stale references in routine contexts. A low-privileged attacker can open a large number of SYS_REFCURSORs and then fetch one to trigger a use-after-free that can enable remote code execution when combined with another vulnerability. This issue is fixed in versions 12.3.3 and 13.0.2."
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 9.9,
"baseSeverity": "CRITICAL",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "LOW",
"scope": "CHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-416",
"description": "CWE-416: Use After Free",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-10-16T16:28:55.829Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/MariaDB/server/security/advisories/GHSA-mv8g-9f7q-hprm",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/MariaDB/server/security/advisories/GHSA-mv8g-9f7q-hprm"
},
{
"name": "https://github.com/MariaDB/server/commit/91156c3de58762196605150ab3f756fe952592d1",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/MariaDB/server/commit/91156c3de58762196605150ab3f756fe952592d1"
},
{
"name": "https://github.com/MariaDB/server/commit/9b075b2cb53338f67e7230cc585e02d2d34514ed",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/MariaDB/server/commit/9b075b2cb53338f67e7230cc585e02d2d34514ed"
},
{
"name": "https://github.com/MariaDB/server/releases/tag/mariadb-12.3.3",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/MariaDB/server/releases/tag/mariadb-12.3.3"
},
{
"name": "https://github.com/MariaDB/server/releases/tag/mariadb-13.0.2",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/MariaDB/server/releases/tag/mariadb-13.0.2"
},
{
"name": "https://jira.mariadb.org/browse/MDEV-40396",
"tags": [
"x_refsource_MISC"
],
"url": "https://jira.mariadb.org/browse/MDEV-40396"
},
{
"name": "https://jira.mariadb.org/browse/MDEV-40639",
"tags": [
"x_refsource_MISC"
],
"url": "https://jira.mariadb.org/browse/MDEV-40639"
}
],
"source": {
"advisory": "GHSA-mv8g-9f7q-hprm",
"discovery": "UNKNOWN"
},
"title": "MariaDB: Use-after-free with a large number of SYS_REFCURSOR\u0027s"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2026-85748",
"datePublished": "2026-10-16T16:28:55.829Z",
"dateReserved": "2026-09-04T14:50:16.720Z",
"dateUpdated": "2026-10-16T16:54:40.841Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"vulnrichment": {
"containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2026-85748\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-10-16T16:54:30.361781Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-10-16T16:54:35.522Z\"}}], \"cna\": {\"title\": \"MariaDB: Use-after-free with a large number of SYS_REFCURSOR\u0027s\", \"source\": {\"advisory\": \"GHSA-mv8g-9f7q-hprm\", \"discovery\": \"UNKNOWN\"}, \"metrics\": [{\"cvssV3_1\": {\"scope\": \"CHANGED\", \"version\": \"3.1\", \"baseScore\": 9.9, \"attackVector\": \"NETWORK\", \"baseSeverity\": \"CRITICAL\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H\", \"integrityImpact\": \"HIGH\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"HIGH\", \"privilegesRequired\": \"LOW\", \"confidentialityImpact\": \"HIGH\"}}], \"affected\": [{\"vendor\": \"MariaDB\", \"product\": \"server\", \"versions\": [{\"status\": \"affected\", \"version\": \"\u003e= 12.3.1, \u003c 12.3.3\"}, {\"status\": \"affected\", \"version\": \"\u003e= 13.0.1, \u003c 13.0.2\"}]}], \"references\": [{\"url\": \"https://github.com/MariaDB/server/security/advisories/GHSA-mv8g-9f7q-hprm\", \"name\": \"https://github.com/MariaDB/server/security/advisories/GHSA-mv8g-9f7q-hprm\", \"tags\": [\"x_refsource_CONFIRM\"]}, {\"url\": \"https://github.com/MariaDB/server/commit/91156c3de58762196605150ab3f756fe952592d1\", \"name\": \"https://github.com/MariaDB/server/commit/91156c3de58762196605150ab3f756fe952592d1\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://github.com/MariaDB/server/commit/9b075b2cb53338f67e7230cc585e02d2d34514ed\", \"name\": \"https://github.com/MariaDB/server/commit/9b075b2cb53338f67e7230cc585e02d2d34514ed\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://github.com/MariaDB/server/releases/tag/mariadb-12.3.3\", \"name\": \"https://github.com/MariaDB/server/releases/tag/mariadb-12.3.3\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://github.com/MariaDB/server/releases/tag/mariadb-13.0.2\", \"name\": \"https://github.com/MariaDB/server/releases/tag/mariadb-13.0.2\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://jira.mariadb.org/browse/MDEV-40396\", \"name\": \"https://jira.mariadb.org/browse/MDEV-40396\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://jira.mariadb.org/browse/MDEV-40639\", \"name\": \"https://jira.mariadb.org/browse/MDEV-40639\", \"tags\": [\"x_refsource_MISC\"]}], \"descriptions\": [{\"lang\": \"en\", \"value\": \"MariaDB server is a community developed fork of MySQL server. From 12.3.1 until 12.3.3 and 13.0.2, SYS_REFCURSOR handling is affected because cursor-array reallocation can leave stale references in routine contexts. A low-privileged attacker can open a large number of SYS_REFCURSORs and then fetch one to trigger a use-after-free that can enable remote code execution when combined with another vulnerability. This issue is fixed in versions 12.3.3 and 13.0.2.\"}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-416\", \"description\": \"CWE-416: Use After Free\"}]}], \"providerMetadata\": {\"orgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"shortName\": \"GitHub_M\", \"dateUpdated\": \"2026-10-16T16:28:55.829Z\"}}}",
"cveMetadata": "{\"cveId\": \"CVE-2026-85748\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-10-16T16:54:40.841Z\", \"dateReserved\": \"2026-09-04T14:50:16.720Z\", \"assignerOrgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"datePublished\": \"2026-10-16T16:28:55.829Z\", \"assignerShortName\": \"GitHub_M\"}",
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…