CVE-2026-79772: Unchecked Xmlc14nexecute Return Value

The return value of `xmlC14NExecute` is not checked. Libxml2's `xmlC14NExecute` returns a negative error code on failure. Failing to verify the return value can result in silent failure, leading to empty canonicalization output and potential XML signature validation bypass.

Provally CuratedPublic repositoryMediumHigh confidenceVerifiedApache-2.0C
greprules fetch cve-2026-79772-unchecked-xmlc14nexecute-return-value --engine opengrep

Description

The return value of `xmlC14NExecute` is not checked. Libxml2's `xmlC14NExecute` returns a negative error code on failure. Failing to verify the return value can result in silent failure, leading to empty canonicalization output and potential XML signature validation bypass.