Improper Output Neutralization for Logs Affecting log4cxx package, versions [0.12.0,1.5.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.19% (42nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Output Neutralization for Logs vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CONAN-LOG4CXX-12179277
  • published25 Aug 2025
  • disclosed22 Aug 2025
  • creditUnknown

Introduced: 22 Aug 2025

NewCVE-2025-54813  (opens in a new tab)
CWE-117  (opens in a new tab)

How to fix?

Upgrade log4cxx to version 1.5.0 or higher.

Overview

Affected versions of this package are vulnerable to Improper Output Neutralization for Logs in the JSONLayout class. An attacker can inject non-printable characters into log messages by supplying specially crafted input, which may cause downstream applications that consume these logs to misinterpret or mishandle the information.

CVSS Base Scores

version 4.0
version 3.1