Denial of service via unsafe minimask comparison
Published Sep 28, 2022 · Updated May 21, 2025
Heap buffer over-read in Open vSwitch 0.90.0 through 2.5.0 allows remote authenticated users to crash the switch via crafted network traffic. The minimask_equal function in lib/flow.c passes a length derived from the first minimask to memcmp before confirming that both maps have equal lengths, so the comparison can read beyond the shorter allocation. Reaching the affected flow-deletion path requires the ability to submit flow-modification operations; a crash is demonstrated, while code execution is not publicly demonstrated.
Summary
What happened
Heap buffer over-read in Open vSwitch 0.90.0 through 2.5.0 allows remote authenticated users to crash the switch via crafted network traffic. The minimask_equal function in lib/flow.c passes a length derived from the first minimask to memcmp before confirming that both maps have equal lengths, so the comparison can read beyond the shorter allocation. Reaching the affected flow-deletion path requires the ability to submit flow-modification operations; a crash is demonstrated, while code execution is not publicly demonstrated.
The record
- CVE
- CVE-2022-32166
- Published
- Sep 28, 2022
- Updated
- May 21, 2025
- Vendor
- Open vSwitch Project
- Product
- Open vSwitch
- Classifications
- CWE-125, T1210
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Sep 28, 2022CVE publishedPublication date reported by the CVE source.
- May 21, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=unspecified <=v2.5.0
- Affected versionversion=v0.90.0 <unspecified
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo