---
id: CVE-2021-31239
title: >-
  An issue found in SQLite SQLite3 v.3.35.4 that allows a remote attacker to
  cause a denial of service via the appendvfs.c function.
summary: >-
  An issue found in SQLite SQLite3 v.3.35.4 that allows a remote attacker to
  cause a denial of service via the appendvfs.c function.
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-125
  - CWE-125
vendor: sqlite
product: sqlite
affected:
  - sqlite = 3.35.4
published: '2023-05-09'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T12:17:11.650'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2021-31239'
references:
  - url: 'https://github.com/Tsiming/Vulnerabilities/blob/main/SQLite/CVE-2021-31239'
    label: cve@mitre.org
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/73XUIHJ6UT75VFPDPLJOXJON7MVIKVZI/
    label: cve@mitre.org
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FXFL4TDAH72PRCPD5UPZMJMKIMVOPLTI/
    label: cve@mitre.org
  - url: 'https://security.gentoo.org/glsa/202311-03'
    label: cve@mitre.org
  - url: 'https://security.netapp.com/advisory/ntap-20230609-0010/'
    label: cve@mitre.org
  - url: 'https://www.sqlite.org/cves.html'
    label: cve@mitre.org
  - url: 'https://www.sqlite.org/forum/forumpost/d9fce1a89b'
    label: cve@mitre.org
  - url: 'https://github.com/Tsiming/Vulnerabilities/blob/main/SQLite/CVE-2021-31239'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/73XUIHJ6UT75VFPDPLJOXJON7MVIKVZI/
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FXFL4TDAH72PRCPD5UPZMJMKIMVOPLTI/
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://security.gentoo.org/glsa/202311-03'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://security.netapp.com/advisory/ntap-20230609-0010/'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://www.sqlite.org/cves.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://www.sqlite.org/forum/forumpost/d9fce1a89b'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-398330.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-472630.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
epss: 0.0216
epssPercentile: 0.81739
ingestedAt: '2026-10-14T12:29:10.830Z'
---

## Overview

An issue found in SQLite SQLite3 v.3.35.4 that allows a remote attacker to cause a denial of service via the appendvfs.c function.

## Affected

- `sqlite = 3.35.4`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
