{"id":"CVE-2026-129512","summary":"Apache log4net: AdoNetAppender loses an event whose text the database cannot store","details":"Improper Neutralization of Null Byte or NUL Character vulnerability in the AdoNetAppender of Apache log4net.\n\nText parameters were bound unchanged, so a NUL character or an unpaired UTF-16 surrogate reached the database as it was. A database that refuses such a value, such as PostgreSQL, rejected the insert and the event was lost; only the first such loss per appender was reported. A party whose data reaches a log message could suppress that event.\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.","modified":"2026-11-18T17:45:40.060173834Z","published":"2026-11-17T22:14:58.890Z","database_specific":{"cna_assigner":"apache","cwe_ids":["CWE-158"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/129xxx/CVE-2026-129512.json"},"references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2026/11/17/36"},{"type":"PACKAGE","url":"https://gitbox.apache.org/repos/asf/logging-log4net.git"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/129xxx/CVE-2026-129512.json"},{"type":"FIX","url":"https://github.com/apache/logging-log4net/commit/a996aa8d569c709ddf0a5b1011a4f06bac9ce21d"},{"type":"FIX","url":"https://github.com/apache/logging-log4net/pull/355"},{"type":"ADVISORY","url":"https://lists.apache.org/thread.html/jgrh2z1l8tyk33ds6jp5ck18f7wckbch"},{"type":"WEB","url":"https://nuget.org/packages"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129512"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://gitbox.apache.org/repos/asf/logging-log4net.git","events":[{"introduced":"02e1e115435888485f2e28b414d267e39e799e07"},{"fixed":"a996aa8d569c709ddf0a5b1011a4f06bac9ce21d"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"02e1e115435888485f2e28b414d267e39e799e07"},{"fixed":"a996aa8d569c709ddf0a5b1011a4f06bac9ce21d"}],"source":"AFFECTED_FIELD"}]}}],"versions":["rel/3.5.0","rc/3.5.0-rc2","rc/3.5.0-rc1","rc/3.4.1-preview.1","rel/3.4.0","rc/3.4.0-rc1","rc/3.4.0-preview.1","rel/3.3.2","rc/3.3.2-rc1","rel/3.3.1","rc/3.3.1-rc1","rel/3.3.0","rc/3.3.0-rc1","rc/3.2.0-rc1","rc/temp","rel/3.2.0","rc/3.2.0-preview.1","rel/3.1.0","rc/3.1.0-rc1","rel/3.0.4","rc/3.0.4-rc1","rc/3.0.4-preview.1","rel/3.0.3","rc/3.0.3-rc1","rc/3.0.3-preview.1","rel/3.0.2","rc/3.0.2-rc1","rel/3.0.1","rc/3.0.1-rc1","rc/3.0.1-preview.2","rc/3.0.1-preview.1","rel/2.x","rel/2.0.17","rel/2.0.16","rel/2.0.15","rel/2.0.14","rel/2.0.13","rel/2.0.12","rel/2.0.11","rel/2.0.10"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-129512.json"}},{"ranges":[{"type":"GIT","repo":"https://github.com/apache/logging-log4net","events":[{"introduced":"18a96716af733f7c6e4956526acdcc117a1bd461"},{"fixed":"ed973ba2e4b2cf7bd0c6a3c1e65f783563228068"},{"fixed":"a996aa8d569c709ddf0a5b1011a4f06bac9ce21d"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"1.2.9"},{"fixed":"3.6.0"}],"source":"AFFECTED_FIELD"},{"range":[{"fixed":"a996aa8d569c709ddf0a5b1011a4f06bac9ce21d"}],"source":"REFERENCES_COMMIT"}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-129512.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"}]}