Bug 2582084 (CVE-2026-134843) - CVE-2026-134843 org.postgresql/postgresql: postgresql-jdbc: postgresql-jdbc: Arbitrary SQL command execution via unhandled request exception
Summary: CVE-2026-134843 org.postgresql/postgresql: postgresql-jdbc: postgresql-jdbc: ...
Keywords:
Status: NEW
Alias: CVE-2026-134843
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-23 19:41 UTC by OSIDB Bzimport
Modified: 2026-11-23 19:51 UTC (History)
66 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-23 19:41:47 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.