REDHAT-BUG-2372952: Buffer Overflow

Published Jun 16, 2025
·
Updated

Stack-based buffer overflow vulnerability in the interactive shell of the xmllint tool in libxml2. The issue is caused by an unsafe use of strcpy() when processing user-supplied command-line input. When an attacker passes an overly long argument to any shell command (e.g., exit, cat, etc.), the input exceeds the fixed-size stack buffer, resulting in a crash or potentially arbitrary code execution on systems lacking stack protections. This vulnerability affects only the interactive shell and requires that an attacker can influence or control the command input to xmllint, which is uncommon in typical deployments.

Affected Software

1 affected component
Gnome libxml2

Event History

Jun 16, 2025
Data Sourced
via Red Hat·06:00 AM
DescriptionSeverityAffected 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 REDHAT-BUG-2372952?

The severity of REDHAT-BUG-2372952 is classified as critical due to the potential for remote code execution.

2

How do I fix REDHAT-BUG-2372952?

To fix REDHAT-BUG-2372952, update to the latest version of libxml2 that includes the security patch addressing this vulnerability.

3

What systems are affected by REDHAT-BUG-2372952?

REDHAT-BUG-2372952 affects systems utilizing the xmllint tool within libxml2.

4

What actions can an attacker perform using REDHAT-BUG-2372952?

An attacker can exploit REDHAT-BUG-2372952 to execute arbitrary commands through stack-based buffer overflow.

5

Is there a workaround for REDHAT-BUG-2372952 before applying a patch?

A potential workaround for REDHAT-BUG-2372952 is to avoid using the xmllint tool with untrusted user-supplied input.

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