UBUNTU-CVE-2025-52887

Source
https://ubuntu.com/security/CVE-2025-52887
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-52887.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2025-52887
Upstream
Published
2025-06-26T15:15:00Z
Modified
2025-07-14T07:02:42.376021Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:22.04:LTS / cpp-httplib

Package

Name
cpp-httplib
Purl
pkg:deb/ubuntu/cpp-httplib@0.10.3+ds-1?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.9.9+ds-1
0.9.10+ds-1
0.10.1+ds-1
0.10.2+ds-1
0.10.3+ds-1

Ubuntu:24.04:LTS / cpp-httplib

Package

Name
cpp-httplib
Purl
pkg:deb/ubuntu/cpp-httplib@0.14.3+ds-1.1build2?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.13.1+ds-1ubuntu1
0.14.3+ds-1
0.14.3+ds-1.1
0.14.3+ds-1.1build1
0.14.3+ds-1.1build2

Ubuntu:25.04 / cpp-httplib

Package

Name
cpp-httplib
Purl
pkg:deb/ubuntu/cpp-httplib@0.18.7-1?arch=source&distro=plucky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.15.3+ds-3
0.16.3+ds-2
0.18.7-1