{"schemaVersion":3,"id":"CVE-2020-13871","aliases":["DEBIAN-CVE-2020-13871"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2020-06-06T15:37:37.000Z","modified":"2026-10-14T09:29:16.827Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.04447,"percentile":0.91308,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.04447},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.04447,"percentile":0.91308}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.04447,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.04447,"percentile":0.91308}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_E66E8E6F275B4608","name":"Exploit Reference (sqlite.org)","source":"reference","url":"https://www.sqlite.org/src/info/cd708fa84d2aaaea","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_4F9DEF54047F13E6","name":"Exploit Reference (sqlite.org)","source":"reference","url":"https://www.sqlite.org/src/info/c8d3b9f0a750a529","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":2,"weaknesses":[{"id":"CWE-416","name":"Use After Free","description":"The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory \"belongs\" to the code that operates on the new pointer.","type":"weakness","status":"Stable","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/416.html"}],"affected":[{"vendor":"debian","product":"sqlite3","name":"sqlite3","label":"sqlite3","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/sqlite3","purlType":"deb","versions":[{"text":"< 3.32.2-2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.32.2-2","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"9.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"9.0","eol":{"isEol":true,"eolDate":"2022-07-01T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"9","label":"9 (Stretch)","eolFrom":"2022-07-01T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"9.13"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"33","noFixRecorded":false,"fixedIn":null}],"versionsText":"33","eol":{"isEol":true,"eolDate":"2021-11-30T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"33","label":"33","eolFrom":"2021-11-30T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"netapp","product":"cloud_backup","name":"cloud backup","label":"cloud_backup","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/netapp/cloud_backup"},{"vendor":"netapp","product":"ontap_select_deploy_administration_utility","name":"ontap select deploy administration utility","label":"ontap_select_deploy_administration_utility","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/netapp/ontap_select_deploy_administration_utility"},{"vendor":"oracle","product":"communications_messaging_server","name":"communications messaging server","label":"communications_messaging_server","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"8.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"8.1","eol":null,"hubHref":"/vendor/oracle/communications_messaging_server"},{"vendor":"oracle","product":"communications_network_charging_and_control","name":"communications network charging and control","label":"communications_network_charging_and_control","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"6.0.1","noFixRecorded":false,"fixedIn":null},{"text":"12.0.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"6.0.1 | 12.0.2","eol":null,"hubHref":"/vendor/oracle/communications_network_charging_and_control"},{"vendor":"oracle","product":"enterprise_manager_ops_center","name":"enterprise manager ops center","label":"enterprise_manager_ops_center","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"12.4.0.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"12.4.0.0","eol":null,"hubHref":"/vendor/oracle/enterprise_manager_ops_center"},{"vendor":"oracle","product":"hyperion_infrastructure_technology","name":"hyperion infrastructure technology","label":"hyperion_infrastructure_technology","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"11.1.2.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"11.1.2.4","eol":null,"hubHref":"/vendor/oracle/hyperion_infrastructure_technology"},{"vendor":"oracle","product":"mysql_workbench","name":"mysql workbench","label":"mysql_workbench","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 8.0.22","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 8.0.22","eol":null,"hubHref":"/vendor/oracle/mysql_workbench"},{"vendor":"oracle","product":"zfs_storage_appliance_kit","name":"zfs storage appliance kit","label":"zfs_storage_appliance_kit","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"8.8","noFixRecorded":false,"fixedIn":null}],"versionsText":"8.8","eol":null,"hubHref":"/vendor/oracle/zfs_storage_appliance_kit"},{"vendor":"siemens","product":"sinec_infrastructure_network_services","name":"sinec infrastructure network services","label":"sinec_infrastructure_network_services","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.0.1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.0.1.1","eol":null,"hubHref":"/vendor/siemens/sinec_infrastructure_network_services"},{"vendor":"sqlite","product":"sqlite","name":"sqlite","label":"sqlite","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"3.32.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"3.32.2","eol":{"isEol":false,"eolDate":null,"matchMethod":"cpe","cycle":{"name":"3","label":"3","eolFrom":null,"isLts":false,"isMaintained":true,"latestVersion":"3.54.1"},"product":{"name":"sqlite","label":"SQLite","category":"database"}},"hubHref":"/vendor/sqlite/sqlite"}],"affectedCount":13,"eol":{"hasEol":true,"count":2},"references":[{"url":"https://security.gentoo.org/glsa/202007-26","label":"security.gentoo.org/glsa/202007-26","hostname":"security.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO","Mitigation","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BN32AGQPMHZRNM6P6L5GZPETOWTGXOKP/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/08/msg00037.html","label":"lists.debian.org/debian-lts-announce/2020/08/msg00037.html","hostname":"lists.debian.org","tags":["Mailing List","X Refsource MLIST","Third Party Advisory"]},{"url":"https://www.oracle.com/security-alerts/cpujan2021.html","label":"www.oracle.com/security-alerts/cpujan2021.html","hostname":"www.oracle.com","tags":["X Refsource MISC","Third Party Advisory"]},{"url":"https://www.sqlite.org/src/info/cd708fa84d2aaaea","label":"www.sqlite.org/src/info/cd708fa84d2aaaea","hostname":"www.sqlite.org","tags":["X Refsource MISC","Exploit","Vendor Advisory"]},{"url":"https://www.sqlite.org/src/info/c8d3b9f0a750a529","label":"www.sqlite.org/src/info/c8d3b9f0a750a529","hostname":"www.sqlite.org","tags":["X Refsource MISC","Exploit","Vendor Advisory"]},{"url":"https://www.sqlite.org/src/info/79eff1d0383179c4","label":"www.sqlite.org/src/info/79eff1d0383179c4","hostname":"www.sqlite.org","tags":["X Refsource MISC","Patch","Vendor Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20200619-0002/","label":"security.netapp.com/advisory/ntap-20200619-0002/","hostname":"security.netapp.com","tags":["X Refsource CONFIRM","Third Party Advisory"]},{"url":"https://www.oracle.com/security-alerts/cpuApr2021.html","label":"www.oracle.com/security-alerts/cpuApr2021.html","hostname":"www.oracle.com","tags":["X Refsource MISC","Third Party Advisory"]},{"url":"https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf","label":"cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf","hostname":"cert-portal.siemens.com","tags":["X Refsource CONFIRM","Patch","Third Party Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2020-13871","label":"security-tracker.debian.org/tracker/CVE-2020-13871","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-389290.html","label":"cert-portal.siemens.com/productcert/html/ssa-389290.html","hostname":"cert-portal.siemens.com","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","label":"cert-portal.siemens.com/productcert/html/ssa-398330.html","hostname":"cert-portal.siemens.com","tags":[]}],"lineage":{"upstream":[],"downstream":["DLA-2340-1","MGASA-2021-0303","OPENSUSE-SU-2024:11400-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:11400-1"]},"timeline":[{"kind":"published","date":"2020-06-06T15:37:37.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-14T09:29:16.827Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":41,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T22:40:33.119Z","stale":false,"partial":false}}