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
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
- 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:NExploitation evidence
Disclosed: evidence found.
CVE published 7 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSlibpgjavapkg:deb/ubuntu/libpgjava?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlibpgjavapkg:deb/ubuntu/libpgjava?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu Pro 20.04 LTSlibpgjavapkg:deb/ubuntu/libpgjava?arch=source&distro=esm-apps/focalOther threats | Affected
| Fixed in– |
Ubuntu Pro 18.04 LTSlibpgjavapkg:deb/ubuntu/libpgjava?arch=source&distro=esm-apps/bionicOther threats | Affected
| Fixed in– |
Ubuntu 16.04 LTSlibpgjavapkg:deb/ubuntu/libpgjava?arch=source&distro=xenialOther threats | Affected
| Fixed in– |
Ubuntu 14.04 LTSlibpgjavapkg:deb/ubuntu/libpgjava?arch=source&distro=trustyOther threats | Affected
| 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
- ubuntu.com/security/CVE-2026-107313 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-107313 (opens in a new tab)
- github.com/pgjdbc/pgjdbc/security/advisories/GHSA-hggc-j2qh-988m (opens in a new tab)
- github.com/pgjdbc/pgjdbc/pull/3500 (opens in a new tab)
- github.com/pgjdbc/pgjdbc/commit/96f6862bb6bcadde7620688c7bce73f2d01a7ebb (opens in a new tab)