Skip to main content
CVE-2026-107315VulnerabilityPublished Updated

Libpgjava: pgjdbc, the PostgreSQL JDBC Driver, versions 42.7.4 through 42.7.13 pads a value that is shorter than its

Affects libpgjavaSource GCVE Database

0
Compare

Not known to be exploited · CVSS 5.3 Medium.

Data as of 30 Nov 2026, 18:36 UTC

CVSS 3.1 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 5% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 8 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10libpgjavapkg:deb/ubuntu/libpgjava?arch=source&distro=stonkingOther threatsAffected
  • 42.7.10-1 – 42.7.13-1
4 affected builds
Fixed in–
Ubuntu 26.04 LTSlibpgjavapkg:deb/ubuntu/libpgjava?arch=source&distro=resoluteOther threatsAffected
  • 42.7.7-1 – 42.7.10-1
5 affected builds
Fixed in–
Ubuntu 24.04 LTSlibpgjavapkg:deb/ubuntu/libpgjava?arch=source&distro=nobleOther threatsAffected
  • 42.5.4-1 – 42.7.2-1
5 affected builds
Fixed in–
Ubuntu 22.04 LTSlibpgjavapkg:deb/ubuntu/libpgjava?arch=source&distro=jammyOther threatsAffected
  • 42.2.23-1 – 42.3.3-1
5 affected builds
Fixed in–
Ubuntu Pro 20.04 LTSlibpgjavapkg:deb/ubuntu/libpgjava?arch=source&distro=esm-apps/focalOther threatsAffected
  • 42.2.6-1 – 42.2.10-1ubuntu0.1~esm1
5 affected builds
Fixed in–
Ubuntu Pro 18.04 LTSlibpgjavapkg:deb/ubuntu/libpgjava?arch=source&distro=esm-apps/bionicOther threatsAffected
  • =9.4.1212-1
  • =9.4.1212-1ubuntu0.1~esm1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Applications should ensure that declared lengths always match the actual data length when using the affected methods to avoid triggering the padding issue. Until a fix is available, avoid using vulnerable versions or carefully validate input lengths to prevent leakage.

Description

A vulnerability in the PostgreSQL JDBC Driver (pgjdbc) versions 42.7.4 through 42.7.13 causes padding of values shorter than their declared length with leftover bytes from the driver's send buffer instead of zeros. These leftover bytes include SQL text and parameter values from previous statements on the same connection, potentially exposing sensitive data from other requests. This occurs when applications use certain methods to set data with declared lengths larger than the actual data. Versions 42.7.3 and earlier do not exhibit this behavior.

References

Community reviews

Loading reviews…