CVE-2025-37998 openvswitch: Fix unsafe attribute parsing in output_userspace()

High 7.8 Published Updated

Unsafe Netlink attribute parsing in the Linux kernel Open vSwitch module can lead to memory corruption, potentially allowing code execution or denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-37998?

CVE-2025-37998 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 29 May 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In the Linux kernel, the following vulnerability has been resolved:

openvswitch: Fix unsafe attribute parsing in output_userspace()

This patch replaces the manual Netlink attribute iteration in output_userspace() with nla_for_each_nested(), which ensures that only well-formed attributes are processed.

Which versions are affected by CVE-2025-37998?

It affects 2 products.

Products include Debian Debian Linux, Linux kernel.

How do I fix CVE-2025-37998?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2025-37998 being exploited?

There is no known exploitation of CVE-2025-37998 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as BELL-CVE-2025-37998, DEBIAN-CVE-2025-37998, GHSA-8jh2-3h65-3cwh, ROOT-OS-DEBIAN-11-CVE-2025-37998, ROOT-OS-DEBIAN-12-CVE-2025-37998, ROOT-OS-UBUNTU-2204-CVE-2025-37998 and 2 more.

Is CVE-2025-37998 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free