Home / ngtcp2 / ngtcp2 / CVE-2024-52811
CVE-2024-52811: is it exploited, and which versions of ngtcp2 are affected and fixed?
CVE-2024-52811 is an always-incorrect control flow vulnerability in ngtcp2. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:08 UTC). Affected: ngtcp2 = 1.9.0 (CVE record by GitHub_M). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (8.2, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:08 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:24 UTC.
What is CVE-2024-52811?
Acks not validated before logged to qlog leads to buffer overflow in ngtcp2
The ngtcp2 project is an effort to implement IETF QUIC protocol in C. In affected versions acks are not validated before being written to the qlog leading to a buffer overflow. In `ngtcp2_conn::conn_recv_pkt` for an ACK, there was new logic that got added to skip `conn_recv_ack` if an ack has already been processed in the payload. However, this causes us to also skip `ngtcp2_pkt_validate_ack`. The ack which was skipped still got written to qlog. The bug occurs in `ngtcp2_qlog::write_ack_frame`. It is now possible to reach this code with an invalid ack, suppose `largest_ack=0` and `first_ack_range=15`. Subtracting `largest_ack - first_ack_range` will lead to an integer underflow which is 20 chars long. However, the ngtcp2 qlog code assumes the number written is a signed integer and only accounts for 19 characters of overhead (see `NGTCP2_QLOG_ACK_FRAME_RANGE_OVERHEAD`). Therefore, we overwrite the buffer causing a heap overflow. This is high priority and could potentially impact many users if they enable qlog. qlog is disabled by default. Due to its overhead, it is most likely used for debugging purpose, but the actual use is unknown. ngtcp2 v1.9.1 fixes the bug and users are advised to upgrade. Users unable to upgrade should not turn on qlog.
From the CVE record by GitHub_M, last updated November 25, 2024, 20:21 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| ngtcp2 | ngtcp2 | = 1.9.0 |
As the CVE record by GitHub_M states it, last updated November 25, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2024-52811?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.2 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-52811 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, November 25, 2024)
- EPSS
- 0.84% probability of exploitation activity in the next 30 days, percentile 58.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-670 Always-Incorrect Control Flow Implementation
Where are the vendor advisories and references?
- https://github.com/ngtcp2/ngtcp2/security/advisories/GHSA-4gmv-gf46-r4g5 x_refsource_CONFIRM
- https://github.com/ngtcp2/ngtcp2/commit/44b662bd139c23fee1703bf256c13349e2e624a1 x_refsource_MISC
- https://github.com/ngtcp2/ngtcp2/commit/e550c1a414318d0f3f01fca1a621ae0b0428ca15 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- November 15, 2024
- Published
- November 25, 2024, 18:55 UTC
- CVE record updated
- November 25, 2024, 20:21 UTC by GitHub_M
- NVD
- Deferred, last modified June 17, 2026, 08:07 UTC
- Last checked
- CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:24 UTC; KEV December 3, 2026, 13:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect ngtcp2?
- Apr 16, 2026CVE-2026-40170 ngtcp2: stack buffer overflow
Questions about CVE-2024-52811
Is CVE-2024-52811 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:08 UTC. FIRST's EPSS gives it a 0.84% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of ngtcp2 are affected by CVE-2024-52811?
ngtcp2 = 1.9.0, per the CVE record by GitHub_M. The tables above give every range the sources list.
Which version fixes CVE-2024-52811?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2024-52811?
High (8.2, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2024-52811?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.