Skip to content
Fencer Vulns
high 8.8

CVE-2025-53628 json

cpp-httplib does not limit the length of a line

published 2025-07-10 15 mo ago modified 2026-06-17 4 mo ago also EUVD-2025-21053

cvss
8.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.5%
EPSS 0.5% chance of exploitation in 30 days, percentile 44%
public exploits
0
none known

Summary

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.

Patch / fix

  • cpp-httplib_project cpp-httplib 0.20.1
  • yhirose cpp-httplib 0.20.1
  • cpp-httplib Debian 14 0.25.0+ds-3

debian advisories DEBIAN-CVE-2025-53628

  • cpp-httplib SLES for SAP applications 16.0, SLES 16.0 0.22.0-160000.4.1

suse advisories SUSE-SU-2026:20600-1

  • cpp-httplib openSUSE Leap 16.0 0.22.0-160000.4.1

opensuse advisories openSUSE-SU-2026:20295-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2025-53628 updated cvss 5.9

cpp-httplib: cpp-httplib does not limit the length of a line

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
yes
Technical impact
partial
Assessed
15 mo ago

Exploit prediction

0.52% chance of exploitation in the next 30 days, higher than 44% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-j6p8-779x-p5pw referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 4.0 6.3 CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
CNA 4.0 6.3 CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
NVD 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected products

  • yhirose cpp-httplib

Classification

Weakness
  • CWE-835 Loop with Unreachable Exit Condition
  • CWE-770 Allocation of Resources Without Limits or Throttling
  • CWE-444 Inconsistent Interpretation of HTTP Requests

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.