{"id":"CVE-2026-40170","aliases":["CVE-2026-40170"],"related":[],"kind":"vulnerability","state":"published","title":"ngtcp2 has a qlog transport parameter serialization stack buffer overflow","summary":"ngtcp2 is a C implementation of the IETF QUIC protocol. In versions prior to 1.22.1, ngtcp2_qlog_parameters_set_transport_params() serializes peer transport parameters into a fixed 1024-byte stack buffer without bounds checking. When qlog is enabled, a remote peer can send sufficiently large transport parameters during the QUIC handshake to cause writes beyond the buffer boundary, resulting in a stack buffer overflow. This affects deployments that enable the qlog callback and process untrusted peer transport parameters. This issue has been fixed in version 1.22.1. If developers are unable to immediately upgrade, they can disable the qlog on client.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"ngtcp2 is a C implementation of the IETF QUIC protocol. In versions prior to 1.22.1, ngtcp2_qlog_parameters_set_transport_params() serializes peer transport parameters into a fixed 1024-byte stack buffer without bounds checking. When qlog is enabled, a remote peer can send sufficiently large transport parameters during the QUIC handshake to cause writes beyond the buffer boundary, resulting in a stack buffer overflow. This affects deployments that enable the qlog callback and process untrusted peer transport parameters. This issue has been fixed in version 1.22.1. If developers are unable to immediately upgrade, they can disable the qlog on client.","source":"cvelist"},{"lang":"es","text":"ngtcp2 es una implementación en C del protocolo QUIC de la IETF. En versiones anteriores a la 1.22.1, ngtcp2_qlog_parameters_set_transport_params() serializa los parámetros de transporte del par en un búfer de pila fijo de 1024 bytes sin comprobación de límites. Cuando qlog está habilitado, un par remoto puede enviar parámetros de transporte suficientemente grandes durante el handshake QUIC para causar escrituras más allá del límite del búfer, lo que resulta en un desbordamiento de búfer de pila. Esto afecta a las implementaciones que habilitan la devolución de llamada de qlog y procesan parámetros de transporte de pares no confiables. Este problema ha sido solucionado en la versión 1.22.1. Si los desarrolladores no pueden actualizar de inmediato, pueden deshabilitar qlog en el cliente.","source":"nvd"}],"published":"2026-04-16T21:34:07.610Z","modified":"2026-11-11T23:10:00.263Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"redhat-SADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-120","CWE-121"],"affected":[{"ranges":[{"version":"< 1.22.1","status":"affected"}],"vendor":"ngtcp2","product":"ngtcp2","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:4.23.5-109.el10_2","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","package":"samba","cpe":"cpe:/o:redhat:enterprise_linux:10.2","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:4.23.5-10.el9_8","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"samba","cpe":"cpe:/a:redhat:enterprise_linux:9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1.22.1-1.hum1","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Hardened Images","package":"ngtcp2-main","cpe":"cpe:/a:redhat:hummingbird:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","package":"nodejs22","cpe":"cpe:/o:redhat:enterprise_linux:10","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","package":"nodejs24","cpe":"cpe:/o:redhat:enterprise_linux:10","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","package":"nodejs","cpe":"cpe:/o:redhat:enterprise_linux:8","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","package":"nodejs:20/nodejs","cpe":"cpe:/o:redhat:enterprise_linux:8","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","package":"nodejs:22/nodejs","cpe":"cpe:/o:redhat:enterprise_linux:8","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","package":"nodejs:24/nodejs","cpe":"cpe:/o:redhat:enterprise_linux:8","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"nodejs","cpe":"cpe:/o:redhat:enterprise_linux:9","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"nodejs:20/nodejs","cpe":"cpe:/o:redhat:enterprise_linux:9","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"nodejs:22/nodejs","cpe":"cpe:/o:redhat:enterprise_linux:9","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"nodejs:24/nodejs","cpe":"cpe:/o:redhat:enterprise_linux:9","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"1.22.1"}],"vendor":"tatsuhiro-t","product":"ngtcp2","cpe":"cpe:2.3:a:tatsuhiro-t:ngtcp2:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/ngtcp2/ngtcp2/security/advisories/GHSA-f523-465f-8c8f","tags":["exploit","mitigation","patch","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ngtcp2/ngtcp2/commit/708a7640c1f48fb8ffb540c4b8ea5b4c1dfb8ee5","tags":["patch","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2026/04/17/12","tags":["exploit","mailing-list","mitigation","patch","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-40170","tags":["vdb-entry","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2459061","tags":["issue-tracking","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40170.json","tags":["x-sadp-csaf-vex"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:22963","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:25049","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:9113","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-04-17T14:52:12.292Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-40170","url":"https://www.cve.org/CVERecord?id=CVE-2026-40170","licence":"CVE Terms of Use","modified":"2026-07-15T01:01:24.150Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-40170","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40170","licence":"Public domain","modified":"2026-11-11T23:10:00.263Z"}],"updatedAt":"2026-11-25T22:59:18.919Z","epss":{"score":0.00789,"percentile":0.57436,"date":"2026-12-01T12:00:22.000Z"}}