CVE-2023-26793 Memory corruption in n/a

Critical 9.8 Published Updated

A heap-based buffer overflow in libmodbus allows attackers to execute arbitrary code or cause denial of service via crafted Modbus messages.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-26793?

CVE-2023-26793 is a critical memory corruption vulnerability in n/a, published on 1 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

libmodbus v3.1.10 has a heap-based buffer overflow vulnerability in read_io_status function in src/modbus.c.

Weakness: CWE-122

Which versions are affected by CVE-2023-26793?

It affects 1 product.

Products include Libmodbus Libmodbus.

How do I fix CVE-2023-26793?

Upgrade to a fixed version.

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

Is CVE-2023-26793 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-26793 exists.

Sources

Also known as GHSA-fqv7-fhq2-929v, JLSEC-2026-1251, UBUNTU-CVE-2023-26793.

Is CVE-2023-26793 in your software?

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

Check your SBOMs for free