Description
CGNS through 4.5.2 contains a stack out-of-bounds read vulnerability in ADFI_read_node_header that allows attackers to crash applications by supplying crafted ADF node headers. Attackers can craft .cgns or .adf files whose non-NUL-terminated end tag causes ADFI_stridx_c to scan past disk_node_data, crashing tools like cgnslist.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| CGNS | CGNS | ≤ 4.5.2 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | libcgns | No fix yet | — |
| Ubuntu 26.04 LTS | libcgns | No fix yet | — |
| Ubuntu 24.04 LTS | libcgns | No fix yet | — |
| Ubuntu 22.04 LTS | libcgns | No fix yet | — |
| Ubuntu 20.04 LTS | libcgns | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | libcgns | No fix yet | — |
| Ubuntu 16.04 LTS | libcgns | No fix yet | — |
References
- https://hackmd.io/@haind-pwn/cgns-adf-node-header-oob-read technical-description exploit
- https://github.com/CGNS/CGNS/blob/3a972d92559787a49c5f9a54974ea1946ecb9d21/src/adf/ADF_internals.c#L6828 technical-description
- https://github.com/CGNS/CGNS product
- VulnCheck Advisory: CGNS through 4.5.2 Stack Out-of-Bounds Read via ADFI_read_node_header third-party-advisory