CVEfocus › CVE database › CVE-2025-53628

CVE-2025-53628cpp-httplib does not limit the length of a line

CVSS 6.3 MediumEPSS 0.9% (higher than 57% of CVEs)Published 2025-07-10Updated 2025-07-10Assigner: GitHub_M

cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. Prior to 0.20.1, cpp-httplib does not have a limit for a unique line, permitting an attacker to explore this to allocate memory arbitrarily. This vulnerability is fixed in 0.20.1. NOTE: This vulnerability is related to CVE-2025-53629.

CWE-770CWE-835

What to do

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

Debian, Ubuntu have 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

1Fixed
4Fix pending
1Will not fix

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 25.10cpp-httplibWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-53628
Ubuntu 24.04cpp-httplibFix pendingUBUNTU-CVE-2025-53628
Ubuntu 22.04cpp-httplibFix pendingUBUNTU-CVE-2025-53628
Debian 14cpp-httplibFixed0.25.0+ds-3DEBIAN-CVE-2025-53628
Debian 13cpp-httplibFix pendingDEBIAN-CVE-2025-53628
Debian 12cpp-httplibFix pendingDEBIAN-CVE-2025-53628

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.