Bug 2582082 (CVE-2026-134846)

Summary: CVE-2026-134846 postgresql-jdbc: org.postgresql/postgresql: postgresql-jdbc: Query response tampering via improper GSS encryption state handling
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: ant, aschwart, asyoung, aszczucz, boliveir, ccranfor, cescoffi, cmah, csuconic, dbruscin, drichtar, eglynn, ehelms, ewittman, fmongiar, gmalinko, gsmet, gtully, janstey, jjoyce, jmartisk, jpasqual, jpechane, jpretori, jschluet, jsherman, juwatts, kaycoth, kvanderr, lblicha, lhh, manderse, mburns, mgarciac, mhulan, mposolda, nipatil, ogajduse, olubyans, osousa, ozzy, pantinor, pdelbell, pjindal, prichard, rchan, rgemmell, rgodfrey, rguimara, rhel-process-autobot, rkubis, rmartinc, rstepani, sbiarozk, sdawley, smallamp, ssilvert, sthirugn, sthorger, tbish, tlavocat, tmielke, varjain, vmuzikar, watson-tool-maintainers, zhunting
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in the PostgreSQL JDBC Driver (pgjdbc). When using Generic Security Services (GSS) encrypted connections, the driver does not verify decryption token states and improperly shares message state properties between read and write operations. An attacker positioned on the network path can exploit this flaw to replay earlier server packets, causing the client to accept forged query answers. Furthermore, this issue can cause the driver to transmit subsequent database queries and parameters in plain text without encryption, leading to information disclosure.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2026-11-23 19:41:40 UTC
pgjdbc, the PostgreSQL JDBC Driver, does not check the token state that GSSContext.unwrap() reports on a GSS-encrypted connection. An attacker on the network path can replay an earlier server packet from the same connection, and the driver accepts it as the answer to the current query. The driver also shares one MessageProp between reading and writing. One integrity-only packet from the server then makes the driver send later SQL and parameters without encryption. Only connections with gssEncMode=prefer or require that start GSS encryption are affected. Versions 42.2.15 through 42.7.14 are affected, and 42.7.15 fixes the problem.