Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: 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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-13871
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 05:47 UTC · Revision 1

Source evidence

CVE-2020-13871

core-osv · Original source

Published 6 Jun 2020, 16:15 UTC

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.

osv:CVE-2020-13871
Complete source record
{
  "id": "5c348ae4881d0a92914fa26a9bd75645f9f2821581bd3ce8e731658f2fb286ab",
  "url": "https://osv.dev/vulnerability/CVE-2020-13871",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-13871",
    "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.",
    "evidence": "osv:CVE-2020-13871",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2020-13871",
      "aliases": [
        "A-192606047",
        "ASB-A-192606047",
        "BIT-sqlite-2020-13871",
        "CVE-2020-13871"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/sqlite/sqlite",
              "type": "GIT",
              "events": [
                {
                  "introduced": "fc6d94658674d388f5dadfa416850026459b7360"
                },
                {
                  "last_affected": "fc6d94658674d388f5dadfa416850026459b7360"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:sqlite:sqlite:3.32.2:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.32.2"
                      },
                      {
                        "last_affected": "3.32.2"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "3.32.2",
            "version-3.32.2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-13871.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:33.181991555Z",
      "provider": "osv",
      "references": [
        "https://cert-portal.siemens.com/productcert/html/ssa-389290.html",
        "https://cert-portal.siemens.com/productcert/html/ssa-398330.html",
        "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://security.gentoo.org/glsa/202007-26",
        "https://security.netapp.com/advisory/ntap-20200619-0002/",
        "https://www.oracle.com/security-alerts/cpuApr2021.html",
        "https://www.oracle.com/security-alerts/cpujan2021.html",
        "https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf",
        "https://www.sqlite.org/src/info/79eff1d0383179c4",
        "https://www.sqlite.org/src/info/c8d3b9f0a750a529",
        "https://www.sqlite.org/src/info/cd708fa84d2aaaea"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:oracle:mysql_workbench:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:mysql_workbench",
            "extracted_events": [
              {
                "range": [
                  {
                    "last_affected": "8.0.22"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:siemens:sinec_infrastructure_network_services:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "siemens:sinec_infrastructure_network_services",
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "1.0.1.1"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "9.0"
                  },
                  {
                    "last_affected": "9.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*"
            ],
            "vendor_product": "fedoraproject:fedora",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "33"
                  },
                  {
                    "last_affected": "33"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:oracle:communications_messaging_server:8.1:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:communications_messaging_server",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "8.1"
                  },
                  {
                    "last_affected": "8.1"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:oracle:communications_network_charging_and_control:12.0.2:*:*:*:*:*:*:*",
              "cpe:2.3:a:oracle:communications_network_charging_and_control:6.0.1:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:communications_network_charging_and_control",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "6.0.1"
                  },
                  {
                    "last_affected": "6.0.1"
                  },
                  {
                    "introduced": "12.0.2"
                  },
                  {
                    "last_affected": "12.0.2"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:oracle:enterprise_manager_ops_center:12.4.0.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:enterprise_manager_ops_center",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "12.4.0.0"
                  },
                  {
                    "last_affected": "12.4.0.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:oracle:hyperion_infrastructure_technology:11.1.2.4:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:hyperion_infrastructure_technology",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "11.1.2.4"
                  },
                  {
                    "last_affected": "11.1.2.4"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:oracle:zfs_storage_appliance_kit:8.8:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:zfs_storage_appliance_kit",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "8.8"
                  },
                  {
                    "last_affected": "8.8"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2020-13871",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 433201,
  "published_at": "2020-06-06T16:15:10.543+00:00"
}