Medium
Security advisory
An issue was discovered in InspIRCd 2 before 2.0.28 and 3 before 3.3.0. The mysql module contains a NULL pointer dereference when built against mariadb-connector-c 3.0.5 or newer. When combined with the sqlauth or sqloper modules, this vulnerability can be used for remote crashing of an InspIRCd server by any user able to connect to a server.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2019-20917
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:29 UTC · Revision 1
Source evidence
An issue was discovered in InspIRCd 2 before 2.0.28 and 3 before 3.3.0. The mysql module contains a NULL pointer dereference when built against mariadb-connector-c 3.0.5 or newer. When combined with the sqlauth or sqloper modules, this vulnerability can be used for remote crashing of an InspIRCd server by any user able to connect to a server.
osv:CVE-2019-20917
Complete source record
{
"id": "6f5415e1fcfa22d9c38cc6ca01197c49a46fb3b6c6d419a073c58e5f0e68d6c5",
"url": "https://osv.dev/vulnerability/CVE-2019-20917",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2019-20917",
"summary": "An issue was discovered in InspIRCd 2 before 2.0.28 and 3 before 3.3.0. The mysql module contains a NULL pointer dereference when built against mariadb-connector-c 3.0.5 or newer. When combined with the sqlauth or sqloper modules, this vulnerability can be used for remote crashing of an InspIRCd server by any user able to connect to a server.",
"evidence": "osv:CVE-2019-20917",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2019-20917",
"aliases": [
"CVE-2019-20917"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/inspircd/inspircd",
"type": "GIT",
"events": [
{
"introduced": "9f24bef18e28654a07b30ba284663ce73e0a8125"
},
{
"fixed": "79b163958a9cc1edd6c7d55907a1b571a43323c4"
},
{
"introduced": "68e5d0a151d8b5ca6577a0053dcda95774bf323a"
},
{
"fixed": "400de0ab0040b26aa413d47c7f680abe2ec2458b"
},
{
"fixed": "2cc35d8625b7ea5cbd1d1ebb116aff86c5280162"
},
{
"fixed": "8745660fcdac7c1b80c94cfc0ff60928cd4dd4b7"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:inspircd:inspircd:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.0"
},
{
"fixed": "2.0.28"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:inspircd:inspircd:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.0"
},
{
"fixed": "3.3.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "2cc35d8625b7ea5cbd1d1ebb116aff86c5280162"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "8745660fcdac7c1b80c94cfc0ff60928cd4dd4b7"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v3.2.0",
"v3.1.0",
"v3.0.1",
"v3.0.0",
"v2.0.27",
"v2.0.26",
"v2.0.25",
"v2.0.24",
"v2.0.23",
"v2.0.22",
"v2.0.21",
"v2.0.20",
"v2.0.19",
"v2.0.18",
"v2.0.17",
"v2.0.16",
"v2.0.15",
"v2.0.14",
"v2.0.13",
"v2.0.12",
"v2.0.11",
"v2.0.10",
"v2.0.9",
"v2.0.8",
"v2.0.7",
"v2.0.6rc1",
"v2.0.5",
"v2.0.4",
"v2.0.3",
"v2.0.2",
"v2.0.1",
"v2.0.0",
"v2.0.0rc2",
"v2.0.0rc1",
"v2.0.0b4",
"v2.0.0b3",
"v2.0.0b2",
"v2.0.0b1",
"v2.0.0a2",
"v2.0.0a1",
"v2.0fork"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-20917.json",
"vanir_signatures": [
{
"id": "CVE-2019-20917-1e1c4755",
"digest": {
"length": 238,
"function_hash": "241887545301284665495179932616300993356"
},
"source": "https://github.com/inspircd/inspircd/commit/8745660fcdac7c1b80c94cfc0ff60928cd4dd4b7",
"target": {
"file": "src/modules/extra/m_mysql.cpp",
"function": "ModuleSQL::~ModuleSQL"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
},
{
"id": "CVE-2019-20917-25917557",
"digest": {
"length": 238,
"function_hash": "241887545301284665495179932616300993356"
},
"source": "https://github.com/inspircd/inspircd/commit/2cc35d8625b7ea5cbd1d1ebb116aff86c5280162",
"target": {
"file": "src/modules/extra/m_mysql.cpp",
"function": "ModuleSQL::~ModuleSQL"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
},
{
"id": "CVE-2019-20917-4142751b",
"digest": {
"threshold": 0.9,
"line_hashes": [
"97131708961733032428775120291510823109",
"269799031876934484607055524437757444453",
"255549233016784195165188629816694547467",
"144166504417220758686599965642966819446",
"44525923303389181099518146082718386630",
"76484964166473602630262888947165542367",
"141540635961572812486623944601260203415",
"331205328941029024140957971184915955583",
"214421680455201009319560976007864853937",
"139901357027587971418495392094662248022",
"270585790749019080528851035707420653930",
"318249702073141289905245127577035652065"
]
},
"source": "https://github.com/inspircd/inspircd/commit/2cc35d8625b7ea5cbd1d1ebb116aff86c5280162",
"target": {
"file": "src/modules/extra/m_mysql.cpp"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
},
{
"id": "CVE-2019-20917-58d7187f",
"digest": {
"length": 278,
"function_hash": "5609707757580415519646402921099061555"
},
"source": "https://github.com/inspircd/inspircd/commit/2cc35d8625b7ea5cbd1d1ebb116aff86c5280162",
"target": {
"file": "src/modules/extra/m_mysql.cpp",
"function": "ModuleSQL::init"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
},
{
"id": "CVE-2019-20917-6b56d343",
"digest": {
"length": 116,
"function_hash": "13771301119563863276343567754590794382"
},
"source": "https://github.com/inspircd/inspircd/commit/8745660fcdac7c1b80c94cfc0ff60928cd4dd4b7",
"target": {
"file": "src/modules/extra/m_mysql.cpp",
"function": "ModuleSQL::init"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
},
{
"id": "CVE-2019-20917-9274ec66",
"digest": {
"threshold": 0.9,
"line_hashes": [
"97131708961733032428775120291510823109",
"269799031876934484607055524437757444453",
"231346747847626587751603029082493586596",
"131723549370569820395430375609088513083",
"44525923303389181099518146082718386630",
"76484964166473602630262888947165542367",
"141540635961572812486623944601260203415",
"331205328941029024140957971184915955583",
"214421680455201009319560976007864853937",
"139901357027587971418495392094662248022",
"329679358540076502780177285939824173153",
"208189528832989032401935639903410301095"
]
},
"source": "https://github.com/inspircd/inspircd/commit/8745660fcdac7c1b80c94cfc0ff60928cd4dd4b7",
"target": {
"file": "src/modules/extra/m_mysql.cpp"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-20T13:43:00Z"
}
}
],
"modified": "2026-10-20T13:43:00.626459743Z",
"provider": "osv",
"references": [
"https://docs.inspircd.org/security/2019-02/",
"https://lists.debian.org/debian-lts-announce/2020/09/msg00015.html",
"https://www.debian.org/security/2020/dsa-4764",
"https://github.com/inspircd/inspircd/commit/2cc35d8625b7ea5cbd1d1ebb116aff86c5280162",
"https://github.com/inspircd/inspircd/commit/8745660fcdac7c1b80c94cfc0ff60928cd4dd4b7"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*",
"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
],
"vendor_product": "debian:debian_linux",
"extracted_events": [
{
"range": [
{
"introduced": "9.0"
},
{
"last_affected": "9.0"
},
{
"introduced": "10.0"
},
{
"last_affected": "10.0"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2019-20917",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 387983,
"published_at": "2020-09-11T05:15:12.48+00:00"
}