Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2024-34244

libmodbus v3.1.10 is vulnerable to Buffer Overflow via the modbus_write_bits function. This issue can be triggered when the function is fed with specially crafted input, which leads to out-of-bounds read and can potentially cause a crash or other unintended behaviors.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-34244
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 16:21 UTC · Revision 1

Source evidence

CVE-2024-34244

core-osv · Original source

Published 8 May 2024, 00:00 UTC

libmodbus v3.1.10 is vulnerable to Buffer Overflow via the modbus_write_bits function. This issue can be triggered when the function is fed with specially crafted input, which leads to out-of-bounds read and can potentially cause a crash or other unintended behaviors.

osv:CVE-2024-34244
Complete source record
{
  "id": "85184b70a7aae86d33772b74d41aa1927a2b578242d5bb57a979fa12b9b7cc80",
  "url": "https://osv.dev/vulnerability/CVE-2024-34244",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2024-34244",
    "summary": "libmodbus v3.1.10 is vulnerable to Buffer Overflow via the modbus_write_bits function. This issue can be triggered when the function is fed with specially crafted input, which leads to out-of-bounds read and can potentially cause a crash or other unintended behaviors.",
    "evidence": "osv:CVE-2024-34244",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-34244",
      "aliases": [
        "CVE-2024-34244"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/stephane/libmodbus",
              "type": "GIT",
              "events": [
                {
                  "introduced": "2cbafa3113e276c3697d297f68e88d112b53174d"
                },
                {
                  "last_affected": "2cbafa3113e276c3697d297f68e88d112b53174d"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:libmodbus:libmodbus:3.1.10:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.1.10"
                      },
                      {
                        "last_affected": "3.1.10"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "3.1.10",
            "v3.1.10"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-34244.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:20.900721657Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/34xxx/CVE-2024-34244.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-34244",
        "https://github.com/stephane/libmodbus/issues/743"
      ],
      "provider_metadata": {
        "cna_assigner": "mitre",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/34xxx/CVE-2024-34244.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-34244",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 487049,
  "published_at": "2024-05-08T00:00:00+00:00"
}