Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2025-52887
yhirose cpp-httplib

Score7.5 High
CVSS 3.1
Exploit probability (EPSS)0.81%
within the next 30 days
CategoryDenial of service
Published26 June 2025
Last modified: 17 June 2026

In short

This vulnerability can be exploited remotely over the network, without logging in, without any user interaction.

A successful attack has high impact: crashing the system or making it unavailable.

Weakness type: Uncontrolled resource consumption.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official description

cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. In version 0.21.0, when many http headers fields are passed in, the library does not limit the number of headers, and the memory associated with the headers will not be released when the connection is disconnected. This leads to potential exhaustion of system memory and results in a server crash or unresponsiveness. Version 0.22.0 contains a patch for the issue.

CVSS: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weakness: CWE-400 – Uncontrolled resource consumption

Affected products

VendorProductVersions
yhirosecpp-httplib0.21.0

Sources

Latest in the same category

  • CVE-2026-137162 Low 2.1
    Inefficient Algorithmic Complexity vulnerability in leandrocp mdex allows an attacker who supplies Markdown to exhaust CPU via a long run of block quote markers when auto-close is enabled. When Markdown is rendered…
    Denial of service · 30 November 2026
  • CVE-2026-135775 Medium 5.9
    Inefficient Algorithmic Complexity vulnerability in leandrocp mdex allows an attacker who controls rendered Markdown to cause a denial of service via a bare URL followed by many closing parentheses. When auto-close is…
    Denial of service · 30 November 2026
  • CVE-2026-135699 Low 2.1
    Inefficient Regular Expression Complexity vulnerability in leandrocp mdex allows an attacker to exhaust CPU via crafted unterminated link or image labels. When an application completes partial Markdown with the…
    Denial of service · 30 November 2026
  • CVE-2026-134916 Medium 6.9
    Inefficient Algorithmic Complexity vulnerability in leandrocp mdex allows an attacker who controls Markdown input to cause a denial of service through CPU exhaustion via deeply nested block quotes passed to…
    Denial of service · 30 November 2026
  • CVE-2026-134915 Medium 6.9
    Inefficient Algorithmic Complexity vulnerability in leandrocp mdex allows an attacker who controls Markdown passed to MDEx.stream/2 to exhaust CPU via unmatched HTML closing tags. MDEx.stream/2 tracks open HTML tags…
    Denial of service · 30 November 2026
  • CVE-2026-131906 Medium 6.9
    Inefficient Algorithmic Complexity vulnerability in leandrocp mdex allows an attacker to cause a denial of service through excessive CPU consumption via crafted nested block quotes passed to MDEx.to_slack/2.…
    Denial of service · 30 November 2026