The Apache Log4j team is pleased to announce the `2.25.6` release. Apache Log4j 
is a versatile, industrial-strength Java logging framework composed of an API, 
its implementation, and components to assist the deployment for various use 
cases. For further information (support, documentation, etc.) see the project 
website [1]. The release can be downloaded from the download page [2] or Maven 
Central.

Release Notes
=============

This is a patch release of the `2.25.x` long-term support line. It contains 
changes made since `2.25.5`, the previous release of the `2.25.x` line. The 
same changes will also be part of `2.26.2`.

This release fixes the HTML escaping of the `log:dump` JSP tag and hardens 
deserialization in response to sonatype-2026-006746 [3]. The hardening only 
matters to applications that deserialize *untrusted* data using the internal 
`FilteredObjectInputStream` class, without an `ObjectInputFilter`: a practice 
we advise against in our Security FAQ [4].

WARNING: The serialized form of some classes, such as `Log4jLogEvent` and 
`ParameterizedMessage`, changes: data serialized by `2.25.5` or earlier cannot 
be deserialized by `2.25.6`, and vice versa.

[1] https://logging.apache.org/log4j/2.x/index.html
[2] https://logging.apache.org/log4j/2.x/download.html
[3] https://guide.sonatype.com/vulnerability/sonatype-2026-006746
[4] https://logging.apache.org/security/faq.html#deserialization

Reply via email to