Name | CVE-2025-54813 |
Description | Improper 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 1111881 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
log4cxx (PTS) | bullseye | 0.11.0-2 | vulnerable |
| bookworm | 1.0.0-1 | vulnerable |
| forky, sid, trixie | 1.4.0-1 | vulnerable |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
log4cxx | source | (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)