CVE-2025-59822
Java vulnerability analysis and mitigation

Overview

CVE-2025-59822 affects Http4s, a Scala interface for HTTP services, in versions from 1.0.0-M1 to before 1.0.0-M45 and before 0.23.31. The vulnerability is related to HTTP Request Smuggling due to improper handling of HTTP trailer section. The issue was discovered and disclosed on September 23, 2025 (NVD, GitHub Advisory).

Technical details

The vulnerability stems from a bug in the HTTP chunked message parser's handling of the trailer section. After parsing the last body chunk, the parseTrailers method is called, which uses Parser.parse where the vulnerability originates. The parser has a flaw that allows termination before finding the double CRLF condition, specifically when encountering a header line without a colon character. The CVSS v4.0 base score is 6.3 (Medium), with the vector string CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N (GitHub Advisory).

Impact

The vulnerability could enable attackers to bypass front-end servers security controls, launch targeted attacks against active users, and poison web caches. The exploitation requires the web application to be deployed behind a reverse-proxy that forwards trailer headers (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in versions 1.0.0-M45 and 0.23.31. Users are advised to upgrade to these patched versions to mitigate the risk (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-43814MEDIUM6.9
  • JavaJava
  • com.liferay:com.liferay.portal.security.audit.event.generators.user.management
NoYesSep 22, 2025
CVE-2025-59822MEDIUM6.3
  • JavaJava
  • org.http4s:http4s-ember-core_2.12
NoYesSep 23, 2025
CVE-2025-43810MEDIUM5.3
  • JavaJava
  • cpe:2.3:a:liferay:liferay_portal
NoYesSep 22, 2025
CVE-2025-4760MEDIUM4.8
  • JavaJava
  • org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.api
NoYesSep 23, 2025
CVE-2024-6429MEDIUM4.3
  • JavaJava
  • org.wso2.identity.apps:authentication-portal
NoYesSep 23, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management