CVE-2025-59476
Java vulnerability analysis and mitigation

Overview

CVE-2025-59476 is a medium-severity log message injection vulnerability discovered in Jenkins. The vulnerability affects Jenkins versions up to 2.527 and LTS versions up to 2.516.2. It was discovered by Manuel Fernandez from Stackhopper Security and publicly disclosed in the Jenkins Security Advisory on September 17, 2025 (Jenkins Advisory).

Technical details

The vulnerability exists in the log formatter component that prepares messages for console output, including jenkins.log and equivalent files. The core issue is that the formatter does not properly restrict or transform characters that can be inserted from user-specified content in log messages. The vulnerability has been assigned a CVSS score of 4.4, indicating medium severity (Cybersecurity News).

Impact

This vulnerability allows attackers with the ability to control log message contents to insert line break characters, followed by forged log messages. This can potentially mislead administrators reviewing log output. Additionally, characters like ASCII BS (backspace) may result in log viewers hiding content, while Unicode-enabled log viewers may be misled by 'Trojan Source' characters (Jenkins Advisory).

Mitigation and workarounds

The vulnerability has been fixed in Jenkins weekly version 2.528 and LTS version 2.516.3. The fix adds an indicator at the beginning of injected lines, marking them with [CR], [LF], or [CRLF] (representing the kind of line break), followed by >. Administrators are advised to upgrade to these versions immediately. Additionally, it is recommended to use a log/text viewer that highlights unusual characters in its output and to restrict log access to trusted personnel (Jenkins 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-59340CRITICAL9.8
  • JavaJava
  • com.hubspot.jinjava:jinjava
NoYesSep 17, 2025
CVE-2025-43808MEDIUM6.9
  • JavaJava
  • cpe:2.3:a:liferay:liferay_portal
NoYesSep 19, 2025
CVE-2025-43803MEDIUM6.9
  • JavaJava
  • cpe:2.3:a:liferay:liferay_portal
NoYesSep 19, 2025
CVE-2025-59476MEDIUM5.3
  • JavaJava
  • cpe:2.3:a:jenkins:jenkins
NoYesSep 17, 2025
CVE-2025-43809MEDIUM5.1
  • JavaJava
  • cpe:2.3:a:liferay:liferay_portal
NoYesSep 19, 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