Skip to content

Release 7.4.1

Latest

Choose a tag to compare

@inlife inlife released this 20 Nov 13:18
· 1 commit to master since this release

Security fix: GHSA-phfx-f87r-6j2c

librg_world_read() trusted the size each value declared, so one malformed packet could make it read past the received buffer and crash the reading side (CWE-125). Each value and its payload are now checked against the segment bounds, and a malformed segment returns LIBRG_READ_INVALID before any read handler runs. Everyone reading data from untrusted peers (for example, a server reading client packets) should update.

Thanks to @DicksonWu654 for the report.

Changelog: