Asyncpg Arbitrary Code Execution Via Access to an Uninitialized Pointer
Published Aug 12, 2020 · Updated Oct 23, 2026 · Also known as GHSA-2xpj-f5g2-8p7m, PYSEC-2020-24
Original summary
Normalized public record · Updated Oct 23, 2026
Asyncpg Arbitrary Code Execution Via Access to an Uninitialized Pointer
Publisher and source text is retained separately from QFinch interpretation.
QFinch assessment
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: public source recordsAffected products
| Affected package, product or range | Fix status |
|---|---|
| Consult the referenced vendor advisory for affected versions. | Consult source advisory |
Matching a version is only one part of assessing exposure. QFinch has not assessed your environment on this public page.
Remediation
Apply the vendor-supported fixed release or mitigation, then verify the affected component is no longer reachable.
- Confirm the affected product and reachable code path exist in your environment.
- Apply the vendor-supported patch or mitigation from the primary advisory.
- Rescan the exact deployed revision and retain verification evidence.
Evidence coverage
- SSVC priority
- MEDIUM
- Confidence
- 20%
- Aliases
- GHSA-2xpj-f5g2-8p7m, PYSEC-2020-24
Scores appear only when corresponding evidence exists. Missing data is never interpreted as zero risk.
Sources and record history
Record history
Published Aug 12, 2020 · Last refreshed Oct 23, 2026