---
title: "CVE-2022-41862"
canonical_url: "https://pkgseek.com/security/CVE-2022-41862"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "low"
---

# CVE-2022-41862

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.

CVE-2022-41862 is rated LOW (3.7), with 74 indexed affected package builds across 4 distributions.

- **Severity / Score**: LOW (3.7)
- **Affected builds**: 74
- **Affected distros**: 4
- **Distros with fixed_in**: Alibaba Cloud Linux, Oracle Linux, Red Hat Enterprise Linux, Ubuntu

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Alibaba Cloud Linux | 3 | libpq | 13.5-1.0.1.al8 | 13.11-1.0.1.al8 |
| Alibaba Cloud Linux | 3 | libpq-devel | 13.5-1.0.1.al8 | 13.11-1.0.1.al8 |
| Alibaba Cloud Linux | 3 | postgresql | 13.7-2.0.1.al8 | 13.10-1.0.1.al8 |
| Alibaba Cloud Linux | 3 | postgresql-contrib | 13.7-2.0.1.al8 | 13.10-1.0.1.al8 |
| Alibaba Cloud Linux | 3 | postgresql-docs | 13.7-2.0.1.al8 | 13.10-1.0.1.al8 |
| Alibaba Cloud Linux | 3 | postgresql-plperl | 13.7-2.0.1.al8 | 13.10-1.0.1.al8 |
| Alibaba Cloud Linux | 3 | postgresql-plpython3 | 13.7-2.0.1.al8 | 13.10-1.0.1.al8 |
| Alibaba Cloud Linux | 3 | postgresql-pltcl | 13.7-2.0.1.al8 | 13.10-1.0.1.al8 |
| Alibaba Cloud Linux | 3 | postgresql-server | 13.7-2.0.1.al8 | 13.10-1.0.1.al8 |
| Alibaba Cloud Linux | 3 | postgresql-server-devel | 13.7-2.0.1.al8 | 13.10-1.0.1.al8 |
| Alibaba Cloud Linux | 3 | postgresql-static | 13.7-2.0.1.al8 | 13.10-1.0.1.al8 |
| Alibaba Cloud Linux | 3 | postgresql-test | 13.7-2.0.1.al8 | 13.10-1.0.1.al8 |
| Alibaba Cloud Linux | 3 | postgresql-test-rpm-macros | 13.7-2.0.1.al8 | 13.10-1.0.1.al8 |
| Alibaba Cloud Linux | 3 | postgresql-upgrade | 13.7-2.0.1.al8 | 13.10-1.0.1.al8 |
| Alibaba Cloud Linux | 3 | postgresql-upgrade-devel | 13.7-2.0.1.al8 | 13.10-1.0.1.al8 |
| Oracle Linux | 8 | libpq | 13.5-1.el8 | 13.11-1.el8 |
| Oracle Linux | 8 | libpq-devel | 13.5-1.el8 | 13.11-1.el8 |
| Oracle Linux | 8 | pgaudit | 1.4.0-7.module+el8.10.0+90397+67dad74f | 1.5.0-1.module+el8.4.0+20016+06fd4df3 |
| Oracle Linux | 8 | pg_repack | 1.4.6-3.module+el8.5.0+20333+86306fc7 | 1.4.6-3.module+el8.5.0+20353+e924f9ed |
| Oracle Linux | 8 | postgres-decoderbufs | 0.10.0-2.module+el8.4.0+20191+2f8d0e59 | 0.10.0-2.module+el8.5.0+20333+86306fc7 |
| Oracle Linux | 8 | postgresql | 12.22-12.module+el8.10.0+91045+f9258fff | 13.10-1.module+el8.7.0+21022+658346a0 |
| Oracle Linux | 8 | postgresql-contrib | 12.22-12.module+el8.10.0+91045+f9258fff | 13.10-1.module+el8.7.0+21022+658346a0 |
| Oracle Linux | 8 | postgresql-docs | 12.22-12.module+el8.10.0+91045+f9258fff | 13.10-1.module+el8.7.0+21022+658346a0 |
| Oracle Linux | 8 | postgresql-plperl | 12.22-12.module+el8.10.0+91045+f9258fff | 13.10-1.module+el8.7.0+21022+658346a0 |
| Oracle Linux | 8 | postgresql-plpython3 | 12.22-12.module+el8.10.0+91045+f9258fff | 13.10-1.module+el8.7.0+21022+658346a0 |
| Oracle Linux | 8 | postgresql-pltcl | 12.22-12.module+el8.10.0+91045+f9258fff | 13.10-1.module+el8.7.0+21022+658346a0 |
| Oracle Linux | 8 | postgresql-server | 12.22-12.module+el8.10.0+91045+f9258fff | 13.10-1.module+el8.7.0+21022+658346a0 |
| Oracle Linux | 8 | postgresql-server-devel | 12.22-12.module+el8.10.0+91045+f9258fff | 13.10-1.module+el8.7.0+21022+658346a0 |
| Oracle Linux | 8 | postgresql-static | 12.22-12.module+el8.10.0+91045+f9258fff | 13.10-1.module+el8.7.0+21022+658346a0 |
| Oracle Linux | 8 | postgresql-test | 12.22-12.module+el8.10.0+91045+f9258fff | 13.10-1.module+el8.7.0+21022+658346a0 |
| Oracle Linux | 8 | postgresql-test-rpm-macros | 12.22-12.module+el8.10.0+91045+f9258fff | 13.10-1.module+el8.7.0+21022+658346a0 |
| Oracle Linux | 8 | postgresql-upgrade | 12.22-12.module+el8.10.0+91045+f9258fff | 13.10-1.module+el8.7.0+21022+658346a0 |
| Oracle Linux | 8 | postgresql-upgrade-devel | 12.22-12.module+el8.10.0+91045+f9258fff | 13.10-1.module+el8.7.0+21022+658346a0 |
| Oracle Linux | 9 | libpq | 13.5-1.el9 | 13.11-1.el9 |
| Oracle Linux | 9 | libpq-devel | 13.5-1.el9 | 13.11-1.el9 |
| Oracle Linux | 9 | postgresql | 13.7-1.el9_0 | 13.10-1.el9_1 |
| Oracle Linux | 9 | postgresql-contrib | 13.7-1.el9_0 | 13.10-1.el9_1 |
| Oracle Linux | 9 | postgresql-plperl | 13.7-1.el9_0 | 13.10-1.el9_1 |
| Oracle Linux | 9 | postgresql-plpython3 | 13.7-1.el9_0 | 13.10-1.el9_1 |
| Oracle Linux | 9 | postgresql-pltcl | 13.7-1.el9_0 | 13.10-1.el9_1 |
| Oracle Linux | 9 | postgresql-private-libs | 13.7-1.el9_0 | 13.10-1.el9_1 |
| Oracle Linux | 9 | postgresql-server | 13.7-1.el9_0 | 13.10-1.el9_1 |
| Oracle Linux | 9 | postgresql-upgrade | 13.7-1.el9_0 | 13.10-1.el9_1 |
| Red Hat Enterprise Linux | 9.8 | libpq | 13.5-1.el9 | 13.11-1.el9 |
| Red Hat Enterprise Linux | 9.8 | libpq-devel | 13.5-1.el9 | 13.11-1.el9 |
| Red Hat Enterprise Linux | 9.8 | postgresql | 13.7-1.el9_0 | 13.10-1.el9_1 |
| Red Hat Enterprise Linux | 9.8 | postgresql-contrib | 13.7-1.el9_0 | 13.10-1.el9_1 |
| Red Hat Enterprise Linux | 9.8 | postgresql-plperl | 13.7-1.el9_0 | 13.10-1.el9_1 |
| Red Hat Enterprise Linux | 9.8 | postgresql-plpython3 | 13.7-1.el9_0 | 13.10-1.el9_1 |
| Red Hat Enterprise Linux | 9.8 | postgresql-pltcl | 13.7-1.el9_0 | 13.10-1.el9_1 |
| Red Hat Enterprise Linux | 9.8 | postgresql-private-libs | 13.7-1.el9_0 | 13.10-1.el9_1 |
| Red Hat Enterprise Linux | 9.8 | postgresql-server | 13.7-1.el9_0 | 13.10-1.el9_1 |
| Red Hat Enterprise Linux | 9.8 | postgresql-upgrade | 13.7-1.el9_0 | 13.10-1.el9_1 |
| Ubuntu | focal | libecpg6 | 12.2-4 | 12.14-0ubuntu0.20.04.1 |
| Ubuntu | focal | libecpg-compat3 | 12.2-4 | 12.14-0ubuntu0.20.04.1 |
| Ubuntu | focal | libecpg-dev | 12.2-4 | 12.14-0ubuntu0.20.04.1 |
| Ubuntu | focal | libpgtypes3 | 12.2-4 | 12.14-0ubuntu0.20.04.1 |
| Ubuntu | focal | libpq5 | 12.2-4 | 12.14-0ubuntu0.20.04.1 |
| Ubuntu | focal | libpq-dev | 12.2-4 | 12.14-0ubuntu0.20.04.1 |
| Ubuntu | focal | postgresql-12 | 12.2-4 | 12.14-0ubuntu0.20.04.1 |
| Ubuntu | focal | postgresql-client-12 | 12.2-4 | 12.14-0ubuntu0.20.04.1 |
| Ubuntu | focal | postgresql-doc-12 | 12.2-4 | 12.14-0ubuntu0.20.04.1 |
| Ubuntu | jammy | libecpg6 | 14.2-1ubuntu1 | 14.7-0ubuntu0.22.04.1 |
| Ubuntu | jammy | libecpg-compat3 | 14.2-1ubuntu1 | 14.7-0ubuntu0.22.04.1 |
| Ubuntu | jammy | libecpg-dev | 14.2-1ubuntu1 | 14.7-0ubuntu0.22.04.1 |
| Ubuntu | jammy | libpgtypes3 | 14.2-1ubuntu1 | 14.7-0ubuntu0.22.04.1 |
| Ubuntu | jammy | libpq5 | 14.2-1ubuntu1 | 14.7-0ubuntu0.22.04.1 |
| Ubuntu | jammy | libpq-dev | 14.2-1ubuntu1 | 14.7-0ubuntu0.22.04.1 |
| Ubuntu | jammy | postgresql-14 | 14.2-1ubuntu1 | 14.7-0ubuntu0.22.04.1 |
| Ubuntu | jammy | postgresql-client-14 | 14.2-1ubuntu1 | 14.7-0ubuntu0.22.04.1 |
| Ubuntu | jammy | postgresql-doc-14 | 14.2-1ubuntu1 | 14.7-0ubuntu0.22.04.1 |
| Ubuntu | jammy | postgresql-plperl-14 | 14.2-1ubuntu1 | 14.7-0ubuntu0.22.04.1 |
| Ubuntu | jammy | postgresql-plpython3-14 | 14.2-1ubuntu1 | 14.7-0ubuntu0.22.04.1 |
| Ubuntu | jammy | postgresql-pltcl-14 | 14.2-1ubuntu1 | 14.7-0ubuntu0.22.04.1 |
