UBUNTU-CVE-2026-107315

Source
https://ubuntu.com/security/CVE-2026-107315
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-107315.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-107315
Upstream
Published
2026-10-08T00:00:00Z
Modified
2026-10-08T19:47:06Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

pgjdbc, the PostgreSQL JDBC Driver, versions 42.7.4 through 42.7.13 pads a value that is shorter than its declared length with bytes left in its send buffer instead of zeros, and the server stores those bytes as part of the value. The bytes are messages the driver sent earlier on the same connection: SQL text and parameter values of recent statements, which on a pooled connection can come from other requests. Each padded value can carry up to 8192 bytes of this traffic, or 16320 bytes on a connection with GSS encryption. The padding happens when an application declares a length larger than the data it supplies, through PreparedStatement.setObject with a ByteStreamWriter, CopyIn.writeToCopy, PGCopyOutputStream.write, LargeObject.write, or Blob.setBytes. The driver accepts these calls without an error. An attacker who can make the application store such a value and read it back can collect earlier traffic. Applications whose declared lengths always match their data are not affected. Versions 42.7.3 and earlier pad with zeros.

References

Affected packages

Ubuntu:14.04:LTS
libpgjava

Package

Name
libpgjava
Purl
pkg:deb/ubuntu/libpgjava?arch=source&distro=trusty

Affected ranges

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

Affected versions

9.*
9.2-1002-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libpg-java",
            "binary_version": "9.2-1002-1"
        },
        {
            "binary_name": "libpostgresql-jdbc-java",
            "binary_version": "9.2-1002-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-107315.json"
Ubuntu:16.04:LTS
libpgjava

Package

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

Affected ranges

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

Affected versions

9.*
9.2-1002-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libpg-java",
            "binary_version": "9.2-1002-1"
        },
        {
            "binary_name": "libpostgresql-jdbc-java",
            "binary_version": "9.2-1002-1"
        }
    ]
}

Database specific

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

Package

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

Affected ranges

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

Affected versions

42.*
42.2.23-1
42.2.24-1
42.3.1-1
42.3.2-1
42.3.3-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libpostgresql-jdbc-java",
            "binary_version": "42.3.3-1"
        }
    ]
}

Database specific

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

Package

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

Affected ranges

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

Affected versions

42.*
42.5.4-1
42.6.0-2
42.7.0-1
42.7.1-1
42.7.2-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libpostgresql-jdbc-java",
            "binary_version": "42.7.2-1"
        }
    ]
}

Database specific

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

Package

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

Affected ranges

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

Affected versions

42.*
42.7.7-1
42.7.8-1
42.7.8-2
42.7.9-1
42.7.10-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libpostgresql-jdbc-java",
            "binary_version": "42.7.10-1"
        }
    ]
}

Database specific

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

Package

Name
libpgjava
Purl
pkg:deb/ubuntu/libpgjava?arch=source&distro=esm-apps%2Fbionic

Affected ranges

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

Affected versions

9.*
9.4.1212-1
9.4.1212-1ubuntu0.1~esm1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libpostgresql-jdbc-java",
            "binary_version": "9.4.1212-1ubuntu0.1~esm1"
        }
    ]
}

Database specific

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

Package

Name
libpgjava
Purl
pkg:deb/ubuntu/libpgjava?arch=source&distro=esm-apps%2Ffocal

Affected ranges

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

Affected versions

42.*
42.2.6-1
42.2.8-1
42.2.9-1
42.2.10-1
42.2.10-1ubuntu0.1~esm1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libpostgresql-jdbc-java",
            "binary_version": "42.2.10-1ubuntu0.1~esm1"
        }
    ]
}

Database specific

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