# CVE-2026-134843: pgjdbc leaves a half-written message on the connection after an unchecked exception

- Severity: High 7.5 (CVSS:3.1, scored by PostgreSQL) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.62%, higher than 51% of CVEs (2026-12-01)
- Published: 2026-11-23T16:59:15.550Z
- Modified: 2026-11-24T18:56:39.360Z
- Weaknesses: CWE-89, CWE-755
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: PostgreSQL

## Description

pgjdbc, the PostgreSQL JDBC Driver, does not close the connection when an unchecked exception interrupts a request. Part of a Bind message stays in the send buffer, and the server reads the bytes that follow as the rest of it. The bytes of a value uploaded later on the same connection can then run as a SQL command. Since 42.6.0 a setBinaryStream() value without a length that is executed again throws such an exception, as does the driver's own retry after SQLState 0A000 or 26000. An application stream that throws an unchecked exception has the same effect in all versions. All versions before 42.7.15 are affected, and 42.7.15 fixes the problem.

(As written by CVE List.)

## Affected

- org.postgresql:postgresql: before 42.7.15

## References

- <https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-cww3-qmc2-mjmr> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-134843](https://www.cve.org/CVERecord?id=CVE-2026-134843), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-134843](https://nvd.nist.gov/vuln/detail/CVE-2026-134843), Public domain, modified 2026-11-24

---

Page: https://cve.day/CVE-2026-134843 · Whole record: https://cve.day/CVE-2026-134843.json · Rebuilt by cve.day 2026-11-25T22:59:52.672Z
