# CVE-2026-129512: Apache log4net: AdoNetAppender loses an event whose text the database cannot store

- Severity: Medium 5.3 (CVSS:3.1, scored by apache) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 34% of CVEs (2026-12-01)
- Published: 2026-11-17T22:14:58.890Z
- Modified: 2026-11-20T17:32:32.540Z
- Weaknesses: CWE-158
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: apache

## Description

Improper Neutralization of Null Byte or NUL Character vulnerability in the AdoNetAppender of Apache log4net.

Text 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.

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.

(As written by CVE List.)

## Affected

- log4net: from 1.2.9 before 3.6.0; from 02e1e115435888485f2e28b414d267e39e799e07 before a996aa8d569c709ddf0a5b1011a4f06bac9ce21d

## References

- <https://github.com/apache/logging-log4net/pull/355> (patch)
- <https://github.com/apache/logging-log4net/commit/a996aa8d569c709ddf0a5b1011a4f06bac9ce21d> (patch)
- <https://lists.apache.org/thread.html/jgrh2z1l8tyk33ds6jp5ck18f7wckbch> (vendor-advisory)
- <http://www.openwall.com/lists/oss-security/2026/11/17/36>

## Sources

- CVE List: [CVE-2026-129512](https://www.cve.org/CVERecord?id=CVE-2026-129512), CVE Terms of Use, modified 2026-11-18
- NVD: [CVE-2026-129512](https://nvd.nist.gov/vuln/detail/CVE-2026-129512), Public domain, modified 2026-11-20

---

Page: https://cve.day/CVE-2026-129512 · Whole record: https://cve.day/CVE-2026-129512.json · Rebuilt by cve.day 2026-11-25T22:59:51.734Z
