cve.bz

CVE-2022-37660 w1.fi hostapd: Reusing a Nonce, Key Pair in Encryption

6.5 mediumEPSS 0.4%Fix available

Medium (6.5) in w1.fi hostapd. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
In hostapd 2.10 and earlier, the PKEX code remains active even after a successful PKEX association. An attacker that successfully bootstrapped public keys with another entity using PKEX in the past, will be able to subvert a future bootstrapping by passively observing public keys, re-using the encrypting element Qi and subtracting it from the captured message M (X = M - Qi). This will result in the public ephemeral key X; the only element required to subvert the PKEX association.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 34th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2025-02-13. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-323 Reusing a Nonce, Key Pair in Encryption
OWASP Top 10
A04:2025 Cryptographic Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-37660 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-37660?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-37660?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-37660 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
w1.fi:hostapdthrough 2.10

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11wpa2:2.9.0-21+deb11u3DLA-4123-1
Debian12wpa2:2.10-12+deb12u3DEBIAN-CVE-2022-37660
Debian13, 14wpa2:2.10-24DEBIAN-CVE-2022-37660
Ubuntu20.04:LTSwpa2:2.9-1ubuntu4.6UBUNTU-CVE-2022-37660 USN-7317-1
Ubuntu22.04:LTSwpa2:2.10-6ubuntu2.2UBUNTU-CVE-2022-37660 USN-7317-1
Ubuntu24.04:LTSwpa2:2.10-21ubuntu0.2UBUNTU-CVE-2022-37660 USN-7317-1
openSUSETumbleweedhostapd2.12-1.1openSUSE-SU-2026:12398-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability marked as important severity rather than moderate because it enables an attacker with prior PKEX bootstrapping knowledge to passively extract the ephemeral public key (X) from a subsequent exchange, effectively bypassing authentication and subverting the DPP onboarding process. Unlike a moderate vulnerability, which typically requires active exploitation or additional preconditions, this attack is low-interaction and stealthy, requiring only passive observation of a legitimate exchange. Furthermore, since PKEX is designed for out-of-band authentication in secure provisioning scenarios, its compromise undermines the integrity of device onboarding, potentially leading to unauthorized network access or man-in-the-middle (MitM) attacks.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10hostapdNot affected
Red Hat Enterprise Linux 8hostapdWill not fix
Red Hat Enterprise Linux 9hostapdAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-37660.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-26-202-04Siemens SIDIS Secured SmartPlug2026-07-14Critical ManufacturingSIDIS Secured SmartPlug < V7.26.0310none listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

References

Check your stackJSON