CVE-2026-129511 (GCVE-0-2026-129511)

Vulnerability from cvelistv5 – Published: 2026-11-17 22:14 – Updated: 2026-11-18 16:55
VLAI
Title
Apache log4net: Best-fit encoding in FileAppender lets fullwidth text forge XML log events
Summary
Improper Output Neutralization for Logs vulnerability in the FileAppender, RollingFileAppender, UdpAppender and SmtpAppender of Apache log4net. Characters the configured encoding could not represent were converted by that encoding's best-fit fallback, which turns fullwidth characters such as U+FF1C, U+FF1E and U+FF02 into <, > and ". The conversion happened after XmlLayout or XmlLayoutSchemaLog4J had escaped the text, so a party whose data reaches a log message could forge complete log events in an XML log, for example a fake audit entry. On .NET Framework this needs no configuration where the ANSI code page is single-byte, since that is the default encoding; on .NET it needs a configured single-byte encoding such as ISO-8859-1. This is the best-fit conversion described by the WorstFit research. This issue affects Apache log4net: from 1.2.9 before 3.6.0. Users are recommended to upgrade to version 3.6.0, which fixes the issue.
SSVC
Exploitation: none Automatable: yes Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-11-18 16:54 UTC
CWE
  • CWE-117 - Improper Output Neutralization for Logs
