GHSA-25gm-4x89-7r2q: netopeer2-server logging has format string vulnerability via subtree filter

Published Oct 30, 2026
·
Updated

Netopeer2 is a server for implementing network configuration management based on the NETCONF Protocol. In affected versions, a low-privileged authenticated NETCONF user can remotely crash netopeer2-server by sending a get RPC with an invalid subtree filter whose text contains format specifiers. In src/netconf.c, np2srvrpcgetcb() sends the invalid value through ERR() to np2logprintf(), where vsnprintf() first formats the message safely. In src/log.c, that already formatted buffer is subsequently passed to np2log() as the format string itself, causing vsyslog() to interpret attacker-controlled percent sequences and read invalid pointer arguments. The reported denial of service was confirmed on version 2.8.7 using NETCONF-over-SSH and AddressSanitizer; reliable remote code execution was not confirmed. The advisory identifies 2.8.8 as patched; repository comparisons verify the fix in public release 2.8.21. The affected/fixed boundary remains unresolved because no public 2.8.8 tag was located, which does not establish the status of an untagged 2.8.8 build.

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade netopeer2-server to a version that resolves this vulnerability.

    Fixed in 2.8.21

Event History

Oct 30, 2026
CVE Published
via OSV·10:03 PM
Data Sourced
via OSV·10:03 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue?

A low-privileged authenticated NETCONF user can exploit it remotely. The reported attack path uses NETCONF over SSH and does not require user interaction.

2

What input triggers the crash?

The attacker sends a get RPC containing an invalid subtree filter whose text includes format specifiers. Those percent sequences are later interpreted as a logging format string, which can cause invalid pointer reads and crash netopeer2-server.

3

Is remote code execution confirmed?

No. The report confirmed remote denial of service, but did not confirm reliable remote code execution.

4

Which versions are known to be affected or fixed?

The denial of service was confirmed on version 2.8.7. The advisory identifies 2.8.8 as patched, and the fix is verified in public release 2.8.21; however, no public 2.8.8 tag was found, so the exact affected-to-fixed boundary remains unresolved.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203