{"answers":{"affected":"2 open source packages ship an affected version, including log4net and log4net.Ext.Mail.","exploited":"There is no known exploitation of CVE-2026-129511 in the wild and no public exploit code.","exposure":"","fix":"Upgrade log4net to 3.6.0 or later.","what":"CVE-2026-129511 is a medium-severity vulnerability in Apache log4net, published on 17 Nov 2026."},"fix_prompt":"Check this codebase for CVE-2026-129511 and fix it if it is affected.\n\nWhat it is: CVE-2026-129511 is a medium-severity vulnerability in Apache log4net, published on 17 Nov 2026. \nExploitation: There is no known exploitation of CVE-2026-129511 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- log4net (NuGet): affected from 1.2.9; fixed in 3.6.0\n- log4net.Ext.Mail (NuGet): affected from 3.4.0; fixed in 3.6.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-129511/ (Markdown: https://insights.sbomify.com/CVE-2026-129511/index.md)","id":"CVE-2026-129511","markdown":"https://insights.sbomify.com/CVE-2026-129511/index.md","name":"CVE-2026-129511","record":{"aliases":["GHSA-jqh7-qm7m-vcgg"],"analysis":null,"analysis_generated_by":null,"assigner":"apache","cpe":[],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-117","name":"Improper Output Neutralization for Logs"}],"description":"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's 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.","ecosystems":["NuGet"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Apache log4net: Best-fit encoding in FileAppender lets fullwidth text forge XML log events","id":"CVE-2026-129511","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"NuGet","product":null,"products":[],"type":null,"year":"2026"},"n_packages":2,"n_references":3,"n_vendor_status":0,"next":{"headline":"Apache log4net: AdoNetAppender loses an event whose text the database cannot store","id":"CVE-2026-129512"},"nickname":null,"packages":[{"ecosystem":"NuGet","fixed":["3.6.0"],"introduced":["1.2.9"],"last_affected":[],"name_kind":null,"package":"log4net","purl":"pkg:nuget/log4net","purl_source":"cna","scope":"upstream","source":"CVE-2026-129511"},{"ecosystem":"NuGet","fixed":["3.6.0"],"introduced":["3.4.0"],"last_affected":[],"name_kind":null,"package":"log4net.Ext.Mail","purl":"pkg:nuget/log4net.Ext.Mail","purl_source":"cna","scope":"upstream","source":"CVE-2026-129511"}],"prev":{"headline":"Apache log4net: Culture-sensitive CDATA end search in XmlLayout hides later log events","id":"CVE-2026-129510"},"products":["Apache log4net"],"published":"2026-11-17","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2026-11-17","vendor_status":[],"vendors":["Apache Software Foundation"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-129511/"}