Advisory

DEBIAN-CVE-2024-10918

Also known as: CVE-2024-10918

Summary

The record has no summary.

Details

Stack-based Buffer Overflow vulnerability in libmodbus v3.1.10 allows to overflow the buffer allocated for the Modbus response if the function tries to reply to a Modbus request with an unexpected length.

Severity

Critical Basis: CVSS v3 score 9.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2025-02-27 12:15 UTC
Modified
2026-11-02 12:00 UTC

Affected packages and fixes

libmodbus

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 3.1.6-2.1+deb12u1 (ecosystem)

Fixed versions

3.1.6-2.1+deb12u1

Fix

  • Fixed version 3.1.6-2.1+deb12u1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libmodbus

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 3.1.11-1 (ecosystem)

Fixed versions

3.1.11-1

Fix

  • Fixed version 3.1.11-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libmodbus

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 3.1.11-1 (ecosystem)

Fixed versions

3.1.11-1

Fix

  • Fixed version 3.1.11-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences