CVE-2026-19186

Source
https://cve.org/CVERecord?id=CVE-2026-19186
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-19186.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-19186
Aliases
  • GHSA-6x64-rwq6-j8x3
Published
2026-10-07T08:55:22Z
Modified
2026-10-09T07:06:55Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H CVSS Calculator
Summary
Integer underflow in IEEE 802.15.4 frame decryption leads to out-of-bounds read and write
Details

ieee802154_decipher_data_frame() in subsys/net/l2/ieee802154/ieee802154_frame.c computed payload_len = net_pkt_get_len(pkt) - ll_hdr_len - authtag_len without first checking that the received frame is at least ll_hdr_len + authtag_len bytes long. All three variables are uint8_t, so a frame whose payload is shorter than the configured authentication tag makes the subtraction wrap around to a large value (up to 255).

The wrapped length is passed unchanged to ieee802154_decrypt_auth() and on to the CCM operation as cipher_pkt.in_len/out_buf_max, with apkt->tag pointing at frame + ll_hdr_len + payload_len. Because the receive buffer is allocated to the exact length of the frame received from the radio driver, the crypto layer then reads several hundred bytes past the end of the packet buffer and writes the same number of decrypted bytes back over it in place. The frame's authentication tag is only verified after this processing has taken place, so no key material, association or prior authentication is needed — a single crafted short frame from any device in radio range is sufficient. Frame validation in ieee802154_validate_frame() does not prevent it: a data frame is accepted with a one-byte payload.

The result is an out-of-bounds read and an out-of-bounds write of up to roughly 240 bytes into the adjacent network-buffer pool, corrupting other packets or allocator metadata and typically faulting the target. The out-of-bounds content is not attacker-chosen (it is ciphertext XOR keystream over out-of-bounds memory) and the frame is dropped when tag verification fails, so the primary impact is memory corruption and denial of service rather than information disclosure.

Exposure is limited to configurations that enable the experimental CONFIG_NET_L2_IEEE802154_SECURITY option, select a crypto device via CONFIG_NET_L2_IEEE802154_SECURITY_CRYPTO_DEV_NAME, and have established a security session with a level other than IEEE802154_SECURITY_LEVEL_NONE; with security disabled or at level NONE the tag length is zero and no underflow occurs. The fix rejects frames shorter than ll_hdr_len + authtag_len before the subtraction, and adds the matching guard on the transmit side in ieee802154_create_data_frame().

Database specific
{
    "cna_assigner": "zephyr",
    "cwe_ids": [
        "CWE-191",
        "CWE-787"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/19xxx/CVE-2026-19186.json"
}
References

Affected packages

Git / github.com/zephyrproject-rtos/zephyr

Affected ranges

Type
GIT
Repo
https://github.com/zephyrproject-rtos/zephyr
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "3.2.0"
        },
        {
            "last_affected": "4.4.2"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ]
}

Affected versions

v3.*
v3.2.0
v3.3.0
v3.3.0-rc1
v3.3.0-rc2
v3.3.0-rc3
v3.4.0
v3.4.0-rc1
v3.4.0-rc2
v3.4.0-rc3
v3.5.0
v3.5.0-rc1
v3.5.0-rc2
v3.5.0-rc3
v3.6.0
v3.6.0-rc1
v3.6.0-rc2
v3.6.0-rc3
v3.7.0
v3.7.0-rc1
v3.7.0-rc2
v3.7.0-rc3
v4.*
v4.0.0
v4.0.0-rc1
v4.0.0-rc2
v4.0.0-rc3
v4.1.0
v4.1.0-rc1
v4.1.0-rc2
v4.1.0-rc3
v4.2.0
v4.2.0-rc1
v4.2.0-rc2
v4.2.0-rc3
v4.3.0
v4.3.0-rc1
v4.3.0-rc2
v4.3.0-rc3
v4.4.0
v4.4.0-rc1
v4.4.0-rc2
v4.4.0-rc3
zephyr-v3.*
zephyr-v3.2.0
zephyr-v3.3.0
zephyr-v3.4.0
zephyr-v3.5.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-19186.json"
vanir_signatures
[
    {
        "deprecated": false,
        "digest": {
            "function_hash": "246558709560961476411148677008169094236",
            "length": 1193
        },
        "id": "CVE-2026-19186-a33fc0ea",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/zephyrproject-rtos/zephyr/commit/6d721de13a6026808f75578ecfee95a3592d5264",
        "target": {
            "file": "subsys/net/l2/ieee802154/ieee802154_frame.c",
            "function": "ieee802154_decipher_data_frame"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "89302732390692901788505267902093597386",
            "length": 2031
        },
        "id": "CVE-2026-19186-b100666c",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/zephyrproject-rtos/zephyr/commit/6d721de13a6026808f75578ecfee95a3592d5264",
        "target": {
            "file": "subsys/net/l2/ieee802154/ieee802154_frame.c",
            "function": "ieee802154_create_data_frame"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "174063737617682127491859247386694288158",
                "113593937727673314424998814550281772578",
                "39940508088522383140424190222581791893",
                "237908990769148289753949952192829597540",
                "244542071592496443733153553701593034952",
                "290030803544549586085423908188316501666",
                "20653444501224020140310844625047195556",
                "36508152883010306670731665411644847701"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-19186-b9f128aa",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/zephyrproject-rtos/zephyr/commit/6d721de13a6026808f75578ecfee95a3592d5264",
        "target": {
            "file": "subsys/net/l2/ieee802154/ieee802154_frame.c"
        }
    }
]
vanir_signatures_modified
"2026-10-09T07:06:55Z"