171 Million SSH Service Matches Do Not Measure PAM Build Exposure
171 Million SSH Service Matches Do Not Measure PAM Build Exposure A broad service query can provide context for a local vulnerability without identifying affected hosts. CVE-2026-137898 depends on how Linux-PAM was bui
171 Million SSH Service Matches Do Not Measure PAM Build Exposure
A broad service query can provide context for a local vulnerability without identifying affected hosts. CVE-2026-137898 depends on how Linux-PAM was built with libeconf and on an administrator running a privileged command from an attacker-controlled directory. SSH services are related to remote access, but a stock SSH banner does not reveal that build condition.
The measurement
On 2026-11-27 at 23:44 UTC, ZoomEye was queried with service="ssh" using sub_type=all, page 1, and page size 1. The successful response reported 171,951,693 matching services.
This is an indexed service count. It is not a host census, an installed-PAM count, or a list of vulnerable systems. Many assets will not expose SSH in the indexed response, and the same host can appear through more than one service record. A count this broad has no practical role as a direct remediation queue.
Why the CVE is local
CVE-2026-137898 is a local privilege escalation issue. A low-privilege user places crafted environment configuration in a world-writable directory. If an administrator executes a privileged command from that directory on an affected build, the pam_econf handler can load the malicious configuration. Red Hat rates the issue Important and lists a CVSS 3.1 base score of 7.3.
The vulnerable build requires libeconf integration and an unconfigured vendor directory. Standard Red Hat Enterprise Linux releases are not affected, while Red Hat Hardened Images are listed as affected in the CVE record. An SSH banner does not carry that build information.
A defensible inventory
Use SSH observations only as environmental context. Build a host inventory from operating system images, package manifests, libeconf integration, vendor-directory configuration, and vendor advisories. Prioritize custom images, hardened images, appliances, and rebuilds that may differ from the standard distribution package.
Apply the upstream or vendor patch. Until it is deployed, prevent administrative commands from loading configuration relative to user-controlled directories. Use trusted working directories, restrict world-writable paths in administrative workflows, and enforce fixed working-directory behavior where the sudo policy supports it.
Comparing future observations
The 171 million value is too broad for meaningful change detection on its own. It can describe the scale of an exposed service class, but it cannot show a PAM patch. If the team needs an external baseline, choose a narrower service or ownership scope that matches a decision. Otherwise use package and build telemetry.
ZoomEye shows that SSH is widespread. That fact does not move the CVE analysis forward. The useful evidence is the package build and the privileged execution path on each owned host.
References
Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.