CVE-2026-11979: Stack-Based Buffer Overflow in libxml2

Published Jun 29, 2026
·
Updated

libxml2 is vulnerable to multiple stack-based buffer overflows in the xmlcatalog utility when running in --shell mode. The usershell() function processes user input using fixed-size stack buffers without proper bounds checking. By supplying an overly long input line, an attacker can overflow internal buffers (command, arg, and argv) during input parsing. This results in memory corruption within the stack frame. Successful exploitation may cause a crash or potentially allow arbitrary code execution in the context of the xmlcatalog process.

This issue has been fixed in the commit c2e233fc.

NOTE: The maintainers of this project did not agree that this issue is a vulnerability and considered it a bug.

Affected Software

2 affected components
libxml2 xmlcatalog utility
Xmlsoft Libxml2<=2.15.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade libxml2 (xmlcatalog utility, --shell mode) to a version that resolves this vulnerability.

    Patch c2e233fc

Event History

Jun 29, 2026
CVE Published
via MITRE·01:21 PM
Data Sourced
via MITRE·01:21 PM
DescriptionWeakness
Data Sourced
via NVD·02:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-11979?

CVE-2026-11979 has a risk score of 48, indicating a significant risk due to stack-based buffer overflows.

2

How do I fix CVE-2026-11979?

To fix CVE-2026-11979, update the libxml2 package to the latest version that addresses the buffer overflow vulnerabilities.

3

What systems are affected by CVE-2026-11979?

CVE-2026-11979 affects the libxml2 xmlcatalog utility when running in --shell mode.

4

What type of vulnerability is CVE-2026-11979?

CVE-2026-11979 is classified as a stack-based buffer overflow vulnerability.

5

Can CVE-2026-11979 be exploited remotely?

Yes, CVE-2026-11979 can potentially be exploited by an attacker providing malicious input in a user shell session.

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