Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 905340 (CVE-2022-3857) - media-libs/libpng: invalid pointer usage
Summary: media-libs/libpng: invalid pointer usage
Status: RESOLVED INVALID
Alias: CVE-2022-3857
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
URL: https://sourceforge.net/p/libpng/bugs...
Whiteboard: B3 [upstream?]
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-29 22:33 UTC by John Helmert III
Modified: 2023-04-30 06:45 UTC (History)
2 users (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 2023-04-29 22:33:31 UTC
CVE-2022-3857:

A flaw was found in libpng 1.6.38. A crafted PNG image can lead to a segmentation fault and denial of service in png_setup_paeth_row() function.

Unclear if a real bug, upstream seems to think it might be a fuzzer
bug. The backtrace doesn't involve the fuzzer, so I'm not so sure.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-30 06:45:13 UTC
(In reply to John Helmert III from comment #0)
> CVE-2022-3857:
> 
> A flaw was found in libpng 1.6.38. A crafted PNG image can lead to a
> segmentation fault and denial of service in png_setup_paeth_row() function.
> 
> Unclear if a real bug, upstream seems to think it might be a fuzzer
> bug. The backtrace doesn't involve the fuzzer, so I'm not so sure.

The compiler is used is afl's which adds instrumentation, so it's a bug on that side (essentially miscompiled).

So, based on https://github.com/AFLplusplus/AFLplusplus/issues/1602#issuecomment-1342281054, I'm not worried about it.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-30 06:45:35 UTC
(The reporter says it's an afl issue too.)