CVEfocus › CVE database › CVE-2024-45797

CVE-2024-45797LibHTP's unbounded header handling leads to denial service

CVSS 7.5 HighEPSS 1.2% (higher than 69% of CVEs)Published 2024-10-16Updated 2025-11-03Assigner: GitHub_M

LibHTP is a security-aware parser for the HTTP protocol and the related bits and pieces. Prior to version 0.5.49, unbounded processing of HTTP request and response headers can lead to excessive CPU time and memory utilization, possibly leading to extreme slowdowns. This issue is addressed in 0.5.49.

CWE-770

What to do

Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

7Fixed
5Fix pending
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04libhtpNot affected
vulnerable_code_not_present
Ubuntu 25.10libhtpNot affected
vulnerable_code_not_present
Ubuntu 24.04libhtpFix pending1:0.5.46-1ubuntu2+esm1 (Ubuntu Pro)UBUNTU-CVE-2024-45797
Ubuntu 22.04libhtpFix pending1:0.5.39-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2024-45797
Ubuntu 20.04libhtpFix pending1:0.5.32-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2024-45797
Ubuntu 18.04libhtpFix pending1:0.5.26-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2024-45797
Ubuntu 16.04libhtpFix pending0.5.15-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2024-45797
Debian 13libhtpFixed1:0.5.49-1DEBIAN-CVE-2024-45797
Debian 12libhtpFixed1:0.5.42-1+deb12u1DEBIAN-CVE-2024-45797
Alpine Linux 3.24suricataFixed7.0.7-r0ALPINE-CVE-2024-45797
Alpine Linux 3.23suricataFixed7.0.7-r0ALPINE-CVE-2024-45797
Alpine Linux 3.22suricataFixed7.0.7-r0ALPINE-CVE-2024-45797
Alpine Linux 3.21suricataFixed7.0.7-r0ALPINE-CVE-2024-45797
Alpine Linux 3.20suricataFixed7.0.7-r0ALPINE-CVE-2024-45797

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.