Description
keepalived before 2.0.7 has a heap-based buffer overflow when parsing HTTP status codes resulting in DoS or possibly unspecified other impact, because extract_status_code in lib/html.c has no validation of the status code and instead writes an unlimited amount of data to the heap.
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 | keepalived | 1:2.0.10-1 | — |
| Debian 13 | keepalived | 1:2.0.10-1 | — |
| Debian 12 | keepalived | 1:2.0.10-1 | — |
| Debian 8 | keepalived | 1:1.2.13-1+deb8u1 | DLA-1589-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | keepalived | 1:1.3.9-1ubuntu0.18.04.2 | USN-3995-1 |
| Ubuntu 16.04 LTS | keepalived | 1:1.2.24-1ubuntu0.16.04.2 | USN-3995-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 14.04 LTS | keepalived | 1:1.2.7-1ubuntu1+esm1 | USN-3995-2 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | keepalived | 1.3.5-8.el7_6 | RHSA-2019:0022 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7.5 EUS | keepalived | 1.3.5-7.el7_5.2 | RHSA-2019:1792 |
| RHEL 7.4 EUS | keepalived | 1.3.5-1.el7_4.1 | RHSA-2019:1945 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | keepalived | 1.3.5-8.amzn2 | ALAS2-2019-1154 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | keepalived | 1.3.5-8.el7_6 | ELSA-2019-0022 |
Advisories 8
- RHSA-2019:0022 Red Hat Security Advisory: keepalived security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DLA-1589-1 keepalived - security update Debian Security (DSA / DLA) · Mar 9, 2026
- USN-3995-1 keepalived vulnerability Ubuntu Security Notices (USN) · Feb 10, 2026
- USN-3995-2 keepalived vulnerability Ubuntu Security Notices (USN) · Feb 10, 2026
- RHSA-2019:1945 Red Hat Security Advisory: keepalived security update Red Hat Security Advisories (RHSA) · Nov 22, 2025
- RHSA-2019:1792 Red Hat Security Advisory: keepalived security update Red Hat Security Advisories (RHSA) · Nov 22, 2025
- ALAS2-2019-1154 Important: keepalived security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Jan 25, 2019
- ELSA-2019-0022 Important: keepalived security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Jan 4, 2019
References
- GLSA-201903-01 vendor-advisory
- [debian-lts-announce] 20181126 [SECURITY] [DLA-1589-1] keepalived security update mailing-list
- https://bugzilla.suse.com/show_bug.cgi?id=1015141
- https://github.com/acassen/keepalived/pull/961/commits/f28015671a4b04785859d1b4b1327b367b6a10e9
- https://github.com/acassen/keepalived/pull/961
- RHSA-2019:0022 vendor-advisory
- USN-3995-1 vendor-advisory
- USN-3995-2 vendor-advisory
- RHSA-2019:1792 vendor-advisory
- RHSA-2019:1945 vendor-advisory