Skip to main content
CVE-2026-107313VulnerabilityPublished Updated

Libpgjava: pgjdbc, the PostgreSQL JDBC Driver, versions 42.7.4 and 42.7.5 can send the previous contents of the GSS

Affects libpgjavaSource GCVE Database

0
Compare

Not known to be exploited · CVSS 4.2 Medium · fixed in 42.7.6 : update libpgjava when convenient.

Data as of 30 Nov 2026, 18:36 UTC

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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 7 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 1 Dec 2026.

What to do

Affected software

ProductAffectedFixed 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–
Ubuntu 16.04 LTSlibpgjavapkg:deb/ubuntu/libpgjava?arch=source&distro=xenialOther threatsAffected
  • =9.2-1002-1
Fixed in–
Ubuntu 14.04 LTSlibpgjavapkg:deb/ubuntu/libpgjava?arch=source&distro=trustyOther threatsAffected
  • =9.2-1002-1
Fixed in–

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

AI-suggested

Upgrade pgjdbc to version 42.7.6 or later, where this issue is fixed. Connections using the default GSS encryption mode 'allow' or without GSS encryption are not affected. No other mitigation is indicated by the vendor advisory.

Description

A vulnerability in pgjdbc, the PostgreSQL JDBC Driver versions 42.7.4 and 42.7.5, causes the driver to send previous contents of the GSS send buffer instead of the intended data when using GSS encryption modes 'prefer' or 'require'. This results in the server storing unintended bytes from prior messages, such as SQL statements and parameters, in place of the application's supplied values. Versions 42.7.3 and earlier are not affected, and the issue is fixed in version 42.7.6. Connections without GSS encryption or using the default 'allow' mode are not affected.

References

Community reviews

Loading reviews…