---
id: CVE-2022-28321
title: >-
  The Linux-PAM package before 1.5.2-6.1 for openSUSE Tumbleweed allows
  authentication bypass for SSH logins
summary: >-
  The Linux-PAM package before 1.5.2-6.1 for openSUSE Tumbleweed allows
  authentication bypass for SSH logins. The pam_access.so module doesn't
  correctly restrict login if a user tries to connect from an IP address that is
  not resolvable vi…
severity: critical
cvss: 9.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-287
  - CWE-287
vendor: linux-pam
product: linux-pam
affected:
  - linux-pam < 1.5.2-6.1
patched:
  - linux-pam 1.5.2-6.1
published: '2022-09-19'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T17:17:38.040'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2022-28321'
references:
  - url: >-
      http://download.opensuse.org/source/distribution/openSUSE-current/repo/oss/src/
    label: cve@mitre.org
  - url: 'https://bugzilla.suse.com/show_bug.cgi?id=1197654'
    label: cve@mitre.org
  - url: 'https://www.suse.com/security/cve/CVE-2022-28321.html'
    label: cve@mitre.org
  - url: >-
      http://download.opensuse.org/source/distribution/openSUSE-current/repo/oss/src/
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://bugzilla.suse.com/show_bug.cgi?id=1197654'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://www.suse.com/security/cve/CVE-2022-28321.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-398330.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
epss: 0.01502
epssPercentile: 0.73787
ingestedAt: '2026-10-14T17:44:53.601Z'
---

## Overview

The Linux-PAM package before 1.5.2-6.1 for openSUSE Tumbleweed allows authentication bypass for SSH logins. The pam_access.so module doesn't correctly restrict login if a user tries to connect from an IP address that is not resolvable via DNS. In such conditions, a user with denied access to a machine can still get access. NOTE: the relevance of this issue is largely limited to openSUSE Tumbleweed and openSUSE Factory; it does not affect Linux-PAM upstream.

## Affected

- `linux-pam < 1.5.2-6.1`

## Remediation

Upgrade past the affected range:

- `linux-pam 1.5.2-6.1`
