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

- Priority: **Routine**
- Reason: Not severe (CVSS 7.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-23 · Modified: 2026-11-23
- Aliases: DEBIAN-CVE-2026-134843, UBUNTU-CVE-2026-134843, CGA-4w3x-fhwr-q4rj, CGA-6mw8-f46h-qxvm, CGA-7jq5-8xmw-6phg, CGA-wcf2-cxxc-mh9w, CGA-4hcx-4phv-qv8p, CGA-mqj6-gpcw-x233, CGA-r7qf-6x9c-jpm5
- Record: https://cvemate.com/vulnerability/CVE-2026-134843 · JSON: https://cvemate.com/vulnerability/CVE-2026-134843/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.623%, percentile 51.334%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard flyway (Chainguard): \< 13.13.0-r3
- chainguard flyway-fips (Chainguard): \< 13.13.0-r1
- chainguard keycloak-26.8 (Chainguard): \< 26.8.2-r2
- chainguard keycloak-26.8-iamguarded-compat (Chainguard): \< 26.8.2-r2
- wolfi flyway (Wolfi): \< 13.13.0-r3
- debian libpgjava (Debian): All versions (No fix recorded) \| \< 42.7.15-1
- ubuntu libpgjava (Ubuntu): All versions (No fix recorded)
- pgjdbc pgjdbc: \< 42.7.15

## References

- <https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-cww3-qmc2-mjmr>
- <https://security-tracker.debian.org/tracker/CVE-2026-134843>
- <https://ubuntu.com/security/CVE-2026-134843>
- <https://www.cve.org/CVERecord?id=CVE-2026-134843>
- <https://repo.maven.apache.org/maven2>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134843.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-134843>
- <https://github.com/pgjdbc/pgjdbc>

---

Data as of 2026-12-05T05:19:02.174Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
