High
mdbtools — security advisory
MDB Tools (aka mdbtools) 0.9.2 has a stack-based buffer overflow (at 0x7ffd0c689be0) in mdb_numeric_to_string (called from mdb_xfer_bound_data and _mdb_attempt_bind).
- Products
- mdbtools
- Affected versions
- 0.7.1-4, 0.7.1-5, 0.7.1-6, 0.7.1-6build1, 0.9.4-1ubuntu1, 1.0.0+dfsg-1, 1.0.0+dfsg-1.1, 1.0.0+dfsg-1.2build2, 1.0.0+dfsg-1.2ubuntu1, 1.0.1-0.1, 1.0.1-0.1build1
- Fixed versions
- Not specified
- CVEs
- CVE-2021-45926
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 00:35 UTC · Revision 1
Source evidence
MDB Tools (aka mdbtools) 0.9.2 has a stack-based buffer overflow (at 0x7ffd0c689be0) in mdb_numeric_to_string (called from mdb_xfer_bound_data and _mdb_attempt_bind).
osv:UBUNTU-CVE-2021-45926
mdbtools
Fixed versions: Not specified
mdbtools
Fixed versions: Not specified
mdbtools
Fixed versions: Not specified
mdbtools
Fixed versions: Not specified
mdbtools
Fixed versions: Not specified
mdbtools
Fixed versions: Not specified
mdbtools
Fixed versions: Not specified
mdbtools
Fixed versions: Not specified
Complete source record
{
"id": "434ad186fd756f0c7f62b54f8dffb00f611e45f092b2ff72066c12098ca567f0",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2021-45926",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2021-45926",
"summary": "MDB Tools (aka mdbtools) 0.9.2 has a stack-based buffer overflow (at 0x7ffd0c689be0) in mdb_numeric_to_string (called from mdb_xfer_bound_data and _mdb_attempt_bind).",
"evidence": "osv:UBUNTU-CVE-2021-45926",
"products": [
{
"name": {
"value": "mdbtools",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.7.1-4",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "mdbtools",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.7.1-5",
"evidence": "/affected/1/versions"
},
{
"value": "0.7.1-6",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "mdbtools",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.7.1-6build1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "mdbtools",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.9.4-1ubuntu1",
"evidence": "/affected/3/versions"
},
{
"value": "1.0.0+dfsg-1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "mdbtools",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.0.0+dfsg-1.1",
"evidence": "/affected/4/versions"
},
{
"value": "1.0.0+dfsg-1.2build2",
"evidence": "/affected/4/versions"
},
{
"value": "1.0.0+dfsg-1.2ubuntu1",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "mdbtools",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.0.1-0.1",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "mdbtools",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.0.1-0.1build1",
"evidence": "/affected/6/versions"
}
]
},
{
"name": {
"value": "mdbtools",
"evidence": "/affected/7/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.0.1-0.1",
"evidence": "/affected/7/versions"
},
{
"value": "1.0.1-0.1build1",
"evidence": "/affected/7/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2021-45926",
"aliases": [
"UBUNTU-CVE-2021-45926"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "mdbtools",
"purl": "pkg:deb/ubuntu/mdbtools?arch=source&distro=xenial",
"ecosystem": "Ubuntu:16.04:LTS"
},
"versions": [
"0.7.1-4"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-45926.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libmdb2",
"binary_version": "0.7.1-4"
},
{
"binary_name": "libmdbodbc1",
"binary_version": "0.7.1-4"
},
{
"binary_name": "libmdbsql2",
"binary_version": "0.7.1-4"
},
{
"binary_name": "mdbtools",
"binary_version": "0.7.1-4"
},
{
"binary_name": "mdbtools-gmdb",
"binary_version": "0.7.1-4"
},
{
"binary_name": "odbc-mdbtools",
"binary_version": "0.7.1-4"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "mdbtools",
"purl": "pkg:deb/ubuntu/mdbtools?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"0.7.1-5",
"0.7.1-6"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-45926.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libmdb2",
"binary_version": "0.7.1-6"
},
{
"binary_name": "libmdbsql2",
"binary_version": "0.7.1-6"
},
{
"binary_name": "mdbtools",
"binary_version": "0.7.1-6"
},
{
"binary_name": "odbc-mdbtools",
"binary_version": "0.7.1-6"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "mdbtools",
"purl": "pkg:deb/ubuntu/mdbtools?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"0.7.1-6build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-45926.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libmdb2",
"binary_version": "0.7.1-6build1"
},
{
"binary_name": "libmdbsql2",
"binary_version": "0.7.1-6build1"
},
{
"binary_name": "mdbtools",
"binary_version": "0.7.1-6build1"
},
{
"binary_name": "odbc-mdbtools",
"binary_version": "0.7.1-6build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "mdbtools",
"purl": "pkg:deb/ubuntu/mdbtools?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"0.9.4-1ubuntu1",
"1.0.0+dfsg-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-45926.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libmdb3",
"binary_version": "1.0.0+dfsg-1"
},
{
"binary_name": "libmdbsql3",
"binary_version": "1.0.0+dfsg-1"
},
{
"binary_name": "mdbtools",
"binary_version": "1.0.0+dfsg-1"
},
{
"binary_name": "odbc-mdbtools",
"binary_version": "1.0.0+dfsg-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "mdbtools",
"purl": "pkg:deb/ubuntu/mdbtools?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"1.0.0+dfsg-1.1",
"1.0.0+dfsg-1.2build2",
"1.0.0+dfsg-1.2ubuntu1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-45926.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libmdb3t64",
"binary_version": "1.0.0+dfsg-1.2ubuntu1"
},
{
"binary_name": "libmdbsql3t64",
"binary_version": "1.0.0+dfsg-1.2ubuntu1"
},
{
"binary_name": "mdbtools",
"binary_version": "1.0.0+dfsg-1.2ubuntu1"
},
{
"binary_name": "odbc-mdbtools",
"binary_version": "1.0.0+dfsg-1.2ubuntu1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "mdbtools",
"purl": "pkg:deb/ubuntu/mdbtools?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"1.0.1-0.1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-45926.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libmdb3t64",
"binary_version": "1.0.1-0.1"
},
{
"binary_name": "libmdbsql3t64",
"binary_version": "1.0.1-0.1"
},
{
"binary_name": "mdbtools",
"binary_version": "1.0.1-0.1"
},
{
"binary_name": "odbc-mdbtools",
"binary_version": "1.0.1-0.1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "mdbtools",
"purl": "pkg:deb/ubuntu/mdbtools?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"1.0.1-0.1build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-45926.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libmdb3t64",
"binary_version": "1.0.1-0.1build1"
},
{
"binary_name": "libmdbsql3t64",
"binary_version": "1.0.1-0.1build1"
},
{
"binary_name": "mdbtools",
"binary_version": "1.0.1-0.1build1"
},
{
"binary_name": "odbc-mdbtools",
"binary_version": "1.0.1-0.1build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "mdbtools",
"purl": "pkg:deb/ubuntu/mdbtools?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"1.0.1-0.1",
"1.0.1-0.1build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-45926.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libmdb3t64",
"binary_version": "1.0.1-0.1build1"
},
{
"binary_name": "libmdbsql3t64",
"binary_version": "1.0.1-0.1build1"
},
{
"binary_name": "mdbtools",
"binary_version": "1.0.1-0.1build1"
},
{
"binary_name": "odbc-mdbtools",
"binary_version": "1.0.1-0.1build1"
}
]
}
}
],
"modified": "2026-10-17T12:55:47.786990665Z",
"provider": "osv",
"upstream": [
"CVE-2021-45926"
],
"references": [
"https://ubuntu.com/security/CVE-2021-45926",
"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=35972",
"https://github.com/mdbtools/mdbtools/commit/373b7ff4c4daf887269c078407cb1338942c4ea6",
"https://github.com/google/oss-fuzz-vulns/blob/main/vulns/mdbtools/OSV-2021-958.yaml",
"https://www.cve.org/CVERecord?id=CVE-2021-45926"
]
},
"related_cves": [
{
"value": "CVE-2021-45926",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 354100,
"published_at": "2022-01-01T01:15:00+00:00"
}