CVE-2024-31040

LOW
Published Apr 17, 2024 Modified Jun 10, 2025 CWE-120

Description

Buffer Overflow vulnerability in the get_var_integer function in mqtt_parser.c in NanoMQ 0.21.7 allows remote attackers to cause a denial of service via a series of specially crafted hexstreams.

CVSS v3.1 Score

2.7
LOW
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:L

Weakness Type (CWE)

CWE-120 CWE-120

Affected Products

Vendor Product
emqx nanomq

References

Frequently Asked Questions

What is CVE-2024-31040? +
Buffer Overflow vulnerability in the get_var_integer function in mqtt_parser.c in NanoMQ 0.21.7 allows remote attackers to cause a denial of service via a series of specially crafted hexstreams. It has a CVSS v3.1 base score of 2.7 (LOW).
How severe is CVE-2024-31040? +
CVE-2024-31040 has a CVSS v3.1 score of 2.7 out of 10, rated LOW. This is a low-severity vulnerability with limited impact.
What products are affected by CVE-2024-31040? +
CVE-2024-31040 affects products from emqx, specifically: nanomq. Check the affected products table above for specific version ranges.
How do I check if I'm vulnerable to CVE-2024-31040? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2024-31040 — free, no signup required.

Start Free Scan