CVE catalog

CVE-2025-68161

apache-log4j2: CVE-2025-68161

[CVE catalog]

Severity
Medium · CVSS 5.9CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.77% · Oct 25, 2026

The Socket Appender in Apache Log4j Core versions 2.0-beta9 through 2.25.2 does not perform TLS hostname verification of the peer certificate, even when the verifyHostName https://logging.apache.org/log4j/2.x/manual/appenders/network.html#SslConfiguration-attr-verifyHostName configuration attribute or the log4j2.sslVerifyHostName https://logging.apache.org/log4j/2.x/manual/systemproperties.html#log4j2.sslVerifyHostName system property is set to true. This issue may allow a man-in-the-middle attacker to intercept or redirect log traffic under the following conditions: * The attacker is able to intercept or redirect network traffic between the client and the log receiver. * The attacker can present a server certificate issued by a certification authority trusted by the Socket Appender’s configured trust store (or by the default Java trust store if no custom trust store is configured). Users are advised to upgrade to Apache Log4j Core version 2.25.3, which addresses this issue. As an alternative mitigation, the Socket Appender may be configured to use a private or restricted trust root to limit the set of trusted certificates.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianapache-log4j2sid2.26.1-1fixed
Debianapache-log4j2forky2.19.0-2vulnerable
Debianapache-log4j2trixie2.19.0-2vulnerable
Debianapache-log4j2bookworm2.19.0-2vulnerable
Opensuselog4jtumbleweed2.20.0-1.1fixed
Suselog4jlinux enterprise module for basesystem 15 sp72.20.0-150200.4.30.1fixed
Opensuselog4jleap 15.62.20.0-150200.4.30.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianapache-log4j2sourcesid2.26.1-1not yet assignedNot reported[1123744]
Debianapache-log4j2sourceforky(unfixed)not yet assignedNot reported[1123744]
Debianapache-log4j2sourcetrixie(unfixed)not yet assignedNot reported[1123744]
Debianapache-log4j2sourcebookworm(unfixed)not yet assignedNot reported[1123744]
Opensuselog4jrpmtumbleweed2.20.0-1.1Not reportedOPENSUSE-SU-2026:10009-1Not reported
Suselog4jrpmlinux enterprise module for basesystem 15 sp72.20.0-150200.4.30.1Not reportedSUSE-SU-2026:0254-1Not reported
Opensuselog4jrpmleap 15.62.20.0-150200.4.30.1Not reportedSUSE-SU-2026:0254-1Not reported

[Debian bug #1123744]

Notes

[trixie] apache-log4j2: Minor issue [bookworm] apache-log4j2: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [liblog4j2-java]Affected

    Source package: [apache-log4j2]

    Details (2)
    • 2.19.0-2 · all · bookworm

      Affected

      dsa · apache-log4j2 · debian · bookworm; dsa · apache-log4j2 · debian · 12

    • 2.19.0-2 · all · bookworm

      Affected

      dsa · apache-log4j2 · debian · bookworm; dsa · apache-log4j2 · debian · 12

[Debian 13 (Trixie)]

  • [liblog4j2-java]Affected

    Source package: [apache-log4j2]

    Details (2)
    • 2.19.0-2 · all · trixie

      Affected

      dsa · apache-log4j2 · debian · 13

    • 2.19.0-2 · all · trixie

      Affected

      dsa · apache-log4j2 · debian · 13

[openSUSE Tumbleweed]

  • [log4j-bom]Unknown

    Source package: [log4j]

    Details (1)
    • 2.26.1-2.1 · noarch · tumbleweed

      Unknown · Fixed: 2.20.0-1.1

      Version impact unknown

      dsa · log4j · opensuse · tumbleweed

  • [log4j-javadoc]Unknown

    Source package: [log4j]

    Details (1)
    • 2.26.1-2.1 · noarch · tumbleweed

      Unknown · Fixed: 2.20.0-1.1

      Version impact unknown

      dsa · log4j · opensuse · tumbleweed

  • [log4j-jcl]Unknown

    Source package: [log4j]

    Details (1)
    • 2.26.1-2.1 · noarch · tumbleweed

      Unknown · Fixed: 2.20.0-1.1

      Version impact unknown

      dsa · log4j · opensuse · tumbleweed

  • [log4j-nosql]Unknown

    Source package: [log4j]

    Details (1)
    • 2.26.1-2.1 · noarch · tumbleweed

      Unknown · Fixed: 2.20.0-1.1

      Version impact unknown

      dsa · log4j · opensuse · tumbleweed

  • [log4j-slf4j]Unknown

    Source package: [log4j]

    Details (1)
    • 2.26.1-2.1 · noarch · tumbleweed

      Unknown · Fixed: 2.20.0-1.1

      Version impact unknown

      dsa · log4j · opensuse · tumbleweed

  • [log4j-taglib]Unknown

    Source package: [log4j]

    Details (1)
    • 2.26.1-2.1 · noarch · tumbleweed

      Unknown · Fixed: 2.20.0-1.1

      Version impact unknown

      dsa · log4j · opensuse · tumbleweed

  • [log4j-web]Unknown

    Source package: [log4j]

    Details (1)
    • 2.26.1-2.1 · noarch · tumbleweed

      Unknown · Fixed: 2.20.0-1.1

      Version impact unknown

      dsa · log4j · opensuse · tumbleweed

  • [log4j]Fixed

    Source package: [log4j]

    Details (1)
    • 2.26.1-2.1 · noarch · tumbleweed

      Fixed · Fixed: 2.20.0-1.1

      dsa · log4j · opensuse · tumbleweed

Observed:

References