CVE-2025-54813

NameCVE-2025-54813
DescriptionImproper Output Neutralization for Logs vulnerability in Apache Log4cxx. When using JSONLayout, not all payload bytes are properly escaped. If an attacker-supplied message contains certain non-printable characters, these will be passed along in the message and written out as part of the JSON message. This may prevent applications that consume these logs from correctly interpreting the information within them. This issue affects Apache Log4cxx: before 1.5.0. Users are recommended to upgrade to version 1.5.0, which fixes the issue.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1111881

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
log4cxx (PTS)bullseye0.11.0-2vulnerable
bookworm1.0.0-1vulnerable
forky, sid, trixie1.4.0-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
log4cxxsource(unstable)(unfixed)1111881

Notes

[trixie] - log4cxx <no-dsa> (Minor issue)
[bookworm] - log4cxx <no-dsa> (Minor issue)
https://logging.apache.org/security.html#CVE-2025-54813
https://github.com/apache/logging-log4cxx/pull/512
Fixed by: https://github.com/apache/logging-log4cxx/commit/a799c934545311ff4179c68e16bbeb02b5c66348 (rel/v1.5.0, v1.5.0-RC1)

Search for package or bug name: Reporting problems