CVE-2026-134845

Source
https://cve.org/CVERecord?id=CVE-2026-134845
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-134845.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-134845
Aliases
  • GHSA-3mrw-838h-x9j9
Downstream
Published
2026-11-23T16:59:16Z
Modified
2026-11-23T20:45:49Z
Severity
  • 7.4 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
Summary
pgjdbc does not enforce TLS for some ssl, service and DataSource settings
Details

pgjdbc, the PostgreSQL JDBC Driver, does not enforce TLS for some settings that ask for it. When sslmode is not set, an ssl value such as 1, on, yes or verify-full gives sslmode=prefer, or no TLS before 42.2.5. A service given in the Properties instead of the URL is ignored, so the sslmode of its pg_service.conf entry is lost. BaseDataSource.setUrl() keeps an sslmode, channelBinding or gssEncMode that was set before it. An attacker on the network path can then read and change the traffic. Versions 9.4.1208 through 42.7.14 are affected, and 42.7.15 fixes the problem.

Database specific
{
    "cna_assigner":  "PostgreSQL",
    "cwe_ids":  [
        "CWE-295",
        "CWE-319"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134845.json",
    "unresolved_ranges":  [
        {
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "introduced":  "9.4.1208"
                        },
                        {
                            "fixed":  "42.7.15"
                        }
                    ],
                    "source":  "AFFECTED_FIELD",
                    "strategy":  "StandardRange"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/pgjdbc/pgjdbc

Affected ranges

Type
GIT
Repo
https://github.com/pgjdbc/pgjdbc
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Introduced
Last Affected
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "fixed":  "42.2.5"
                }
            ],
            "source":  "DESCRIPTION"
        },
        {
            "range":  [
                {
                    "introduced":  "9.4.1208"
                },
                {
                    "last_affected":  "42.7.14"
                }
            ],
            "source":  "DESCRIPTION"
        }
    ]
}

Affected versions

REL42.*
REL42.0.0
REL42.1.0
REL42.1.1
REL42.1.2
REL42.1.3
REL42.1.4
REL42.2.0
REL42.2.1
REL42.2.2
REL42.2.3
REL42.2.4
REL9.*
REL9.4.1208
REL9.4.1209
REL9.4.1210
REL9.4.1211
REL9.4.1212

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-134845.json"