{"schemaVersion":4,"id":"CVE-2026-134841","aliases":["DEBIAN-CVE-2026-134841","UBUNTU-CVE-2026-134841","CGA-2qr4-7rgx-67pr","CGA-4vc7-hv8v-qm4c","CGA-5mx6-x6m9-6h84","CGA-rmpw-636f-59v4","CGA-8p5h-w7hq-q573","CGA-4jqg-9h99-3pgx","CGA-95xf-29cw-4277"],"status":"published","duplicateOf":null,"title":"pgjdbc parses quoted text as SQL in JDBC escapes, dollar quotes and E strings","description":"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.","dates":{"published":"2026-11-23T16:59:14.067Z","modified":"2026-11-23T19:35:57.548Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.1,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":5.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":5.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":5.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":5.6,"impact":9.8,"computed":true}]},"epss":{"probability":0.00742,"percentile":0.56048,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-11-24T00:00:00.000Z","score":0.00421,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00421,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00421,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00421,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00742,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00742,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00742,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00742,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00742,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00742,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00742,"percentile":0.56048}],"last30":[{"date":"2026-11-24T00:00:00.000Z","score":0.00421,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00421,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00421,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00421,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00742,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00742,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00742,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00742,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00742,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00742,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00742,"percentile":0.56048}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command","description":"The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/89.html"}],"affected":[{"vendor":"chainguard","product":"flyway","name":"flyway","label":"flyway","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/flyway","purlType":"apk","versions":[{"text":"< 13.13.0-r3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"13.13.0-r3","endInclusive":false}}],"versionsText":"< 13.13.0-r3","eol":null,"hubHref":null},{"vendor":"chainguard","product":"flyway-fips","name":"flyway-fips","label":"flyway-fips","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/flyway-fips","purlType":"apk","versions":[{"text":"< 13.13.0-r1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"13.13.0-r1","endInclusive":false}}],"versionsText":"< 13.13.0-r1","eol":null,"hubHref":null},{"vendor":"chainguard","product":"keycloak-26.8","name":"keycloak-26.8","label":"keycloak-26.8","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/keycloak-26.8","purlType":"apk","versions":[{"text":"< 26.8.2-r2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"26.8.2-r2","endInclusive":false}}],"versionsText":"< 26.8.2-r2","eol":null,"hubHref":null},{"vendor":"chainguard","product":"keycloak-26.8-iamguarded-compat","name":"keycloak-26.8-iamguarded-compat","label":"keycloak-26.8-iamguarded-compat","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/keycloak-26.8-iamguarded-compat","purlType":"apk","versions":[{"text":"< 26.8.2-r2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"26.8.2-r2","endInclusive":false}}],"versionsText":"< 26.8.2-r2","eol":null,"hubHref":null},{"vendor":"wolfi","product":"flyway","name":"flyway","label":"flyway","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/flyway","purlType":"apk","versions":[{"text":"< 13.13.0-r3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"13.13.0-r3","endInclusive":false}}],"versionsText":"< 13.13.0-r3","eol":null,"hubHref":null},{"vendor":"debian","product":"libpgjava","name":"libpgjava","label":"libpgjava","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/libpgjava","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}},{"text":"< 42.7.15-1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"42.7.15-1","endInclusive":false}}],"versionsText":"All versions (No fix recorded) | < 42.7.15-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"libpgjava","name":"libpgjava","label":"libpgjava","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/libpgjava","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"pgjdbc","product":"pgjdbc","name":"pgjdbc","label":"pgjdbc","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 42.7.15","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"42.7.15","endInclusive":false}}],"versionsText":"< 42.7.15","eol":null,"hubHref":"/vendor/pgjdbc/pgjdbc"}],"affectedCount":8,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-4743-5rfh-f7mp","label":"github.com/pgjdbc/pgjdbc/security/advisories/GHSA-4743-5rfh-f7mp","hostname":"github.com","tags":["Vendor Advisory","REPORT","Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-134841","label":"security-tracker.debian.org/tracker/CVE-2026-134841","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-134841","label":"ubuntu.com/security/CVE-2026-134841","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-134841","label":"www.cve.org/CVERecord?id=CVE-2026-134841","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://repo.maven.apache.org/maven2","label":"repo.maven.apache.org/maven2","hostname":"repo.maven.apache.org","tags":["WEB"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134841.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134841.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-134841","label":"nvd.nist.gov/vuln/detail/CVE-2026-134841","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/pgjdbc/pgjdbc","label":"github.com/pgjdbc/pgjdbc","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2026:12715-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:12715-1"]},"timeline":[{"kind":"published","date":"2026-11-23T16:59:14.067Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-11-23T19:35:57.548Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"prioritise","tag":"severe","reason":"Severe, CVSS 8.1 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)","nextStep":"Check applicability: affected before 42.7.15 (CNA); fix release not confirmed","rank":[0,0,0,0,1,81],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00742,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-11-23T19:35:57.548Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1","headline":true},{"type":"cvss","source":"nvd","date":"2026-11-23T19:35:57.548Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"cvss","source":"osv_debian","date":"2026-11-23T19:35:57.548Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"cvss","source":"osv_ubuntu","date":"2026-11-23T19:35:57.548Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"cvss","source":"osv_wolfi","date":"2026-11-23T19:35:57.548Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"cvss","source":"osv_chainguard","date":"2026-11-23T19:35:57.548Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-11-23T19:35:32.345Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"poc"}],"epss":{"value":0.00742,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T13:01:25.582Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T13:01:26.078Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T12:01:28.919Z","state":"stale"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T13:01:07.092Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T13:01:23.911Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T13:01:22.884Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T14:03:58.853Z","stale":false,"partial":false}}