
CVE catalog
CVE-2022-26520
libpgjava: CVE-2022-26520
- Severity
- Critical · CVSS 9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 3.00% · Oct 25, 2026
In pgjdbc before 42.3.3, an attacker (who controls the jdbc URL or properties) can call java.util.logging.FileHandler to write to arbitrary files through the loggerFile and loggerLevel connection properties. An example situation is that an attacker could create an executable JSP file under a Tomcat web root. NOTE: the vendor's position is that there is no pgjdbc vulnerability; instead, it is a vulnerability for any application to use the pgjdbc driver with untrusted connection properties
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libpgjava | sid | 42.7.14-1 | fixed |
| Debian | libpgjava | forky | 42.7.14-1 | fixed |
| Debian | libpgjava | trixie | 42.7.7-1 | fixed |
| Debian | libpgjava | bookworm | 42.5.5-0+deb12u1 | fixed |
| Suse | ongres-scram | manager server module 4.2 | 2.1-150300.3.3.4 | fixed |
| Suse | ongres-stringprep | manager server module 4.2 | 1.1-150300.7.3.4 | fixed |
| Suse | postgresql-jdbc | manager server module 4.2 | 42.2.25-150300.3.5.2 | fixed |
| Suse | ongres-scram | linux enterprise module for server applications 15 sp3 | 2.1-150300.3.3.4 | fixed |
| Suse | ongres-stringprep | linux enterprise module for server applications 15 sp3 | 1.1-150300.7.3.4 | fixed |
| Suse | postgresql-jdbc | linux enterprise module for server applications 15 sp3 | 42.2.25-150300.3.5.2 | fixed |
| Opensuse | ongres-scram | leap 15.3 | 2.1-150300.3.3.4 | fixed |
| Opensuse | ongres-stringprep | leap 15.3 | 1.1-150300.7.3.4 | fixed |
| Opensuse | postgresql-jdbc | leap 15.3 | 42.2.25-150300.3.5.2 | fixed |
| Suse | postgresql-jdbc | linux enterprise module for server applications 15 sp4 | 42.2.25-150400.3.3.2 | fixed |
| Opensuse | postgresql-jdbc | leap 15.4 | 42.2.25-150400.3.3.2 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libpgjava | source | sid | 42.3.3-1 | not yet assigned | Not reported | Not reported |
| Debian | libpgjava | source | forky | 42.3.3-1 | not yet assigned | Not reported | Not reported |
| Debian | libpgjava | source | trixie | 42.3.3-1 | not yet assigned | Not reported | Not reported |
| Debian | libpgjava | source | bookworm | 42.3.3-1 | not yet assigned | Not reported | Not reported |
| Suse | ongres-scram | rpm | manager server module 4.2 | 2.1-150300.3.3.4 | Not reported | SUSE-FU-2022:2794-1 | Not reported |
| Suse | ongres-stringprep | rpm | manager server module 4.2 | 1.1-150300.7.3.4 | Not reported | SUSE-FU-2022:2794-1 | Not reported |
| Suse | postgresql-jdbc | rpm | manager server module 4.2 | 42.2.25-150300.3.5.2 | Not reported | SUSE-FU-2022:2794-1 | Not reported |
| Suse | ongres-scram | rpm | linux enterprise module for server applications 15 sp3 | 2.1-150300.3.3.4 | Not reported | SUSE-FU-2022:2794-1 | Not reported |
| Suse | ongres-stringprep | rpm | linux enterprise module for server applications 15 sp3 | 1.1-150300.7.3.4 | Not reported | SUSE-FU-2022:2794-1 | Not reported |
| Suse | postgresql-jdbc | rpm | linux enterprise module for server applications 15 sp3 | 42.2.25-150300.3.5.2 | Not reported | SUSE-FU-2022:2794-1 | Not reported |
| Opensuse | ongres-scram | rpm | leap 15.3 | 2.1-150300.3.3.4 | Not reported | SUSE-FU-2022:2794-1 | Not reported |
| Opensuse | ongres-stringprep | rpm | leap 15.3 | 1.1-150300.7.3.4 | Not reported | SUSE-FU-2022:2794-1 | Not reported |
| Opensuse | postgresql-jdbc | rpm | leap 15.3 | 42.2.25-150300.3.5.2 | Not reported | SUSE-FU-2022:2794-1 | Not reported |
| Suse | postgresql-jdbc | rpm | linux enterprise module for server applications 15 sp4 | 42.2.25-150400.3.3.2 | Not reported | SUSE-SU-2022:2655-1 | Not reported |
| Opensuse | postgresql-jdbc | rpm | leap 15.4 | 42.2.25-150400.3.3.2 | Not reported | SUSE-SU-2022:2655-1 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libpostgresql-jdbc-java]Fixed
Source package: [libpgjava]
Details (2)
42.5.5-0+deb12u1· all · bookwormFixed · Fixed:
42.3.3-1dsa · libpgjava · debian · bookworm
42.5.5-0+deb12u1· all · bookwormFixed · Fixed:
42.3.3-1dsa · libpgjava · debian · bookworm
- [libpostgresql-jdbc-java-doc]Fixed
Source package: [libpgjava]
Details (2)
42.5.5-0+deb12u1· all · bookwormFixed · Fixed:
42.3.3-1dsa · libpgjava · debian · bookworm
42.5.5-0+deb12u1· all · bookwormFixed · Fixed:
42.3.3-1dsa · libpgjava · debian · bookworm
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-fu-2022_2794-1.json]
- [https://osv.dev/vulnerability/SUSE-FU-2022:2794-1]
- [https://osv.dev/vulnerability/SUSE-SU-2022:2655-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2022-26520]
- [https://security-tracker.debian.org/tracker/CVE-2022-26520]
- [https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-26520.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2022/wid-sec-w-2022-0607.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]