# CVE-2023-36478: HTTP/2 HPACK integer overflow and buffer allocation

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 6.16% (percentile 94, 2026-11-28)
- **CWE:** CWE-190, CWE-400
- **Aliases:** BIT-jenkins-2023-36478, GHSA-wgh7-54f2-x98r
- **Published:** 2023-10-10T16:53:07.063Z
- **Modified:** 2026-09-10T03:50:08.942Z

## Who should check

- Projects that depend on Maven package org.eclipse.jetty.http2:http2-hpack (\>= 10.0.0, \< 10.0.16)
- Projects that depend on Maven package org.eclipse.jetty.http3:http3-qpack (\>= 10.0.0, \< 10.0.16)
- Anyone running eclipse jetty.project \>= 10.0.0, \< 10.0.16; \>= 11.0.0, \< 11.0.16; \>= 9.3.0, \< 9.4.53

## Description

Eclipse Jetty provides a web server and servlet container. In versions 11.0.0 through 11.0.15, 10.0.0 through 10.0.15, and 9.0.0 through 9.4.52, an integer overflow in \`MetaDataBuilder.checkSize\` allows for HTTP/2 HPACK header values to
exceed their size limit. \`MetaDataBuilder.java\` determines if a header name or value exceeds the size limit, and throws an exception if the limit is exceeded. However, when length is very large and huffman is true, the multiplication by 4 in line 295
will overflow, and length will become negative. \`(\_size+length)\` will now be negative, and the check on line 296 will not be triggered. Furthermore, \`MetaDataBuilder.checkSize\` allows for user-entered HPACK header value sizes to be negative, potentially leading to a very large buffer allocation later on when the user-entered size is multiplied by 2. This means that if a user provides a negative length value (or, more precisely, a length value which, when multiplied by the 4/3 fudge factor, is negative), and this length value is a very large positive number when multiplied by 2, then the user can cause a very large buffer to be allocated on the server. Users of HTTP/2 can be impacted by a remote denial of service attack. The issue has been fixed in versions 11.0.16, 10.0.16, and 9.4.53. There are no known workarounds.

## Affected and fixed versions

- Maven `org.eclipse.jetty.http2:http2-hpack`: affected \>= 10.0.0, \< 10.0.16; fixed 10.0.16, 11.0.16, 9.4.53 (osv)
- Maven `org.eclipse.jetty.http3:http3-qpack`: affected \>= 10.0.0, \< 10.0.16; fixed 10.0.16, 11.0.16 (osv)
- eclipse jetty.project: \>= 10.0.0, \< 10.0.16; \>= 11.0.0, \< 11.0.16; \>= 9.3.0, \< 9.4.53 (cvelist)

## Mitigation

- Upgrade org.eclipse.jetty.http2:http2-hpack to one of 10.0.16, 11.0.16, 9.4.53 (or later in the same release line).
- Upgrade org.eclipse.jetty.http3:http3-qpack to one of 10.0.16, 11.0.16 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-36478. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-36478.md
Affected: org.eclipse.jetty.http2:http2-hpack >= 10.0.0, < 10.0.16; org.eclipse.jetty.http3:http3-qpack >= 10.0.0, < 10.0.16
Fixed in: 10.0.16, 11.0.16, 9.4.53

Steps:
1. Search this machine and project for org.eclipse.jetty.http2:http2-hpack (Maven), org.eclipse.jetty.http3:http3-qpack (Maven), eclipse jetty.project: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-36478 being exploited?

There is no confirmed exploitation: CVE-2023-36478 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 6.16% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2023-36478?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2023-36478?

org.eclipse.jetty.http2:http2-hpack \>= 10.0.0, \< 10.0.16; org.eclipse.jetty.http3:http3-qpack \>= 10.0.0, \< 10.0.16.

### Is there a fix for CVE-2023-36478?

Yes. Fixed in 10.0.16, 11.0.16, 9.4.53. Upgrade org.eclipse.jetty.http2:http2-hpack to one of 10.0.16, 11.0.16, 9.4.53 (or later in the same release line). Upgrade org.eclipse.jetty.http3:http3-qpack to one of 10.0.16, 11.0.16 (or later in the same release line).

### How do I check if I'm affected by CVE-2023-36478?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/eclipse/jetty.project/security/advisories/GHSA-wgh7-54f2-x98r>
- vendor: <https://github.com/jetty/jetty.project/security/advisories/GHSA-wgh7-54f2-x98r>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2023-36478>
- patch: <https://github.com/eclipse/jetty.project/pull/9634>
- other: <https://github.com/eclipse/jetty.project/releases/tag/jetty-10.0.16>
- other: <https://github.com/eclipse/jetty.project/releases/tag/jetty-11.0.16>
- other: <https://github.com/eclipse/jetty.project/releases/tag/jetty-9.4.53.v20231009>
- other: <http://www.openwall.com/lists/oss-security/2023/10/18/4>
- other: <https://lists.debian.org/debian-lts-announce/2023/10/msg00045.html>
- other: <https://www.debian.org/security/2023/dsa-5540>
- other: <https://security.netapp.com/advisory/ntap-20231116-0011/>
- other: <https://security.netapp.com/advisory/ntap-20240621-0006/>
- other: <https://github.com/eclipse/jetty.project>
- other: <https://security.netapp.com/advisory/ntap-20231116-0011>
- other: <https://security.netapp.com/advisory/ntap-20240621-0006>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-36478>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-wgh7-54f2-x98r> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2023-36478> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-36478>
