Insufficient verification of data authenticity in Cpp-httplib - CVE-2025-66577

 

Insufficient verification of data authenticity in Cpp-httplib - CVE-2025-66577

Published: December 8, 2025


Vulnerability identifier: #VU119256
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-66577
CWE-ID: CWE-345
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform MitM attack.

The vulnerability exists due to software trusts data passed via the X-Forwarded-For/X-Real-IP headers.  A remote attacker can modify these headers and poison log files or inject arbitrary HTTP headers into HTTP requests. 


Affected software

Cpp-httplib
openEuler
cpp-httplib-debugsource
cpp-httplib-devel
cpp-httplib-debuginfo
cpp-httplib

How to mitigate CVE-2025-66577

Install updates from vendor's website.

Cpp-httplib - update to 0.27.0
cpp-httplib-debugsource - update to 0.27.0-1
cpp-httplib-devel - update to 0.27.0-1
cpp-httplib-debuginfo - update to 0.27.0-1
cpp-httplib - update to 0.27.0-1

External References

Related Security Bulletins