---
id: CVE-2020-13871
title: >-
  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.
summary: >-
  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.
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-416
vendor: sqlite
product: sqlite
affected:
  - sqlite = 3.32.2
  - fedora = 33
  - debian_linux = 9.0
  - communications_messaging_server = 8.1
  - communications_network_charging_and_control = 6.0.1
  - communications_network_charging_and_control = 12.0.2
  - enterprise_manager_ops_center = 12.4.0.0
  - hyperion_infrastructure_technology = 11.1.2.4
  - mysql_workbench <= 8.0.22
  - zfs_storage_appliance_kit = 8.8
  - sinec_infrastructure_network_services < 1.0.1.1
  - cloud_backup
  - ontap_select_deploy_administration_utility
patched:
  - sinec_infrastructure_network_services 1.0.1.1
published: '2020-06-06'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T10:17:29.330'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2020-13871'
references:
  - url: 'https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf'
    label: cve@mitre.org
  - url: 'https://lists.debian.org/debian-lts-announce/2020/08/msg00037.html'
    label: cve@mitre.org
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BN32AGQPMHZRNM6P6L5GZPETOWTGXOKP/
    label: cve@mitre.org
  - url: 'https://security.gentoo.org/glsa/202007-26'
    label: cve@mitre.org
  - url: 'https://security.netapp.com/advisory/ntap-20200619-0002/'
    label: cve@mitre.org
  - url: 'https://www.oracle.com/security-alerts/cpuApr2021.html'
    label: cve@mitre.org
  - url: 'https://www.oracle.com/security-alerts/cpujan2021.html'
    label: cve@mitre.org
  - url: 'https://www.sqlite.org/src/info/79eff1d0383179c4'
    label: cve@mitre.org
  - url: 'https://www.sqlite.org/src/info/c8d3b9f0a750a529'
    label: cve@mitre.org
  - url: 'https://www.sqlite.org/src/info/cd708fa84d2aaaea'
    label: cve@mitre.org
  - url: 'https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2020/08/msg00037.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BN32AGQPMHZRNM6P6L5GZPETOWTGXOKP/
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://security.gentoo.org/glsa/202007-26'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://security.netapp.com/advisory/ntap-20200619-0002/'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://www.oracle.com/security-alerts/cpuApr2021.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://www.oracle.com/security-alerts/cpujan2021.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://www.sqlite.org/src/info/79eff1d0383179c4'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://www.sqlite.org/src/info/c8d3b9f0a750a529'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://www.sqlite.org/src/info/cd708fa84d2aaaea'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-389290.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-398330.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
epss: 0.04447
epssPercentile: 0.91212
ingestedAt: '2026-10-14T10:25:41.177Z'
---

## Overview

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.

## Affected

- `sqlite = 3.32.2`
- `fedora = 33`
- `debian_linux = 9.0`
- `communications_messaging_server = 8.1`
- `communications_network_charging_and_control = 6.0.1`
- `communications_network_charging_and_control = 12.0.2`
- `enterprise_manager_ops_center = 12.4.0.0`
- `hyperion_infrastructure_technology = 11.1.2.4`
- `mysql_workbench <= 8.0.22`
- `zfs_storage_appliance_kit = 8.8`
- `sinec_infrastructure_network_services < 1.0.1.1`
- `cloud_backup`
- `ontap_select_deploy_administration_utility`

## Remediation

Upgrade past the affected range:

- `sinec_infrastructure_network_services 1.0.1.1`
