asyncpg before 0.21.0 allows a malicious PostgreSQL server to trigger a crash or execute…
Priority MEDIUM 47CWE-824Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-824 and the CVSS impact.
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.
Why it matters now
EPSS 0.02417 84th percentileScored 2026-11-08
Fix Fixed asyncpg (PyPI): 0.21.0
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | asyncpg (PyPI) | before 0.21.0 | 0.21.0 | Patch available | GHSA-2xpj-f5g2-8p7m |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- asyncpg (PyPI) Vendor— Affected before 0.21.0 Fixed in 0.21.0 Patch available GHSA-2xpj-f5g2-8p7m
Remediation
- Fix · GHSA-2xpj-f5g2-8p7m asyncpg (PyPI) Fixed in 0.21.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2020-17446
- 2026-10-03 Alias added: GHSA-2xpj-f5g2-8p7m
References
Advisory 3
Sources
- CVE-2020-17446 · CVE Program
- CVE-2020-17446 · NVD
- FIRST EPSS
- GHSA-2xpj-f5g2-8p7m · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences