UBUNTU-CVE-2026-120061

Source
https://ubuntu.com/security/CVE-2026-120061
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-120061.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-120061
Upstream
  • CVE-2026-120061
Published
2026-11-03T00:00:00Z
Modified
2026-11-04T03:30:33Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

The psqlODBC parser for ODBC escape sequences in application SQL text writes the argument offsets of a {fn} escape into a fixed 16-entry stack array without a bound and does not initialize the array. An escape with too many arguments overflows the stack, and a reference to an unsupplied argument copies arbitrary bytes into the query. The copy of a {d}, {t}, {ts}, or {escape} body also writes one byte past a 128-byte stack buffer. An application that forwards untrusted SQL text to the driver exposes its process to memory corruption. Versions before psqlODBC 18.00.0006 are affected.

References

Affected packages

Ubuntu:16.04:LTS
psqlodbc

Package

Name
psqlodbc
Purl
pkg:deb/ubuntu/psqlodbc?arch=source&distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1:09.*
1:09.03.0300-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "odbc-postgresql",
            "binary_version": "1:09.03.0300-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-120061.json"
Ubuntu:18.04:LTS
psqlodbc

Package

Name
psqlodbc
Purl
pkg:deb/ubuntu/psqlodbc?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1:09.*
1:09.06.0410-1
1:10.*
1:10.00.0000-1
1:10.01.0000-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "odbc-postgresql",
            "binary_version": "1:10.01.0000-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-120061.json"
Ubuntu:20.04:LTS
psqlodbc

Package

Name
psqlodbc
Purl
pkg:deb/ubuntu/psqlodbc?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1:11.*
1:11.00.0000-1
1:12.*
1:12.00.0000-1
1:12.01.0000-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "odbc-postgresql",
            "binary_version": "1:12.01.0000-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-120061.json"
Ubuntu:22.04:LTS
psqlodbc

Package

Name
psqlodbc
Purl
pkg:deb/ubuntu/psqlodbc?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1:13.*
1:13.00.0000-1
1:13.02.0000-1
1:13.02.0000-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "odbc-postgresql",
            "binary_version": "1:13.02.0000-2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-120061.json"
Ubuntu:24.04:LTS
psqlodbc

Package

Name
psqlodbc
Purl
pkg:deb/ubuntu/psqlodbc?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1:15.*
1:15.00.0000-1
1:16.*
1:16.00.0000-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "odbc-postgresql",
            "binary_version": "1:16.00.0000-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-120061.json"
Ubuntu:26.04:LTS
psqlodbc

Package

Name
psqlodbc
Purl
pkg:deb/ubuntu/psqlodbc?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1:17.*
1:17.00.0006-2
1:17.00.0007-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "odbc-postgresql",
            "binary_version": "1:17.00.0007-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-120061.json"
Ubuntu:26.10
psqlodbc

Package

Name
psqlodbc
Purl
pkg:deb/ubuntu/psqlodbc?arch=source&distro=stonking

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1:17.*
1:17.00.0007-1
1:18.*
1:18.00.0001-1
1:18.00.0002-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "odbc-postgresql",
            "binary_version": "1:18.00.0002-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-120061.json"