HighFix available
sqlite3 — security advisory
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.
- Products
- sqlite3
- Affected versions
- 3.40.1-2, 3.40.1-2+deb12u1
- Fixed versions
- 3.40.1-2+deb12u2, 3.46.1-7
- CVEs
- CVE-2025-6965
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 30 Oct 2026, 16:36 UTC · Revision 1
Source evidence
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.
osv:DEBIAN-CVE-2025-6965
sqlite3
Fixed versions: 3.40.1-2+deb12u2
sqlite3
Fixed versions: 3.46.1-7
sqlite3
Fixed versions: 3.46.1-7
Complete source record
{
"id": "c890203887cff6d69547a23a48a1f481b23b9d1b4ec42f19cfe61ce4f53cfa60",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2025-6965",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2025-6965",
"summary": "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.",
"evidence": "osv:DEBIAN-CVE-2025-6965",
"products": [
{
"name": {
"value": "sqlite3",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3.40.1-2+deb12u2",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": [
{
"value": "3.40.1-2",
"evidence": "/affected/0/versions"
},
{
"value": "3.40.1-2+deb12u1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "sqlite3",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3.46.1-7",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "sqlite3",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3.46.1-7",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2025-6965",
"aliases": [
"DEBIAN-CVE-2025-6965"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:H/A:L"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.40.1-2+deb12u2"
}
]
}
],
"package": {
"name": "sqlite3",
"purl": "pkg:deb/debian/sqlite3?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"3.40.1-2",
"3.40.1-2+deb12u1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-6965.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.46.1-7"
}
]
}
],
"package": {
"name": "sqlite3",
"purl": "pkg:deb/debian/sqlite3?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-6965.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.46.1-7"
}
]
}
],
"package": {
"name": "sqlite3",
"purl": "pkg:deb/debian/sqlite3?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-6965.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-15T09:47:33.893039637Z",
"provider": "osv",
"upstream": [
"CVE-2025-6965"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2025-6965"
]
},
"related_cves": [
{
"value": "CVE-2025-6965",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 327715,
"published_at": "2025-07-15T14:15:31.08+00:00"
}