Skip to content
OpenAdvisories
Medium · 6.3 CVE-2025-53628 EUVD-2025-21053

cpp-httplib does not limit the length of a line

Published Jul 10, 2025 · Updated Jul 10, 2025 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
yhirose cpp-httplib < 0.20.1 —

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.

ReleasePackageFixed inAdvisory
Debian 14 cpp-httplib 0.25.0+ds-3 —
Debian 13 cpp-httplib No fix yet —
Debian 12 cpp-httplib No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 25.10 cpp-httplib No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS cpp-httplib No fix yet —
Ubuntu Pro 22.04 LTS cpp-httplib No fix yet —
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 cpp-httplib 0.22.0-160000.4.1 SUSE-SU-2026:20600-1
SLES 16.0 cpp-httplib 0.22.0-160000.4.1 SUSE-SU-2026:20600-1
ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 cpp-httplib 0.22.0-160000.4.1 openSUSE-SU-2026:20295-1

Advisories 2

References