{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-55991",
        "assignerOrgId": "206fc3a0-e175-490b-9eaa-a5738056c9f6",
        "state": "PUBLISHED",
        "assignerShortName": "NLnet Labs",
        "dateReserved": "2026-06-22T10:11:10.505Z",
        "datePublished": "2026-07-22T13:10:13.235Z",
        "dateUpdated": "2026-07-22T14:03:20.789Z"
    },
    "containers": {
        "cna": {
            "title": "Remote DNS-over-QUIC (DoQ) flow-control assertion failure in libngtcp2",
            "datePublic": "2026-07-22T00:00:00.000Z",
            "affected": [
                {
                    "vendor": "NLnet Labs",
                    "product": "Unbound",
                    "versions": [
                        {
                            "version": "1.22.0",
                            "status": "affected",
                            "lessThan": "1.25.2",
                            "versionType": "semver"
                        }
                    ],
                    "defaultStatus": "unaffected"
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In NLnet Labs Unbound 1.22.0 up to and including 1.25.1, a remote unauthenticated client can trigger a libngtcp2 assertion (if compiled with assertions on) and terminate the entire Unbound process using a single DNS-over-QUIC (DoQ) connection and one normal DNS query. This is caused by an erroneous error value passed to libngtcp2. When 'ngtcp2_conn_writev_stream()' returns 'NGTCP2_ERR_STREAM_DATA_BLOCKED', Unbound continues to call 'ngtcp2_ccerr_set_application_error()' with a '-1' error value. The 'int' literal '-1' is implicitly converted to the function's 'uint64_t error_code' parameter as '0xFFFFFFFFFFFFFFFF'. The follow-on 'ngtcp2_conn_write_connection_close()' serialises that value as a QUIC variable-length integer; because '2^64-1' exceeds the 62-bit varint ceiling, 'ngtcp2_put_uvarintlen()' fails 'assert(n < 4611686018427387904ULL)' and the whole resolver process aborts. A remote, unauthenticated DoQ client can trigger this deterministically with a single QUIC connection by advertising 'initial_max_stream_data_bidi_local = 1' in its transport parameters and sending one DoQ query without ever reading the stream."
                }
            ],
            "metrics": [
                {
                    "format": "CVSS",
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "Unbound compiled with DoQ support ('--with-libngtcp2')"
                        }
                    ],
                    "cvssV3_1": {
                        "version": "3.1",
                        "baseScore": 5.9,
                        "baseSeverity": "MEDIUM",
                        "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
                    }
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "cweId": "CWE-195",
                            "description": "CWE-195: Signed to Unsigned Conversion Error",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "solutions": [
                {
                    "lang": "en",
                    "value": "This issue is fixed starting with version 1.25.2"
                }
            ],
            "timeline": [
                {
                    "time": "2026-05-27T00:00:00.000Z",
                    "lang": "en",
                    "value": "Issue reported by Qifan Zhang"
                },
                {
                    "time": "2026-06-15T00:00:00.000Z",
                    "lang": "en",
                    "value": "NLnet Labs shares patch with Qifan Zhang"
                },
                {
                    "time": "2026-06-17T00:00:00.000Z",
                    "lang": "en",
                    "value": "Qifan Zhang verifies patch"
                },
                {
                    "time": "2026-07-11T00:00:00.000Z",
                    "lang": "en",
                    "value": "Issue reported by Xuanchao Xie"
                },
                {
                    "time": "2026-07-12T00:00:00.000Z",
                    "lang": "en",
                    "value": "NLnet Labs shares patch with Xuanchao Xie"
                },
                {
                    "time": "2026-06-13T00:00:00.000Z",
                    "lang": "en",
                    "value": "Xuanchao Xie verifies patch"
                },
                {
                    "time": "2026-07-22T00:00:00.000Z",
                    "lang": "en",
                    "value": "Fixes released with version 1.25.2"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "Qifan Zhang (Palo Alto Networks)",
                    "type": "finder"
                },
                {
                    "lang": "en",
                    "value": "Xuanchao Xie",
                    "type": "finder"
                }
            ],
            "references": [
                {
                    "url": "https://www.nlnetlabs.nl/downloads/unbound/CVE-2026-55991.txt",
                    "tags": [
                        "vendor-advisory"
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "206fc3a0-e175-490b-9eaa-a5738056c9f6",
                "shortName": "NLnet Labs",
                "dateUpdated": "2026-07-22T13:10:13.235Z"
            },
            "x_generator": {
                "engine": "cvelib 1.8.0"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-07-22T14:01:59.779165Z",
                                "id": "CVE-2026-55991",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-07-22T14:03:20.789Z"
                }
            }
        ]
    }
}