Download Latest Version postgresql-42.7.11.jar (1.1 MB)
Email in envelope

Get an email when there's a new version of PostgreSQL JDBC Driver

Home / REL42.7.11
Name Modified Size InfoDownloads / Week
Parent folder
postgresql-42.7.11.jar 2026-04-28 1.1 MB
README.md 2026-04-28 6.8 kB
v42.7.11 source code.tar.gz 2026-04-28 2.4 MB
v42.7.11 source code.zip 2026-04-28 3.0 MB
Totals: 4 Items   6.6 MB 13

Security

  • fix: Limit SCRAM PBKDF2 iterations accepted from the server. pgjdbc was vulnerable to a client-side denial of service in SCRAM-SHA-256 authentication, where a malicious or compromised PostgreSQL server could specify an extremely large PBKDF2 iteration count, causing the client to consume unbounded CPU and potentially exhaust connection pools. The fix introduces a new scramMaxIterations connection property (defaulting to 100,000) to cap iteration counts before computation begins. See the Security Advisory for more detail. The following CVE-2026-42198 has been issued.

Changes

  • fix: Add sources and javadocs to shaded published lib generation @sehrope (#4043)
  • update Changelog and website for release of 42.7.11 @davecramer (#4042)
  • Fix scram fix location in changelog and update published artifact developer list @sehrope (#4041)
  • Restrict test with scram_iterations to v16+ and release notes @sehrope (#4040)
  • chore(deps): update ubuntu:24.04 docker digest to 84e77de @renovate-bot (#4017)
  • test: add tests for QueryExecutor#getTransactionState @vlsi (#4006)
  • chore(deps): update actions/create-github-app-token action to v2.2.2 @renovate-bot (#3983)
  • fix: fix flaky CopyBothResponseTest by using WAL flush LSN @vlsi (#3979)
  • fix: fix flaky replication restart tests by waiting for confirmed_flush_lsn @vlsi (#3975)
  • test: fix flaky LogicalReplicationStatusTest by polling pg_stat_replication @vlsi (#3974)
  • chore: replace Appveyor with ikalnytskyi/action-setup-postgres @vlsi (#3966)
  • test: move test table creation from @BeforeEach to @BeforeAll @vlsi (#3967)
  • Return jsonb as PGObject fixes Issue [#3926] @davecramer (#3956)
  • Update docker scripts @davecramer (#3958)
  • implement require_auth, this is pretty much how libpq does this. @davecramer (#3895)
  • docs: add SCRAM authentication test setup section to TESTING.md @emmaeng700 (#3945)
  • Add RequireServerVersion annotation for tests @sehrope (#3939)

šŸ› Bug Fixes

  • fix: ensure extended protocol messages end with Sync message @vlsi (#3728)
  • fix: enable cursor-based fetching in extended protocol when transaction started via SQL command @vlsi (#3996)
  • fix: retry with SSL on IOException when sslMode=ALLOW @vlsi (#3973)
  • fix: allow fallback to non-SSL connection when sslMode=prefer and sslResponseTimeout kicks in @vlsi (#3968)
  • fix: catch SecurityException from setContextClassLoader on ForkJoinPool workers @vlsi (#3962)
  • fix: use compareTo for LogSequenceNumber comparison @vlsi (#3961)
  • fix: release COPY lock on IOException to prevent connection hang (#3957) @vlsi (#3960)

🧰 Maintenance

  • style: replace @exception with @throws in getBoolean javadoc @vlsi (#4035)
  • chore: use @vlsi/github-actions-random-matrix npm package @vlsi (#4008)
  • chore: use tag names for pinning github actions, pin ikalnytskyi/action-setup-postgres @vlsi (#4007)
  • chore: bump errorprone to 2.48.0 @vlsi (#4005)
  • test: add @DisableLogger annotation to suppress expected log warnings in tests @vlsi (#3971)
  • chore: suppress deprecations in test code to reduce build verbosity @vlsi (#3972)
  • chore: replace log warning in ConnectionFactory.closeStream with Throwable.addSuppressed @vlsi (#3970)
  • chore: use greedy pairwise coverage for CI matrix generation @vlsi (#3965)
  • chore: use full version tags in GitHub Actions comments @vlsi (#3963)

ā¬†ļø Dependencies

36 changes - fix(deps): update dependency org.openrewrite.rewrite:org.openrewrite.rewrite.gradle.plugin to v7.30.0 @renovate-bot (#4031) - chore(deps): update actions/checkout action to v6 @renovate-bot (#4032) - chore(deps): update actions/configure-pages action to v6 @renovate-bot (#4033) - chore(deps): update actions/create-github-app-token action to v3 @renovate-bot (#4034) - chore(deps): update github/codeql-action action to v3.35.1 @renovate-bot (#4025) - fix(deps): update dependency org.roaringbitmap:roaringbitmap to v1.6.14 @renovate-bot (#4024) - chore(deps): update plugin com.gradle.develocity to v4.4.0 @renovate-bot (#4026) - fix(deps): update dependency net.bytebuddy:byte-buddy-parent to v1.18.8 - autoclosed @renovate-bot (#4028) - fix(deps): update checkerframework to v3.55.1 @renovate-bot (#4029) - fix(deps): update dependency net.bytebuddy:byte-buddy-parent to v1.18.8-jdk5 @renovate-bot (#4023) - chore(deps): update plugin biz.aqute.bnd.builder to v7.2.3 @renovate-bot (#4020) - chore(deps): update dependency sbt/sbt to v1.12.9 @renovate-bot (#4019) - chore(deps): update codecov/codecov-action action to v5.5.4 @renovate-bot (#4018) - fix(deps): update dependency com.gradleup.shadow:com.gradleup.shadow.gradle.plugin to v9.4.1 @renovate-bot (#4021) - fix(deps): update dependency net.bytebuddy:byte-buddy-agent to v1.18.8 @renovate-bot (#4022) - chore: bump errorprone to 2.48.0 @vlsi (#4005) - fix(deps): update dependency net.ltgt.errorprone:net.ltgt.errorprone.gradle.plugin to v4.4.0 @renovate-bot (#4000) - chore(deps): update ubuntu:24.04 docker digest to 186072b @renovate-bot (#3982) - chore(deps): update plugin org.gradlex.build-parameters to v1.4.5 @renovate-bot (#3985) - fix(deps): update checkerframework to v3.54.0 @renovate-bot (#3997) - fix(deps): update com.gradleup.nmcp to v1.4.4 @renovate-bot (#3998) - chore(deps): update plugin org.jetbrains.kotlin.jvm to v2.3.20 @renovate-bot (#3994) - chore(deps): update release-drafter/release-drafter action to v6.4.0 @renovate-bot (#3995) - chore(deps): update plugin biz.aqute.bnd.builder to v7.2.1 @renovate-bot (#3991) - chore(deps): update plugin com.gradle.develocity to v4.3.2 @renovate-bot (#3992) - chore(deps): update dependency sbt/sbt to v1.12.6 @renovate-bot (#3989) - chore(deps): update github/codeql-action action to v3.34.1 @renovate-bot (#3990) - fix(deps): update dependency org.ops4j.pax.url:pax-url-aether to v3.0.2 @renovate-bot (#3987) - fix(deps): update logback to v1.5.32 @renovate-bot (#3988) - fix(deps): update dependency net.bytebuddy:byte-buddy-parent to v1.18.7 @renovate-bot (#3986) - chore(deps): update codecov/codecov-action action to v5.5.3 @renovate-bot (#3984) - fix(deps): update dependency org.junit:junit-bom to v5.14.3 @renovate-bot (#3969) - chore(deps): update plugin com.github.burrunan.s3-build-cache to v1.9.5 @renovate-bot (#3918) - fix(deps): update dependency net.bytebuddy:byte-buddy-agent to v1.18.7 @renovate-bot (#3950) - chore(deps): update release-drafter/release-drafter digest to 267d2e0 @renovate-bot (#3920) - fix(deps): update dependency net.bytebuddy:byte-buddy-agent to v1.18.4 @renovate-bot (#3919)
Source: README.md, updated 2026-04-28