---
title: "CVE-2025-6965\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2025-6965?format=md
keywords: index, follow
---

# CVE-2025-6965

Publication date 15 July 2025

Last updated 7 August 2026

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**7.7 · High**

[Score breakdown](https://ubuntu.com/security/CVE-2025-6965?format=md#impact-score)

Toggle side navigation

## Description

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.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| sqlite | 26.04 LTS resolute | Not in release |
| 25.10 questing | Not in release |
| 25.04 plucky | Not in release |
| 24.04 LTS noble | Not in release |
| 22.04 LTS jammy | Not affected |
| 20.04 LTS focal | Not affected |
| 18.04 LTS bionic | Not affected |
| 16.04 LTS xenial | Not affected |
| 14.04 LTS trusty | Not affected |
| sqlite3 | 26.04 LTS resolute | Fixed 3.46.1-6ubuntu1 |
| 25.10 questing | Fixed 3.46.1-6ubuntu1 |
| 25.04 plucky | Fixed 3.46.1-3ubuntu0.2 |
| 24.04 LTS noble | Fixed 3.45.1-1ubuntu2.4 |
| 22.04 LTS jammy | Fixed 3.37.2-2ubuntu0.5 |
| 20.04 LTS focal | Fixed 3.31.1-4ubuntu0.7+esm1  Ubuntu Pro |
| 18.04 LTS bionic | Fixed 3.22.0-1ubuntu0.7+esm2  Ubuntu Pro |
| 16.04 LTS xenial | Fixed 3.11.0-1ubuntu1.5+esm3  Ubuntu Pro |
| 14.04 LTS trusty | Fixed 3.8.2-1ubuntu2.2+esm5  Ubuntu Pro |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2025-6965?format=md#patch-details)

### Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

[Get Ubuntu Pro](https://ubuntu.com/pro)
[30-day free trial](https://ubuntu.com/pro/free-trial)

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| sqlite3 | * Upstream:   <https://www.sqlite.org/src/info/5508b56fd24016c13981ec280ecdd833007c9d8dd595edb295b984c2b487b5c8> |

## Severity score breakdown

CVSS version:

CVSS v4.0

[CVSS v4.0](https://ubuntu.com/security/CVE-2025-6965?format=md)
[CVSS v3.0](https://ubuntu.com/security/CVE-2025-6965?format=md)

**Base score**

7.2 · High

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | High |
  | Attack requirements | Present |
  | Privileges required | Low |
  | User interaction | None |
  | Vulnerable system - Confidentiality impact | Low |
  | Vulnerable system - Integrity impact | High |
  | Vulnerable system - Availability impact | Low |
  | Subsequent system - Confidentiality impact | Low |
  | Subsequent system - Integrity impact | High |
  | Subsequent system - Availability impact | Low |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 7.2 · High |
  | Base + Threat score | - |
  | Base + Environmental score | - |
  | Base + Threat + Environmental score | - |

**Vector:** 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

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-6965)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2025-6965)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2025-6965)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2025-6965)

### Related Ubuntu Security Notices (USN)

+ [USN-7676-1](https://usn.ubuntu.com/USN-7676-1)
+ SQLite vulnerability
+ 28 July 2025

+ [USN-7679-1](https://usn.ubuntu.com/USN-7679-1)
+ SQLite vulnerabilities
+ 29 July 2025

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2025-6965>
