Enviar #914770: GNU libredwg 0.13.4.8229 (git 9b4adcbf, 2026-06-01) NULL Pointer Dereferenceinformación

TítuloGNU libredwg 0.13.4.8229 (git 9b4adcbf, 2026-06-01) NULL Pointer Dereference
Descripciónlibredwg 0.13.4.8229 is affected by SEGV when executing function dwg_encode_LAYER_private . This may result in remote code execution.dwg_encode_LAYER_private dereferences the LAYER material handle (Dwg_Object_Ref *) without a NULL check when encoding to an R_2007a+ target version. On a malformed R2007 input whose LAYER objects decode with a NULL material, this is a write through a NULL pointer (0x0 + offsetof absolute_ref), causing a SEGV (AddressSanitizer reports a WRITE to address 0x20). UndefinedBehaviorSanitizer independently flags it as member access within null pointer of type 'Dwg_Object_Ref'. The crash is reached on the standard decode → encode round-trip, e.g. via the in-tree examples/dwgfuzz -rw harness, or via the public dwg_read_file + dwg_write_file API (minimal reproducer below).
Fuente⚠️ https://github.com/LibreDWG/libredwg/issues/1269
Usuario
 lcyf-fizz (UID 82520)
Sumisión2026-08-04 08:59 (hace 1 mes)
Moderación2026-09-12 22:27 (1 month later)
EstadoAceptado
Entrada de VulDB403204 [GNU libredwg 0.13.4 Layer Encoding src/dwg.spec DWG_TABLE denegación de servicio]
Puntos20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!