ubuntu-cve-2025-6965
Vulnerability from osv_ubuntu
Published
2025-07-15 14:15
Modified
2026-06-29 11:20
Summary
Details

There exists a vulnerability in SQLite versions before 3.50.2 where the number of aggregate terms could exceed the number of columns available. This could lead to a memory corruption issue. We recommend upgrading to version 3.50.2 or above.


{
  "affected": [
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "lemon",
            "binary_version": "3.8.2-1ubuntu2.2+esm5"
          },
          {
            "binary_name": "libsqlite3-0",
            "binary_version": "3.8.2-1ubuntu2.2+esm5"
          },
          {
            "binary_name": "libsqlite3-tcl",
            "binary_version": "3.8.2-1ubuntu2.2+esm5"
          },
          {
            "binary_name": "sqlite3",
            "binary_version": "3.8.2-1ubuntu2.2+esm5"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:14.04:LTS",
        "name": "sqlite3",
        "purl": "pkg:deb/ubuntu/sqlite3@3.8.2-1ubuntu2.2+esm5?arch=source\u0026distro=esm-infra-legacy/trusty"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.8.2-1ubuntu2.2+esm5"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.7.17-1ubuntu1",
        "3.8.0.2-1ubuntu1",
        "3.8.1-1ubuntu1",
        "3.8.1-1ubuntu3",
        "3.8.2-1ubuntu1",
        "3.8.2-1ubuntu2",
        "3.8.2-1ubuntu2.1",
        "3.8.2-1ubuntu2.2",
        "3.8.2-1ubuntu2.2+esm1",
        "3.8.2-1ubuntu2.2+esm2",
        "3.8.2-1ubuntu2.2+esm3",
        "3.8.2-1ubuntu2.2+esm4"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "lemon",
            "binary_version": "3.11.0-1ubuntu1.5+esm3"
          },
          {
            "binary_name": "libsqlite3-0",
            "binary_version": "3.11.0-1ubuntu1.5+esm3"
          },
          {
            "binary_name": "libsqlite3-tcl",
            "binary_version": "3.11.0-1ubuntu1.5+esm3"
          },
          {
            "binary_name": "sqlite3",
            "binary_version": "3.11.0-1ubuntu1.5+esm3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "sqlite3",
        "purl": "pkg:deb/ubuntu/sqlite3@3.11.0-1ubuntu1.5+esm3?arch=source\u0026distro=esm-infra/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.11.0-1ubuntu1.5+esm3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.8.11.1-1",
        "3.9.1-2",
        "3.9.2-1",
        "3.10.0-1",
        "3.10.1-1",
        "3.10.2-1",
        "3.11.0-1ubuntu1",
        "3.11.0-1ubuntu1.1",
        "3.11.0-1ubuntu1.2",
        "3.11.0-1ubuntu1.3",
        "3.11.0-1ubuntu1.4",
        "3.11.0-1ubuntu1.5",
        "3.11.0-1ubuntu1.5+esm1",
        "3.11.0-1ubuntu1.5+esm2"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "lemon",
            "binary_version": "3.22.0-1ubuntu0.7+esm2"
          },
          {
            "binary_name": "libsqlite3-0",
            "binary_version": "3.22.0-1ubuntu0.7+esm2"
          },
          {
            "binary_name": "libsqlite3-tcl",
            "binary_version": "3.22.0-1ubuntu0.7+esm2"
          },
          {
            "binary_name": "sqlite3",
            "binary_version": "3.22.0-1ubuntu0.7+esm2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "sqlite3",
        "purl": "pkg:deb/ubuntu/sqlite3@3.22.0-1ubuntu0.7+esm2?arch=source\u0026distro=esm-infra/bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.22.0-1ubuntu0.7+esm2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.19.3-3",
        "3.20.1-2",
        "3.21.0-1",
        "3.22.0-1",
        "3.22.0-1ubuntu0.1",
        "3.22.0-1ubuntu0.2",
        "3.22.0-1ubuntu0.3",
        "3.22.0-1ubuntu0.4",
        "3.22.0-1ubuntu0.5",
        "3.22.0-1ubuntu0.6",
        "3.22.0-1ubuntu0.7",
        "3.22.0-1ubuntu0.7+esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "lemon",
            "binary_version": "3.31.1-4ubuntu0.7+esm1"
          },
          {
            "binary_name": "libsqlite3-0",
            "binary_version": "3.31.1-4ubuntu0.7+esm1"
          },
          {
            "binary_name": "libsqlite3-tcl",
            "binary_version": "3.31.1-4ubuntu0.7+esm1"
          },
          {
            "binary_name": "sqlite3",
            "binary_version": "3.31.1-4ubuntu0.7+esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:20.04:LTS",
        "name": "sqlite3",
        "purl": "pkg:deb/ubuntu/sqlite3@3.31.1-4ubuntu0.7+esm1?arch=source\u0026distro=esm-infra/focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.31.1-4ubuntu0.7+esm1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.29.0-2",
        "3.30.1-1",
        "3.30.1-1ubuntu1",
        "3.31.1-1ubuntu1",
        "3.31.1-3",
        "3.31.1-4",
        "3.31.1-4ubuntu0.1",
        "3.31.1-4ubuntu0.2",
        "3.31.1-4ubuntu0.3",
        "3.31.1-4ubuntu0.4",
        "3.31.1-4ubuntu0.5",
        "3.31.1-4ubuntu0.6",
        "3.31.1-4ubuntu0.7"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "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"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "sqlite3",
        "purl": "pkg:deb/ubuntu/sqlite3@3.37.2-2ubuntu0.5?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.37.2-2ubuntu0.5"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "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"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "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"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "sqlite3",
        "purl": "pkg:deb/ubuntu/sqlite3@3.45.1-1ubuntu2.4?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.45.1-1ubuntu2.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "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"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "lemon",
            "binary_version": "3.46.1-6ubuntu1"
          },
          {
            "binary_name": "libsqlite3-0",
            "binary_version": "3.46.1-6ubuntu1"
          },
          {
            "binary_name": "libsqlite3-ext-csv",
            "binary_version": "3.46.1-6ubuntu1"
          },
          {
            "binary_name": "libsqlite3-ext-icu",
            "binary_version": "3.46.1-6ubuntu1"
          },
          {
            "binary_name": "libsqlite3-tcl",
            "binary_version": "3.46.1-6ubuntu1"
          },
          {
            "binary_name": "sqlite3",
            "binary_version": "3.46.1-6ubuntu1"
          },
          {
            "binary_name": "sqlite3-tools",
            "binary_version": "3.46.1-6ubuntu1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:25.10",
        "name": "sqlite3",
        "purl": "pkg:deb/ubuntu/sqlite3@3.46.1-6ubuntu1?arch=source\u0026distro=questing"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.46.1-6ubuntu1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.46.1-3",
        "3.46.1-4",
        "3.46.1-6"
      ]
    }
  ],
  "aliases": [],
  "details": "There exists a vulnerability in SQLite versions before 3.50.2 where the number of aggregate terms could exceed the number of columns available. This could lead to a memory corruption issue. We recommend upgrading to version 3.50.2 or above.",
  "id": "UBUNTU-CVE-2025-6965",
  "modified": "2026-06-29T11:20:08Z",
  "published": "2025-07-15T14:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2025-6965"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2025-6965"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-7676-1"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-7679-1"
    }
  ],
  "related": [
    "USN-7676-1",
    "USN-7679-1"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "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_V4"
    },
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:H/A:L",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2025-6965"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…