Description
An issue was discovered in HAProxy before 1.8.8. The incoming H2 frame length was checked against the max_frame_size setting instead of being checked against the bufsize. The max_frame_size only applies to outgoing traffic and not to incoming, so if a large enough frame size is advertised in the SETTINGS frame, a wrapped frame will be defragmented into a temporary allocated buffer where the second fragment may overflow the heap by up to 16 kB. It is very unlikely that this can be exploited for code execution given that buffers are very short lived and their addresses not realistically predictable in production, but the likelihood of an immediate crash is absolutely certain.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | haproxy | 1.8.8-1 | — |
| Debian 13 | haproxy | 1.8.8-1 | — |
| Debian 12 | haproxy | 1.8.8-1 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 3 | rh-haproxy18-haproxy +1 | 1.8.4-2.el7 | RHSA-2018:1372 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat OpenShift 3 | haproxy +1 | 1.8.8-1.el7 | RHBA-2018:1566 |
Advisories 2
- RHSA-2018:1372 Red Hat Security Advisory: rh-haproxy18-haproxy security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHBA-2018:1566 Red Hat Bug Fix Advisory: OpenShift Container Platform 3.9 bug fix and enhancement update Red Hat Security Advisories (RHSA) · Jun 29, 2026