Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 628504 (CVE-2017-12982) - <media-libs/openjpeg-2.3.0: memory allocation failure in opj_aligned_alloc_n (opj_malloc.c) (CVE-2017-12982)
Summary: <media-libs/openjpeg-2.3.0: memory allocation failure in opj_aligned_alloc_n ...
Alias: CVE-2017-12982
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
Whiteboard: B3 [glsa cve]
Depends on:
Reported: 2017-08-21 13:41 UTC by D'juan McDonald (domhnall)
Modified: 2017-10-23 01:40 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description D'juan McDonald (domhnall) 2017-08-21 13:41:44 UTC
From $URL:

The bmp_read_info_header function in bin/jp2/convertbmp.c in OpenJPEG 2.2.0 does not reject headers with a zero biBitCount, which allows remote attackers to cause a denial of service (memory allocation failure) in the opj_image_create function in lib/openjp2/image.c, related to the opj_aligned_alloc_n function in opj_malloc.c.
Comment 2 D'juan McDonald (domhnall) 2017-08-22 11:07:23 UTC
@maintainer(s), please test and then follow procedure to stabilize and close. 

Thank you.

Daj'Uan (mbailey_j)
Gentoo Security Scout
Comment 3 Agostino Sarubbo gentoo-dev 2017-08-24 08:32:13 UTC
There are several other issues. I will ask a tag when I finish to work on it.
Comment 4 GLSAMaker/CVETool Bot gentoo-dev 2017-10-23 01:40:06 UTC
This issue was resolved and addressed in
 GLSA 201710-26 at
by GLSA coordinator Aaron Bauman (b-man).