{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "02e1e115435888485f2e28b414d267e39e799e07"
                  },
                  {
                    "fixed": "a996aa8d569c709ddf0a5b1011a4f06bac9ce21d"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          },
          "events": [
            {
              "introduced": "02e1e115435888485f2e28b414d267e39e799e07"
            },
            {
              "fixed": "a996aa8d569c709ddf0a5b1011a4f06bac9ce21d"
            }
          ],
          "repo": "https://gitbox.apache.org/repos/asf/logging-log4net.git",
          "type": "GIT"
        }
      ]
    },
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "1.2.9"
                  },
                  {
                    "fixed": "3.6.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "a996aa8d569c709ddf0a5b1011a4f06bac9ce21d"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "18a96716af733f7c6e4956526acdcc117a1bd461"
            },
            {
              "fixed": "ed973ba2e4b2cf7bd0c6a3c1e65f783563228068"
            },
            {
              "fixed": "a996aa8d569c709ddf0a5b1011a4f06bac9ce21d"
            }
          ],
          "repo": "https://github.com/apache/logging-log4net",
          "type": "GIT"
        }
      ]
    }
  ],
  "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"
  },
  "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.",
  "id": "CVE-2026-129512",
  "modified": "2026-11-18T17:45:40.060173834Z",
  "published": "2026-11-17T22:14:58.890Z",
  "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"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Apache log4net: AdoNetAppender loses an event whose text the database cannot store"
}