# CVE-2022-26520

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.8 (NVD); no exploitation reported by the 5 checked sources; EPSS 3% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2022-03-07 · Modified: 2024-08-03
- Aliases: SUSE-FU-2022:2794-1, SUSE-SU-2022:2655-1, UBUNTU-CVE-2022-26520, DEBIAN-CVE-2022-26520, GHSA-673j-qm5f-xpv8, BIT-postgresql-jdbc-driver-2022-26520, GHSA-727h-hrw8-jg8q
- Record: https://cvemate.com/vulnerability/CVE-2022-26520 · JSON: https://cvemate.com/vulnerability/CVE-2022-26520/json

## Description

```text
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
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 2.999%, percentile 87.791%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian libpgjava (Debian): \< 42.3.3-1
- ubuntu libpgjava (Ubuntu): \< 42.3.3-1
- debian debian\_linux: 10.0 \| 11.0
- org.postgresql postgresql (Maven): ≥ 42.1.0, \< 42.3.3
- postgresql postgresql\_jdbc\_driver: ≥ 42.1.0, ≤ 42.1.4 \| ≥ 42.3.0, \< 42.3.3
- opensuse ongres-scram&distro=openSUSE Leap 15.3 (openSUSE): \< 2.1-150300.3.3.4
- opensuse ongres-stringprep&distro=openSUSE Leap 15.3 (openSUSE): \< 1.1-150300.7.3.4
- opensuse postgresql-jdbc&distro=openSUSE Leap 15.3 (openSUSE): \< 42.2.25-150300.3.5.2
- opensuse postgresql-jdbc&distro=openSUSE Leap 15.4 (openSUSE): \< 42.2.25-150400.3.3.2
- suse ongres-scram&distro=SUSE Linux Enterprise Module for Server Applications 15 SP3 (SUSE Linux Enterprise): \< 2.1-150300.3.3.4
- suse ongres-scram&distro=SUSE Manager Server Module 4.2 (SUSE Linux Enterprise): \< 2.1-150300.3.3.4
- suse ongres-stringprep&distro=SUSE Linux Enterprise Module for Server Applications 15 SP3 (SUSE Linux Enterprise): \< 1.1-150300.7.3.4
- suse ongres-stringprep&distro=SUSE Manager Server Module 4.2 (SUSE Linux Enterprise): \< 1.1-150300.7.3.4
- suse postgresql-jdbc&distro=SUSE Linux Enterprise Module for Server Applications 15 SP3 (SUSE Linux Enterprise): \< 42.2.25-150300.3.5.2
- suse postgresql-jdbc&distro=SUSE Linux Enterprise Module for Server Applications 15 SP4 (SUSE Linux Enterprise): \< 42.2.25-150400.3.3.2
- suse postgresql-jdbc&distro=SUSE Manager Server Module 4.2 (SUSE Linux Enterprise): \< 42.2.25-150300.3.5.2

## References

- <https://jdbc.postgresql.org/documentation/changelog.html#version_42.3.3>
- <https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-673j-qm5f-xpv8>
- <https://github.com/pgjdbc/pgjdbc/pull/2454/commits/017b929977b4f85795f9ad2fa5de6e80978b8ccc>
- <https://jdbc.postgresql.org/documentation/head/tomcat.html>
- <https://www.debian.org/security/2022/dsa-5196>
- <https://www.suse.com/support/update/announcement/-2022-2794/suse-fu-20222794-1/>
- <https://bugzilla.suse.com/1196693>
- <https://bugzilla.suse.com/1197356>
- <https://www.suse.com/security/cve/CVE-2022-26520>
- <https://www.suse.com/support/update/announcement/2022/suse-su-20222655-1/>
- <https://ubuntu.com/security/CVE-2022-26520>
- <https://github.com/pgjdbc/pgjdbc/commit/f6d47034a4ce292e1a659fa00963f6f713117064>
- <https://www.cve.org/CVERecord?id=CVE-2022-26520>
- <https://security-tracker.debian.org/tracker/CVE-2022-26520>
- <https://github.com/pgjdbc/pgjdbc>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-26520>

---

Data as of 2026-12-05T05:10:28.311Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
