CVE-2025-54812
When using HTMLLayout, logger names are not properly escaped when
writing out to the HTML file. If untrusted data is used to retrieve
the name of a logger, an attacker could theoretically inject HTML or
Javascript in order to hide information from logs or steal data from
the user.
CVE-2025-54813
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.
For Debian 11 bullseye, these problems have been fixed in version
0.11.0-2+deb11u1.
We recommend that you upgrade your log4cxx packages.
For the detailed security status of log4cxx please refer to
its security tracker page at:
https://security-tracker.debian.org/tracker/source-package/log4cxx
Get the latest Linux and open source security news straight to your inbox.