# JLSEC-2026-1161: GNU Wget through 1.25.0, fixed in commit dd692d9, contains a heap buffer overflow vulnerability...

- Severity: High 7.1 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-08-03T21:18:59.775Z
- Modified: 2026-08-03T21:35:53.966Z
- Related: CVE-2026-58472, EUVD-2026-42084, GHSA-332r-8pmf-8m9p

## Description

GNU Wget through 1.25.0, fixed in commit dd692d9, contains a heap buffer overflow vulnerability in the `html_quote_string()` 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.

(As written by Julia Security Advisories.)

## Affected

- wget_jll (Julia): all versions

## Every score

- Julia Security Advisories: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H`
- Julia Security Advisories: CVSS:4.0 `CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X`

## References

- <https://github.com/advisories/GHSA-332r-8pmf-8m9p> (web)
- <https://gitlab.com/gnuwget/wget/-/commit/dd692d9cea5335b181d877ae917fe6e75587a812> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-58472> (web)
- <https://www.vulncheck.com/advisories/gnu-wget-heap-buffer-overflow-via-html-attribute-encoding> (web)

## Sources

- Julia Security Advisories: [JLSEC-2026-1161](https://osv.dev/vulnerability/JLSEC-2026-1161), CC-BY-4.0, modified 2026-08-03

---

Page: https://cve.day/JLSEC-2026-1161 · Whole record: https://cve.day/JLSEC-2026-1161.json · Rebuilt by cve.day 2026-11-25T22:56:25.884Z
