Calling strfmon and strfmon_l in the GNU C Library version 2.38 to 2.44 can write past the end of the caller-supplied output buffer when a conversion...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:24.04:LTSglibc |
< 2.39-0ubuntu8.9→ 2.39-0ubuntu8.9 |
2.39-0ubuntu8.9 |
| Ubuntu:26.04:LTSglibc |
< 2.43-2ubuntu2.4→ 2.43-2ubuntu2.4 |
2.43-2ubuntu2.4 |
Original description The description as published by the source.
Calling strfmon and strfmon_l in the GNU C Library version 2.38 to 2.44 can write past the end of the caller-supplied output buffer when a conversion uses right-justified width padding. Exploitation requires an application code path that calls strfmon or strfmon_l with right-justified width padding into a destination buffer that is large enough for the padding to succeed but too small for the internal memmove call. The field width or format may be attacker-influenced or a fixed susceptible pattern in the caller. At the time of publication, no network-facing application impact is known.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory ubuntu.com
- advisory ubuntu.com
- report ubuntu.com
- report cve.org