CVEfocus › CVE database › CVE-2025-54813

CVE-2025-54813Apache Log4cxx: Improper escaping with JSONLayout

CVSS 6.3 MediumEPSS 1.3% (higher than 71% of CVEs)Published 2025-08-22Updated 2025-11-04Assigner: apache

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.

CWE-117

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed
4Fix pending
3Under investigation
3Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04log4cxxUnder investigationUBUNTU-CVE-2025-54813
Ubuntu 25.10log4cxxWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-54813
Ubuntu 24.04log4cxxUnder investigationUBUNTU-CVE-2025-54813
Ubuntu 22.04log4cxxUnder investigationUBUNTU-CVE-2025-54813
Ubuntu 20.04log4cxxFix pendingUBUNTU-CVE-2025-54813
Ubuntu 18.04log4cxxFix pendingUBUNTU-CVE-2025-54813
Ubuntu 16.04log4cxxFix pendingUBUNTU-CVE-2025-54813
Ubuntu 14.04log4cxxFix pendingUBUNTU-CVE-2025-54813
Debian 14log4cxxFixed1.4.0-1.1DEBIAN-CVE-2025-54813
Debian 13log4cxxFixed1.4.0-1+deb13u1DEBIAN-CVE-2025-54813
Debian 12log4cxxFixed1.0.0-1+deb12u1DEBIAN-CVE-2025-54813
Red Hat Enterprise Linux 7log4cxxWill not fix
Out of support scope
Red Hat Enterprise Linux 7log4cxx-develWill not fix
Out of support scope

What the vendor says

As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.