CVE-2026-107313Pgjdbc vulnerability
CVSS score
4.2
Medium
CVSS 3.1 from f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
Exploit probability (EPSS)
0.14%
0.14% chance of exploitation in the next 30 days, higher than 3.66% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official description
pgjdbc, the PostgreSQL JDBC Driver, versions 42.7.4 and 42.7.5 can send the previous contents of the GSS send buffer in place of the first part of a value on a connection with GSS encryption (gssEncMode=prefer or require), and the server stores the value without an error. The buffer is 16320 bytes with MIT Kerberos. The stored value then holds bytes of the messages the driver sent just before it on the same connection, such as the statement's SQL text, its other parameters, and earlier rows of the same batch, instead of the bytes the application supplied. Values at least as long as the buffer are affected when the driver writes them from a byte array: bind parameters set with setString, setBytes, or a ByteStreamWriter, CopyIn.writeToCopy, and LargeObject.write. Most such writes fail with an ArrayIndexOutOfBoundsException instead. The default, gssEncMode=allow, does not start GSS encryption, and connections without GSS encryption are not affected. Versions 42.7.3 and earlier are not affected, and 42.7.6 fixes the problem.
Source: NVD · CNA: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
How to fix it, step by step
Check whether you're affected
Find every system running Pgjdbc and compare its version with the affected versions.
Update to a fixed version
- Update Pgjdbc to 42.7.6 or later.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
Affected products
| Affected products | Versions |
|---|---|
| pgjdbc Pgjdbc | ≥ 42.7.4, < 42.7.6 |
Weakness
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-107313 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.1% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-107313?
CVE-2026-107313 has a CVSS 3.1 base score of 4.2 (medium).
Which versions are affected?
Pgjdbc Pgjdbc (≥ 42.7.4, < 42.7.6)
Is there a patch for CVE-2026-107313?
The official record links to vendor advisories or patches; see “What to do” above.
References
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.