Impacted products
Vendor Product Version
Apache Software Foundation Apache log4net Affected: 1.2.9 , < 3.6.0 (semver)
Create a notification for this product.
Apache Software Foundation Apache log4net Affected: 3.4.0 , < 3.6.0 (semver)
Create a notification for this product.
Apache Software Foundation Apache log4net Affected: 02e1e115435888485f2e28b414d267e39e799e07 , < 735db80ab163ef08c54d2cc4d3d576b22b77f4bc (git)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2026-11-18T02:06:35.542Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "url": "http://www.openwall.com/lists/oss-security/2026/11/17/35"
          }
        ],
        "title": "CVE Program Container"
      },
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-129511",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "yes"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-11-18T16:54:50.566946Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-11-18T16:55:05.734Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "collectionURL": "https://nuget.org/packages",
          "defaultStatus": "unaffected",
          "packageName": "log4net",
          "packageURL": "pkg:nuget/log4net",
          "product": "Apache log4net",
          "vendor": "Apache Software Foundation",
          "versions": [
            {
              "lessThan": "3.6.0",
              "status": "affected",
              "version": "1.2.9",
              "versionType": "semver"
            }
          ]
        },
        {
          "collectionURL": "https://nuget.org/packages",
          "defaultStatus": "unaffected",
          "packageName": "log4net.Ext.Mail",
          "packageURL": "pkg:nuget/log4net.Ext.Mail",
          "product": "Apache log4net",
          "vendor": "Apache Software Foundation",
          "versions": [
            {
              "lessThan": "3.6.0",
              "status": "affected",
              "version": "3.4.0",
              "versionType": "semver"
            }
          ]
        },
        {
          "collectionURL": "https://nuget.org/packages",
          "defaultStatus": "unaffected",
          "packageName": "log4net",
          "packageURL": "pkg:nuget/log4net",
          "product": "Apache log4net",
          "repo": "https://gitbox.apache.org/repos/asf/logging-log4net.git",
          "vendor": "Apache Software Foundation",
          "versions": [
            {
              "lessThan": "735db80ab163ef08c54d2cc4d3d576b22b77f4bc",
              "status": "affected",
              "version": "02e1e115435888485f2e28b414d267e39e799e07",
              "versionType": "git"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "finder",
          "value": "The Apache Software Foundation"
        },
        {
          "lang": "en",
          "type": "tool",
          "value": "Anthropic OSS Scanner"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Jan Friedrich"
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "Improper Output Neutralization for Logs vulnerability in the FileAppender, RollingFileAppender, UdpAppender and SmtpAppender of Apache log4net.\u003cbr\u003e\u003cbr\u003eCharacters the configured encoding could not represent were converted by that encoding\u0027s best-fit fallback, which turns fullwidth characters such as U+FF1C, U+FF1E and U+FF02 into \u0026lt;, \u0026gt; and \". The conversion happened after XmlLayout or XmlLayoutSchemaLog4J had escaped the text, so a party whose data reaches a log message could forge complete log events in an XML log, for example a fake audit entry. On .NET Framework this needs no configuration where the ANSI code page is single-byte, since that is the default encoding; on .NET it needs a configured single-byte encoding such as ISO-8859-1. This is the best-fit conversion described by the WorstFit research.\u003cbr\u003e\u003cbr\u003eThis issue affects Apache log4net: from 1.2.9 before 3.6.0.\u003cbr\u003e\u003cbr\u003eUsers are recommended to upgrade to version 3.6.0, which fixes the issue."
            }
          ],
          "value": "Improper Output Neutralization for Logs vulnerability in the FileAppender, RollingFileAppender, UdpAppender and SmtpAppender of Apache log4net.\n\nCharacters the configured encoding could not represent were converted by that encoding\u0027s best-fit fallback, which turns fullwidth characters such as U+FF1C, U+FF1E and U+FF02 into \u003c, \u003e and \". The conversion happened after XmlLayout or XmlLayoutSchemaLog4J had escaped the text, so a party whose data reaches a log message could forge complete log events in an XML log, for example a fake audit entry. On .NET Framework this needs no configuration where the ANSI code page is single-byte, since that is the default encoding; on .NET it needs a configured single-byte encoding such as ISO-8859-1. This is the best-fit conversion described by the WorstFit research.\n\nThis issue affects Apache log4net: from 1.2.9 before 3.6.0.\n\nUsers are recommended to upgrade to version 3.6.0, which fixes the issue."
        }
      ],
      "metrics": [
        {
          "other": {
            "content": {
              "text": "moderate"
            },
            "type": "Textual description of severity"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        },
        {
          "cvssV3_1": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 5.3,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "NONE",
            "integrityImpact": "LOW",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N",
            "version": "3.1"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-117",
              "description": "CWE-117 Improper Output Neutralization for Logs",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-17T22:14:22.857Z",
        "orgId": "f0158376-9dc2-43b6-827c-5f631a4d8d09",
        "shortName": "apache"
      },
      "references": [
        {
          "tags": [
            "patch"
          ],
          "url": "https://github.com/apache/logging-log4net/pull/355"
        },
        {
          "tags": [
            "patch"
          ],
          "url": "https://github.com/apache/logging-log4net/commit/735db80ab163ef08c54d2cc4d3d576b22b77f4bc"
        },
        {
          "tags": [
            "vendor-advisory"
          ],
          "url": "https://lists.apache.org/thread.html/v2oljwjcboxk0tvyy5v86o2fjlslx1zt"
        }
      ],
      "source": {
        "discovery": "INTERNAL"
      },
      "title": "Apache log4net: Best-fit encoding in FileAppender lets fullwidth text forge XML log events",
      "x_generator": {
        "engine": "Vulnogram 1.0.3"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "f0158376-9dc2-43b6-827c-5f631a4d8d09",
    "assignerShortName": "apache",
    "cveId": "CVE-2026-129511",
    "datePublished": "2026-11-17T22:14:22.857Z",
    "dateReserved": "2026-11-15T20:28:38.786Z",
    "dateUpdated": "2026-11-18T16:55:05.734Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-129511",
      "date": "2026-11-18",
      "epss": "0.00412",
      "percentile": "0.36099"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "collectionURL": "https://nuget.org/packages",
                "defaultStatus": "unaffected",
                "packageName": "log4net",
                "packageURL": "pkg:nuget/log4net",
                "product": "Apache log4net",
                "vendor": "Apache Software Foundation",
                "versions": [
                  {
                    "lessThan": "3.6.0",
                    "status": "affected",
                    "version": "1.2.9",
                    "versionType": "semver"
                  }
                ]
              },
              {
                "collectionURL": "https://nuget.org/packages",
                "defaultStatus": "unaffected",
                "packageName": "log4net.Ext.Mail",
                "packageURL": "pkg:nuget/log4net.Ext.Mail",
                "product": "Apache log4net",
                "vendor": "Apache Software Foundation",
                "versions": [
                  {
                    "lessThan": "3.6.0",
                    "status": "affected",
                    "version": "3.4.0",
                    "versionType": "semver"
                  }
                ]
              },
              {
                "collectionURL": "https://nuget.org/packages",
                "defaultStatus": "unaffected",
                "packageName": "log4net",
                "packageURL": "pkg:nuget/log4net",
                "product": "Apache log4net",
                "repo": "https://gitbox.apache.org/repos/asf/logging-log4net.git",
                "vendor": "Apache Software Foundation",
                "versions": [
                  {
                    "lessThan": "735db80ab163ef08c54d2cc4d3d576b22b77f4bc",
                    "status": "affected",
                    "version": "02e1e115435888485f2e28b414d267e39e799e07",
                    "versionType": "git"
                  }
                ]
              }
            ],
            "source": "security@apache.org"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "Improper Output Neutralization for Logs vulnerability in the FileAppender, RollingFileAppender, UdpAppender and SmtpAppender of Apache log4net.\n\nCharacters the configured encoding could not represent were converted by that encoding\u0027s best-fit fallback, which turns fullwidth characters such as U+FF1C, U+FF1E and U+FF02 into \u003c, \u003e and \". The conversion happened after XmlLayout or XmlLayoutSchemaLog4J had escaped the text, so a party whose data reaches a log message could forge complete log events in an XML log, for example a fake audit entry. On .NET Framework this needs no configuration where the ANSI code page is single-byte, since that is the default encoding; on .NET it needs a configured single-byte encoding such as ISO-8859-1. This is the best-fit conversion described by the WorstFit research.\n\nThis issue affects Apache log4net: from 1.2.9 before 3.6.0.\n\nUsers are recommended to upgrade to version 3.6.0, which fixes the issue."
          }
        ],
        "id": "CVE-2026-129511",
        "lastModified": "2026-11-18T17:17:37.623",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "NONE",
                "baseScore": 5.3,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "NONE",
                "integrityImpact": "LOW",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N",
                "version": "3.1"
              },
              "exploitabilityScore": 3.9,
              "impactScore": 1.4,
              "source": "security@apache.org",
              "type": "Secondary"
            }
          ],
          "ssvcV203": [
            {
              "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "ssvcData": {
                "id": "CVE-2026-129511",
                "options": [
                  {
                    "exploitation": "none"
                  },
                  {
                    "automatable": "yes"
                  },
                  {
                    "technicalImpact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-11-18T16:54:50.566946Z",
                "version": "2.0.3"
              }
            }
          ]
        },
        "published": "2026-11-17T23:17:51.577",
        "references": [
          {
            "source": "security@apache.org",
            "url": "https://github.com/apache/logging-log4net/commit/735db80ab163ef08c54d2cc4d3d576b22b77f4bc"
          },
          {
            "source": "security@apache.org",
            "url": "https://github.com/apache/logging-log4net/pull/355"
          },
          {
            "source": "security@apache.org",
            "url": "https://lists.apache.org/thread.html/v2oljwjcboxk0tvyy5v86o2fjlslx1zt"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "http://www.openwall.com/lists/oss-security/2026/11/17/35"
          }
        ],
        "sourceIdentifier": "security@apache.org",
        "vulnStatus": "Received",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-117"
              }
            ],
            "source": "security@apache.org",
            "type": "Secondary"
          }
        ]
      }
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…