Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 856034 (CVE-2022-33034, CVE-2022-35164, CVE-2022-45332) - media-gfx/libredwg: stack buffer overflow
Summary: media-gfx/libredwg: stack buffer overflow
Status: CONFIRMED
Alias: CVE-2022-33034, CVE-2022-35164, CVE-2022-45332
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
URL: https://github.com/LibreDWG/libredwg/...
Whiteboard: B3 [upstream]
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-03 01:51 UTC by John Helmert III
Modified: 2022-11-30 17:19 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-07-03 01:51:21 UTC
CVE-2022-33034:

LibreDWG v0.12.4.4608 was discovered to contain a stack overflow via the function copy_bytes at decode_r2007.c.
Comment 1 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-08-18 17:57:34 UTC
CVE-2022-35164 (https://github.com/LibreDWG/libredwg/issues/497):

LibreDWG v0.12.4.4608 & commit f2dea29 was discovered to contain a heap use-after-free via bit_copy_chain.

Looks like there's a patch on a separate branch.
Comment 2 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-11-30 17:19:10 UTC
CVE-2022-45332 (https://github.com/LibreDWG/libredwg/issues/524):

LibreDWG v0.12.4.4643 was discovered to contain a heap buffer overflow via the function decode_preR13_section_hdr at decode_r11.c.