Critical
Security advisory
asyncpg before 0.21.0 allows a malicious PostgreSQL server to trigger a crash or execute arbitrary code (on a database client) via a crafted server response, because of access to an uninitialized pointer in the array data decoder.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-17446
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 10:54 UTC · Revision 1
Source evidence
asyncpg before 0.21.0 allows a malicious PostgreSQL server to trigger a crash or execute arbitrary code (on a database client) via a crafted server response, because of access to an uninitialized pointer in the array data decoder.
osv:CVE-2020-17446
Complete source record
{
"id": "93528733e876981b2ef961d76539e605c1b50f02705f9b773e349e0586698d84",
"url": "https://osv.dev/vulnerability/CVE-2020-17446",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-17446",
"summary": "asyncpg before 0.21.0 allows a malicious PostgreSQL server to trigger a crash or execute arbitrary code (on a database client) via a crafted server response, because of access to an uninitialized pointer in the array data decoder.",
"evidence": "osv:CVE-2020-17446",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2020-17446",
"aliases": [
"CVE-2020-17446",
"GHSA-2xpj-f5g2-8p7m",
"PYSEC-2020-24"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/magicstack/asyncpg",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "87a4302f26e6194f8a8355fc582c98bfc0f1511a"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:magic:asyncpg:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "0.21.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "87a4302f26e6194f8a8355fc582c98bfc0f1511a"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v0.21.0"
}
]
}
}
],
"versions": [
"v0.20.1",
"v0.20.0",
"v0.19.0",
"v0.18.0",
"v0.17.0",
"v0.16.0",
"v0.15.0",
"v0.14.0",
"v0.13.0",
"v0.12.0",
"v0.11.0",
"v0.10.1",
"v0.10.0",
"v0.9.0",
"v0.8.4",
"v0.8.3",
"v0.8.2",
"v0.8.1",
"v0.7.0",
"v0.6.3",
"v0.6.2",
"v0.6.1",
"v0.6.0",
"v0.5.4",
"v0.5.3",
"v0.5.2",
"v0.5.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-17446.json"
}
}
],
"modified": "2026-10-20T10:52:02.057636410Z",
"provider": "osv",
"references": [
"https://lists.debian.org/debian-lts-announce/2020/09/msg00002.html",
"https://github.com/MagicStack/asyncpg/releases/tag/v0.21.0"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
],
"vendor_product": "debian:debian_linux",
"extracted_events": [
{
"range": [
{
"introduced": "9.0"
},
{
"last_affected": "9.0"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2020-17446",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 383216,
"published_at": "2020-08-12T16:15:11.963+00:00"
}