Skip to content
Heist/ feed
Back to feed
UnratedFix available

sqlite3 vulnerability

Type: advisorySources: OSV

It was discovered that SQLite incorrectly handled certain numbers of aggregate terms. An attacker could use this issue to cause SQLite to crash, resulting in a denial of service, or possibly execute arbitrary code.

Products
sqlite3
Affected versions
3.35.5-1, 3.36.0-2, 3.37.2-2, 3.37.2-2ubuntu0.1, 3.37.2-2ubuntu0.3, 3.37.2-2ubuntu0.4, 3.42.0-1, 3.44.0-1, 3.44.2-1, 3.45.0-1, 3.45.1-1, 3.45.1-1ubuntu1, 3.45.1-1ubuntu2, 3.45.1-1ubuntu2.1, 3.45.1-1ubuntu2.3
Fixed versions
3.37.2-2ubuntu0.5, 3.45.1-1ubuntu2.4
CVEs
CVE-2025-6965
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 17:15 UTC · Revision 1

Source evidence

sqlite3 vulnerability

core-osv · Original source

Published 28 Jul 2025, 11:56 UTC

It was discovered that SQLite incorrectly handled certain numbers of aggregate terms. An attacker could use this issue to cause SQLite to crash, resulting in a denial of service, or possibly execute arbitrary code.

osv:USN-7676-1

sqlite3

Fixed versions: 3.37.2-2ubuntu0.5

sqlite3

Fixed versions: 3.45.1-1ubuntu2.4

Complete source record
{
  "id": "266e38d49f3702d9051c2df83e37c28dcbe234a04a456dc3e6c6fc7ce7f72408",
  "url": "https://osv.dev/vulnerability/USN-7676-1",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "sqlite3 vulnerability",
    "summary": "It was discovered that SQLite incorrectly handled certain numbers of aggregate terms. An attacker could use this issue to cause SQLite to crash, resulting in a denial of service, or possibly execute arbitrary code.",
    "evidence": "osv:USN-7676-1",
    "products": [
      {
        "name": {
          "value": "sqlite3",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3.37.2-2ubuntu0.5",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "3.35.5-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.36.0-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.37.2-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.37.2-2ubuntu0.1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.37.2-2ubuntu0.3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.37.2-2ubuntu0.4",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "sqlite3",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3.45.1-1ubuntu2.4",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "3.42.0-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "3.44.0-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "3.44.2-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "3.45.0-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "3.45.1-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "3.45.1-1ubuntu1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "3.45.1-1ubuntu2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "3.45.1-1ubuntu2.1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "3.45.1-1ubuntu2.3",
            "evidence": "/affected/1/versions"
          }
        ]
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "USN-7676-1",
      "aliases": [
        "USN-7676-1"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3.37.2-2ubuntu0.5"
                }
              ]
            }
          ],
          "package": {
            "name": "sqlite3",
            "purl": "pkg:deb/ubuntu/sqlite3?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "3.35.5-1",
            "3.36.0-2",
            "3.37.2-2",
            "3.37.2-2ubuntu0.1",
            "3.37.2-2ubuntu0.3",
            "3.37.2-2ubuntu0.4"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7676-1.json",
            "cves_map": {
              "cves": [
                {
                  "id": "CVE-2025-6965",
                  "severity": [
                    {
                      "type": "CVSS_V4",
                      "score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:L/VI:H/VA:L/SC:L/SI:H/SA:L/S:N/AU:N/R:U/V:D/RE:L/U:Green"
                    },
                    {
                      "type": "CVSS_V3",
                      "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:H/A:L"
                    },
                    {
                      "type": "Ubuntu",
                      "score": "medium"
                    }
                  ]
                }
              ],
              "ecosystem": "Ubuntu:22.04:LTS"
            }
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "lemon",
                "binary_version": "3.37.2-2ubuntu0.5"
              },
              {
                "binary_name": "libsqlite3-0",
                "binary_version": "3.37.2-2ubuntu0.5"
              },
              {
                "binary_name": "libsqlite3-tcl",
                "binary_version": "3.37.2-2ubuntu0.5"
              },
              {
                "binary_name": "sqlite3",
                "binary_version": "3.37.2-2ubuntu0.5"
              },
              {
                "binary_name": "sqlite3-tools",
                "binary_version": "3.37.2-2ubuntu0.5"
              }
            ],
            "availability": "No subscription required"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3.45.1-1ubuntu2.4"
                }
              ]
            }
          ],
          "package": {
            "name": "sqlite3",
            "purl": "pkg:deb/ubuntu/sqlite3?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "3.42.0-1",
            "3.44.0-1",
            "3.44.2-1",
            "3.45.0-1",
            "3.45.1-1",
            "3.45.1-1ubuntu1",
            "3.45.1-1ubuntu2",
            "3.45.1-1ubuntu2.1",
            "3.45.1-1ubuntu2.3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7676-1.json",
            "cves_map": {
              "cves": [
                {
                  "id": "CVE-2025-6965",
                  "severity": [
                    {
                      "type": "CVSS_V4",
                      "score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:L/VI:H/VA:L/SC:L/SI:H/SA:L/S:N/AU:N/R:U/V:D/RE:L/U:Green"
                    },
                    {
                      "type": "CVSS_V3",
                      "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:H/A:L"
                    },
                    {
                      "type": "Ubuntu",
                      "score": "medium"
                    }
                  ]
                }
              ],
              "ecosystem": "Ubuntu:24.04:LTS"
            }
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "lemon",
                "binary_version": "3.45.1-1ubuntu2.4"
              },
              {
                "binary_name": "libsqlite3-0",
                "binary_version": "3.45.1-1ubuntu2.4"
              },
              {
                "binary_name": "libsqlite3-tcl",
                "binary_version": "3.45.1-1ubuntu2.4"
              },
              {
                "binary_name": "sqlite3",
                "binary_version": "3.45.1-1ubuntu2.4"
              },
              {
                "binary_name": "sqlite3-tools",
                "binary_version": "3.45.1-1ubuntu2.4"
              }
            ],
            "availability": "No subscription required"
          }
        }
      ],
      "modified": "2026-10-27T04:16:08.767410288Z",
      "provider": "osv",
      "upstream": [
        "CVE-2025-6965",
        "UBUNTU-CVE-2025-6965"
      ],
      "references": [
        "https://ubuntu.com/security/notices/USN-7676-1",
        "https://ubuntu.com/security/CVE-2025-6965"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2025-6965",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 460185,
  "published_at": "2025-07-28T11:56:54+00:00"
}