REDHAT-BUG-2497857: Buffer Overflow

Published Jul 7, 2026
·
Updated

GNU Wget through 1.25.0, fixed in commit dd692d9, contains a heap buffer overflow vulnerability in the htmlquotestring() function in src/convert.c that allows a remote attacker to trigger memory corruption by supplying a crafted HTML attribute with a large number of characters requiring entity encoding. A server-supplied HTML attribute causes a signed integer counter to overflow during output size accumulation, resulting in an undersized heap allocation and subsequent heap buffer overflow during the copy phase.

Affected Software

1 affected component
GNU Wget<=1.25.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade GNU Wget to a version that resolves this vulnerability.

    Fixed in 1.25.0Patch dd692d9

Event History

Jul 7, 2026
Data Sourced
via Red Hat·09:02 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Which releases are affected and what fixes the issue?

GNU Wget through version 1.25.0 is affected. The issue is fixed in commit dd692d9.

2

What does an attacker need to control to trigger the flaw?

An attacker needs to supply HTML containing an attribute with a large number of characters that require entity encoding. The vulnerable processing occurs when Wget handles that server-supplied attribute.

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