CVE-2026-54412

Source
https://cve.org/CVERecord?id=CVE-2026-54412
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-54412.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-54412
Published
2026-06-14T17:26:36Z
Modified
2026-11-07T02:48:35Z
Severity
  • 7.8 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N/E:P/AU:Y/V:D CVSS Calculator
Summary
MQTT-C Heap Out-of-Bounds Read and Integer Underflow in mqtt_unpack_publish_response()
Details

LiamBindle MQTT-C versions prior to 1.1.7 contain a heap-based out-of-bounds read and integer underflow in the mqtt_unpack_publish_response() function in src/mqtt.c. A remote unauthenticated attacker controlling an MQTT broker, or capable of injecting MQTT traffic into an unencrypted session, can crash a subscribed MQTT-C client and potentially disclose adjacent heap memory by sending a single crafted PUBLISH packet.

Database specific
{
    "cna_assigner": "TuranSec",
    "cwe_ids": [
        "CWE-125",
        "CWE-191"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54412.json"
}
References

Affected packages

Git / github.com/liambindle/mqtt-c

Affected ranges

Type
GIT
Repo
https://github.com/liambindle/mqtt-c
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "0"
                },
                {
                    "fixed": "1.1.7"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandardRange"
        },
        {
            "original_tag": "v1.1.7",
            "range": [
                {
                    "fixed": "102e59c14dd0e01770b357a462bd462c83de62e2"
                }
            ],
            "source": "REFERENCES_TAG"
        },
        {
            "range": [
                {
                    "introduced": "0"
                },
                {
                    "fixed": "1.1.7"
                }
            ],
            "source": "DESCRIPTION"
        }
    ]
}

Affected versions

1.*
1.0.0
1.0.1
1.0.2
1.0.3
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
v1.*
v1.0.0
v1.0.1
v1.0.2
v1.0.3
v1.1.0
v1.1.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-54412.json"