Description
Kvazaar through 2.3.2 contains an infinite loop vulnerability in read_header() in src/encmain.c that allows attackers to hang the command-line encoder by supplying a truncated Y4M header. Attackers can provide a crafted .y4m file lacking a terminating newline, causing unchecked EOF reads that hang the process indefinitely while consuming a full CPU core.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Ultra Video Group | Kvazaar | ≤ 2.3.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 | kvazaar | No fix yet | — |
| Ubuntu 26.04 LTS | kvazaar | No fix yet | — |
References
- https://github.com/ultravideo/kvazaar/issues/452 issue-tracking
- https://github.com/ultravideo/kvazaar/commit/8a2f109be283e87008c679d635966cc034da39c6 patch
- https://github.com/ultravideo/kvazaar/blob/v2.3.2/src/encmain.c#L339-L357 technical-description
- Kvazaar v2.3.2 Release Notes release-notes
- https://hackmd.io/@haindpwn/kvazaar-y4m-header-missing-newline-infinite-loop technical-description
- VulnCheck Advisory: Kvazaar through 2.3.2 Infinite Loop DoS via Y4M Header Parser third-party-advisory