CVE-2026-134841

Source
https://cve.org/CVERecord?id=CVE-2026-134841
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-134841.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-134841
Aliases
  • GHSA-4743-5rfh-f7mp
Downstream
CGA (8)
CLEANSTART (1)
DEBIAN (1)
openSUSE (1)
UBUNTU (1)
Related
Published
2026-11-23T16:59:14Z
Modified
2026-11-28T17:27:50Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
pgjdbc parses quoted text as SQL in JDBC escapes, dollar quotes and E strings
Details

pgjdbc, the PostgreSQL JDBC Driver, misreads some quoted text in its query parser. A } inside a literal ends a JDBC escape such as {ts}, and the rest of the literal is translated as SQL. A dollar quote whose tag has a non-ASCII symbol or space is not recognized. An E'' string with a doubled quote is scanned as a standard string. {fn right} and {fn timestampdiff} with a negative argument produce a -- comment. In each case text that the application quoted correctly can run as SQL with the privileges of the application's database role. All versions before 42.7.15 are affected, and 42.7.15 fixes the problem.

Database specific
{
    "cna_assigner":  "PostgreSQL",
    "cwe_ids":  [
        "CWE-89"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134841.json"
}
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
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "fixed":  "42.7.15"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "fixed":  "42.7.15"
                }
            ],
            "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.10
REL42.2.11
REL42.2.12
REL42.2.13
REL42.2.14
REL42.2.14-rc1
REL42.2.15
REL42.2.15-rc1
REL42.2.15-rc2
REL42.2.16
REL42.2.16-rc2
REL42.2.2
REL42.2.3
REL42.2.4
REL42.2.5
REL42.2.6
REL42.2.7
REL42.2.8
REL42.2.9
REL42.3.0
REL42.3.0-rc1
REL42.3.0-rc2
REL42.3.1
REL42.3.1-rc1
REL42.3.1-rc2
REL42.3.2
REL42.3.2-rc2
REL42.3.3
REL42.3.3-rc1
REL42.3.4
REL42.3.4-rc1
REL42.3.5
REL42.3.5-rc1
REL42.3.6
REL42.3.6-rc1
REL42.4.0
REL42.4.0-rc1
REL42.4.1
REL42.4.1-rc1
REL42.4.2
REL42.4.2-rc1
REL42.5.0
REL42.5.0-rc1
REL42.5.1
REL42.5.1-rc1
REL42.5.2
REL42.5.2-rc1
REL42.5.2-rc2
REL42.6.0
REL42.6.0-rc1
REL42.7.0
REL42.7.0-rc3
REL42.7.1
REL42.7.1-rc1
REL42.7.1-rc2
REL42.7.10
REL42.7.11
REL42.7.13
REL42.7.14
REL42.7.2
REL42.7.2-rc1
REL42.7.2-rc2
REL42.7.2-rc3
REL42.7.2-rc4
REL42.7.2-rc5
REL42.7.3
REL42.7.3-rc1
REL42.7.4
REL42.7.4-rc1
REL42.7.5
REL42.7.5-rc1
REL42.7.6
REL42.7.6-rc1
REL42.7.7
REL42.7.7-rc1
REL42.7.8
REL42.7.9
Other
REL6_5
REL7_0
REL7_1
REL7_1_BETA
REL7_1_BETA2
REL7_1_BETA3
REL7_2
REL7_2_3
REL7_2_4
REL7_2_BETA1
REL7_2_BETA2
REL7_2_BETA3
REL7_2_BETA4
REL7_2_BETA5
REL7_2_RC1
REL7_2_RC2
REL7_4_BETA1
REL7_4_BETA2
REL7_4_BETA3
REL7_4_BETA4
REL7_4_BETA5
REL7_4_RC1
REL7_4_RC2
REL8_0_309
REL8_1_404
REL8_2_504
REL8_3_603
REL8_4_701
REL9_0_801
REL9_3_1100
REL9_4_1201
REL9_4_1203
REL9_4_1204
REL9_4_1205
REL9_4_1206
legacy-downloads
release-6-3
REL9.*
REL9.4.1207
REL9.4.1208
REL9.4.1209
REL9.4.1210
REL9.4.1211
REL9.4.1212

Database specific

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