CVE-2022-41862 json
In PostgreSQL, a modified, unauthenticated server can send an unterminated string during the establishment of Kerberos transport encryption.
published 2023-03-03 3 y ago modified 2026-09-08 2 mo ago also BIT-postgresql-2022-41862 , EUVD-2022-45026 , JLSEC-2026-39
- cvss
- 3.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 50%
- public exploits
- 0
- none known
Summary
In PostgreSQL, a modified, unauthenticated server can send an unterminated string during the establishment of Kerberos transport encryption. In certain conditions a server can cause a libpq client to over-read and report an error message containing uninitialized bytes.
Patch / fix
- bitnami postgresql 12.14.0, 13.10.0, 14.7.0, 15.2.0
- julia LibPQ_jll 16.0.0+0
- postgresql postgresql 12.14, 13.10, 14.7, 15.2
- postgresql-15 Debian 12 15.2-1
debian advisories DEBIAN-CVE-2022-41862
- postgresql-12 Ubuntu 20.04 LTS 12.14-0ubuntu0.20.04.1
- postgresql-14 Ubuntu 22.04 LTS 14.7-0ubuntu0.22.04.1
ubuntu advisories UBUNTU-CVE-2022-41862
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- pgaudit RHEL 8, RHEL 8.6 EUS 1.4.0-5.module+el8.5.0+11354+78b3c9c5
- pg_repack RHEL 8, RHEL 8.6 EUS 1.4.6-3.module+el8.5.0+11354+78b3c9c5
- postgres-decoderbufs RHEL 8, RHEL 8.6 EUS 0.10.0-2.module+el8.5.0+11354+78b3c9c5
- pgaudit RHEL 8, RHEL 8.6 EUS, RHEL 8.4 TUS +2 more 1.5.0-1.module+el8.4.0+8873+b821c30a
- pg_repack RHEL 8, RHEL 8.6 EUS 1.4.6-3.module+el8.5.0+11357+bcc62552
- postgres-decoderbufs RHEL 8, RHEL 8.6 EUS, RHEL 8.4 TUS +2 more 0.10.0-2.module+el8.4.0+8873+b821c30a
- postgresql RHEL 8 12.15-1.module+el8.8.0+19427+d1071523
- postgresql-test RHEL 8 12.15-1.module+el8.8.0+19427+d1071523
red hat advisories RHSA-2023:7694RHSA-2023:7667RHSA-2023:7666RHSA-2023:7580RHSA-2023:7695RHSA-2023:4535
- postgresql14 SLES for SAP 15 SP3, SLES for SAP 15 SP2, SLES 15 SP3-LTSS +13 more 14.7-150200.5.23.1
- postgresql13 SLES for SAP 15 SP3, SLES for SAP 15 SP2, SLES 15 SP3-LTSS +11 more 13.10-150200.5.37.1
- postgresql15 SLES for SAP 15 SP3, SLES for SAP 15 SP2, SLES 15 SP3-LTSS +13 more 15.2-150200.5.6.1
- postgresql12 SLES for SAP 15 SP3, SLES for SAP 15 SP2, SLES 15 SP3-LTSS +7 more 12.14-150200.8.41.1
- postgresql15 SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES 12 SP5 +5 more 15.2-3.6.1
- postgresql14 SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 14.7-3.20.1
- postgresql13 SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 13.10-3.30.1
- postgresql12 SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 12.14-3.36.1
suse advisories SUSE-SU-2023:0705-1SUSE-SU-2023:0583-1SUSE-SU-2023:0569-1SUSE-SU-2023:0479-1SUSE-SU-2023:0450-1SUSE-SU-2023:0393-1
- postgresql17 openSUSE Tumbleweed 17.6-2.1
- postgresql16 openSUSE Tumbleweed 16.4-1.1
- postgresql12 openSUSE Tumbleweed 12.14-1.1
- postgresql13 openSUSE Tumbleweed 13.10-1.1
- postgresql14 openSUSE Tumbleweed 14.7-1.1
- postgresql15 openSUSE Tumbleweed 15.2-1.1
opensuse advisories openSUSE-SU-2025:15580-1openSUSE-SU-2024:14360-1openSUSE-SU-2024:12677-1openSUSE-SU-2024:12678-1openSUSE-SU-2024:12679-1openSUSE-SU-2024:12680-1
- libpq AlmaLinux 8 13.11-1.el8.alma.1
- libpq AlmaLinux 9 13.11-1.el9
- pgaudit AlmaLinux 8 1.4.0-5.module_el8.6.0+2758+4f4474df
- pgaudit AlmaLinux 8 1.4.0-5.module_el8.6.0+3094+eb237fb8
- pg_repack AlmaLinux 8 1.4.6-3.module_el8.6.0+2758+4f4474df
- pg_repack AlmaLinux 8 1.4.6-3.module_el8.6.0+3094+eb237fb8
- postgresql AlmaLinux 8 12.15-1.module_el8.8.0+3600+38330172
- postgresql-test AlmaLinux 8 12.15-1.module_el8.8.0+3600+38330172
almalinux advisories ALSA-2023:7016ALSA-2023:6429ALSA-2023:4535ALSA-2023:1693ALSA-2023:1576
- libpq Rocky Linux 8 13.11-1.el8
- pgaudit Rocky Linux 8 1.4.0-5.module+el8.5.0+686+20453ecc
- pg_repack Rocky Linux 8 1.4.6-3.module+el8.5.0+684+c3892ef9
- postgresql Rocky Linux 8 12.15-1.module+el8.8.0+1441+a10239d2
- postgres-decoderbufs Rocky Linux 8 0.10.0-2.module+el8.5.0+684+c3892ef9
- pgaudit Rocky Linux 8 1.5.0-1.module+el8.5.0+684+c3892ef9
- postgresql Rocky Linux 8 13.10-1.module+el8.7.0+1175+026203e7
rocky linux advisories RLSA-2023:7016RLSA-2023:4535RLSA-2023:1576
- postgresql Alpine 3.13 13.11-r0
- postgresql Alpine 3.14 13.10-r0
- postgresql12 Alpine 3.16, Alpine 3.15 12.15-r0
- postgresql12 Alpine 3.18, Alpine 3.17 12.14-r0
- postgresql13 Alpine 3.19, Alpine 3.18, Alpine 3.17 +2 more 13.10-r0
- postgresql14 Alpine 3.20, Alpine 3.19, Alpine 3.18 +3 more 14.7-r0
- postgresql15 Alpine 3.22, Alpine 3.21, Alpine 3.20 +3 more 15.2-r0
alpine advisories ALPINE-CVE-2022-41862
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-41862 updated cvss 3.7
postgresql: Client memory disclosure when connecting with Kerberos to modified server
-
Red Hat Enterprise Linux 6 postgresql-jdbc Red Hat Enterprise Linux 7 postgresql-jdbc, postgresql-jdbc-javadocaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 8 pgaudit, pg_repack, postgresql, autocorr-af, autocorr-bg, autocorr-ca, +111 moreaffected: no fix available “Fix deferred”
-
Red Hat Process Automation 7 jdbc-postgresql jdbc-postgresqlaffected: no fix planned “Out of support scope”
-
Red Hat CodeReady Linux Builder (v. 9) postgresql-test 13.10-1.el9_1fixed: vendor fix RHSA-2023:1693
-
Red Hat CodeReady Linux Builder EUS (v.9.0) postgresql-test 13.13-1.el9_0fixed: vendor fix RHSA-2023:7545
-
Red Hat Enterprise Linux AppStream (v. 8) libpq 13.11-1.el8, pgaudit 1.5.0-1.module+el8.4.0+8873+b821c30a, pgaudit 1.4.0-5.module+el8.5.0+11354+78b3c9c5, pg_repack 1.4.6-3.module+el8.5.0+11354+78b3c9c5, pg_repack 1.4.6-3.module+el8.5.0+11357+bcc62552, postgresql 12.15-1.module+el8.8.0+19427+d1071523, +19 morefixed: vendor fix RHSA-2023:1576
-
Red Hat Enterprise Linux AppStream (v. 9) libpq 13.11-1.el9, postgresql 13.10-1.el9_1, postgresql-pltcl 13.10-1.el9_1, postgresql-plperl 13.10-1.el9_1, postgresql-server 13.10-1.el9_1, postgresql-contrib 13.10-1.el9_1, +3 morefixed: vendor fix RHSA-2023:1693
-
Red Hat Enterprise Linux AppStream AUS (v. 8.2) pgaudit 1.4.0-4.module+el8.2.0+9043+1dbb5661, postgresql 12.17-1.module+el8.2.0+20720+50ffbc0b, postgresql-test 12.17-1.module+el8.2.0+20720+50ffbc0b, postgresql-pltcl 12.17-1.module+el8.2.0+20720+50ffbc0b, postgresql-plperl 12.17-1.module+el8.2.0+20720+50ffbc0b, postgresql-server 12.17-1.module+el8.2.0+20720+50ffbc0b, +5 morefixed: vendor fix RHSA-2023:7667
show 9 moreshow fewer
-
Red Hat Enterprise Linux AppStream AUS (v.8.4) pgaudit 1.5.0-1.module+el8.4.0+8873+b821c30a, pgaudit 1.4.0-6.module+el8.4.0+11288+c193d6d7, postgresql 12.17-1.module+el8.4.0+20773+7c41d490, postgresql 13.13-1.module+el8.4.0+20774+68ad636d, postgresql-test 12.17-1.module+el8.4.0+20773+7c41d490, postgresql-test 13.13-1.module+el8.4.0+20774+68ad636d, +16 morefixed: vendor fix RHSA-2023:7694
-
Red Hat Enterprise Linux AppStream E4S (v. 8.2) pgaudit 1.4.0-4.module+el8.2.0+9043+1dbb5661, postgresql 12.17-1.module+el8.2.0+20720+50ffbc0b, postgresql-test 12.17-1.module+el8.2.0+20720+50ffbc0b, postgresql-pltcl 12.17-1.module+el8.2.0+20720+50ffbc0b, postgresql-plperl 12.17-1.module+el8.2.0+20720+50ffbc0b, postgresql-server 12.17-1.module+el8.2.0+20720+50ffbc0b, +5 morefixed: vendor fix RHSA-2023:7667
-
Red Hat Enterprise Linux AppStream E4S (v.8.4) pgaudit 1.5.0-1.module+el8.4.0+8873+b821c30a, pgaudit 1.4.0-6.module+el8.4.0+11288+c193d6d7, postgresql 12.17-1.module+el8.4.0+20773+7c41d490, postgresql 13.13-1.module+el8.4.0+20774+68ad636d, postgresql-test 12.17-1.module+el8.4.0+20773+7c41d490, postgresql-test 13.13-1.module+el8.4.0+20774+68ad636d, +16 morefixed: vendor fix RHSA-2023:7694
-
Red Hat Enterprise Linux AppStream EUS (v.8.6) pgaudit 1.5.0-1.module+el8.4.0+8873+b821c30a, pgaudit 1.4.0-5.module+el8.5.0+11354+78b3c9c5, pg_repack 1.4.6-3.module+el8.5.0+11354+78b3c9c5, pg_repack 1.4.6-3.module+el8.5.0+11357+bcc62552, postgresql 12.17-1.module+el8.6.0+20721+c66fb2f5, postgresql 13.13-1.module+el8.6.0+20665+ba8c5a93, +18 morefixed: vendor fix RHSA-2023:7666
-
Red Hat Enterprise Linux AppStream EUS (v.9.0) postgresql 13.13-1.el9_0, postgresql-pltcl 13.13-1.el9_0, postgresql-plperl 13.13-1.el9_0, postgresql-server 13.13-1.el9_0, postgresql-contrib 13.13-1.el9_0, postgresql-upgrade 13.13-1.el9_0, +2 morefixed: vendor fix RHSA-2023:7545
-
Red Hat Enterprise Linux AppStream TUS (v. 8.2) pgaudit 1.4.0-4.module+el8.2.0+9043+1dbb5661, postgresql 12.17-1.module+el8.2.0+20720+50ffbc0b, postgresql-test 12.17-1.module+el8.2.0+20720+50ffbc0b, postgresql-pltcl 12.17-1.module+el8.2.0+20720+50ffbc0b, postgresql-plperl 12.17-1.module+el8.2.0+20720+50ffbc0b, postgresql-server 12.17-1.module+el8.2.0+20720+50ffbc0b, +5 morefixed: vendor fix RHSA-2023:7667
-
Red Hat Enterprise Linux AppStream TUS (v.8.4) pgaudit 1.5.0-1.module+el8.4.0+8873+b821c30a, pgaudit 1.4.0-6.module+el8.4.0+11288+c193d6d7, postgresql 12.17-1.module+el8.4.0+20773+7c41d490, postgresql 13.13-1.module+el8.4.0+20774+68ad636d, postgresql-test 12.17-1.module+el8.4.0+20773+7c41d490, postgresql-test 13.13-1.module+el8.4.0+20774+68ad636d, +16 morefixed: vendor fix RHSA-2023:7694
-
Red Hat Software Collections for RHEL Workstation(v. 7) rh-postgresql13-postgresql 13.13-1.el7, rh-postgresql13-postgresql-libs 13.13-1.el7, rh-postgresql13-postgresql-test 13.13-1.el7, rh-postgresql13-postgresql-pltcl 13.13-1.el7, rh-postgresql13-postgresql-plperl 13.13-1.el7, rh-postgresql13-postgresql-server 13.13-1.el7, +6 more Red Hat Software Collections for RHEL(v. 7) rh-postgresql13-postgresql 13.13-1.el7, rh-postgresql13-postgresql-libs 13.13-1.el7, rh-postgresql13-postgresql-test 13.13-1.el7, rh-postgresql13-postgresql-pltcl 13.13-1.el7, rh-postgresql13-postgresql-plperl 13.13-1.el7, rh-postgresql13-postgresql-server 13.13-1.el7, +6 morefixed: vendor fix RHSA-2023:7772
-
Red Hat build of Apicurio Registry 2 quarkus-jdbc-postgresql-deployment quarkus-jdbc-postgresql-deployment Red Hat build of Quarkus postgresql Red Hat Decision Manager 7 jdbc-postgresql jdbc-postgresql Red Hat Enterprise Linux 8 postgresql-jdbc, postgresql-jdbc-javadoc Red Hat Enterprise Linux 9 postgresql-jdbc Red Hat Fuse 7 jdbc-postgresql jdbc-postgresqlnot affected: vulnerable code not present
+3 more productsfewer
Red Hat Integration Camel K 1 quarkus-jdbc-postgresql-deployment quarkus-jdbc-postgresql-deployment Red Hat Integration Camel Quarkus 1 quarkus-jdbc-postgresql-deployment quarkus-jdbc-postgresql-deployment Red Hat Single Sign-On 7 jdbc-postgresql jdbc-postgresql
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-24-046-11 updated cvss 3.7
Siemens SCALANCE XCM-/XRM-300
-
Siemens SCALANCE XCH328 (6GK5328-4TS01-2EC2) <V2.4 Siemens SCALANCE XCM324 (6GK5324-8TS01-2AC2) <V2.4 Siemens SCALANCE XCM328 (6GK5328-4TS01-2AC2) <V2.4 Siemens SCALANCE XCM332 (6GK5332-0GA01-2AC2) <V2.4 Siemens SCALANCE XRH334 (24 V DC, 8xFO, CC) (6GK5334-2TS01-2ER3) <V2.4 Siemens SCALANCE XRM334 (2x230 V AC, 8xFO) (6GK5334-2TS01-4AR3) <V2.4affected: fixed in V2.4 support.industry.siemens.com
+5 more productsfewer
Siemens SCALANCE XRM334 (2x230 V AC, 12xFO) (6GK5334-3TS01-4AR3) <V2.4 Siemens SCALANCE XRM334 (24 V DC, 8xFO) (6GK5334-2TS01-2AR3) <V2.4 Siemens SCALANCE XRM334 (24 V DC, 12xFO) (6GK5334-3TS01-2AR3) <V2.4 Siemens SCALANCE XRM334 (230 V AC, 8xFO) (6GK5334-2TS01-3AR3) <V2.4 Siemens SCALANCE XRM334 (230 V AC, 12xFO) (6GK5334-3TS01-3AR3) <V2.4
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 20 mo ago
Exploit prediction
0.62% chance of exploitation in the next 30 days, higher than 50% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | 3.1 | 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
| CNA | 3.1 | 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
| OSV | 3.1 | 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | postgresql | >=12.0.0, <12.14.0 >=13.0.0, <13.10.0 >=14.0.0, <14.7.0 >=15.0.0, <15.2.0 |
12.14.0 13.10.0 14.7.0 15.2.0 |
| julia | LibPQ_jll | <16.0.0+0 |
16.0.0+0 |
Affected products
- n/a postgresql
Classification
- Weakness
-
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
- Technology feeds
References
-
postgresql.org
/support/security/CVE-2022-41862/
vendor-advisory, advisory, web
-
bugzilla.redhat.com
/show_bug.cgi?id=2165722
issue-tracking, third-party-advisory, advisory, web
-
security.netapp.com
/advisory/ntap-20230427-0002/
web
-
nvd.nist.gov
/vuln/detail/CVE-2022-41862
web
Sources
- CVE List CVE-2022-41862
- NVD CVE-2022-41862
- OSV BIT-postgresql-2022-41862
- OSV JLSEC-2026-39
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.