Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 661582 (CVE-2018-14054, CVE-2018-14325, CVE-2018-14379, CVE-2018-14403) - <media-libs/libmp4v2-2.0.0-r2: Multiple vulnerabilities (CVE-2018-{14054,14403,14379,14325})
Summary: <media-libs/libmp4v2-2.0.0-r2: Multiple vulnerabilities (CVE-2018-{14054,1440...
Alias: CVE-2018-14054, CVE-2018-14325, CVE-2018-14379, CVE-2018-14403
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
Whiteboard: B3 [noglsa cve]
Depends on:
Reported: 2018-07-19 14:33 UTC by Florian Schuhmacher
Modified: 2021-02-20 19:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---
nattka: sanity-check+


Note You need to log in before you can comment on or make changes to this bug.
Description Florian Schuhmacher 2018-07-19 14:33:35 UTC
A double free exists in the MP4StringProperty class in mp4property.cpp in MP4v2
2.0.0. A dangling pointer is freed again in the destructor once an exception is

Gentoo Security Scout
Florian Schuhmacher
Comment 1 Sam James archtester gentoo-dev Security 2020-03-15 03:49:40 UTC
Patch for this bug (CVE-2018-14054):

More vulnerabilities:

2) CVE-2018-14403:
"MP4NameFirstMatches in mp4util.cpp in MP4v2 2.0.0 mishandles substrings of atom names, leading to use of an inappropriate data type for associated atoms. The resulting type confusion can cause out-of-bounds memory access."


3) CVE-2018-14379
"MP4Atom::factory in mp4atom.cpp in MP4v2 2.0.0 incorrectly uses the MP4ItemAtom data type in a certain case where MP4DataAtom is required, which allows remote attackers to cause a denial of service (memory corruption) or possibly have unspecified other impact via a crafted MP4 file, because access to the data structure has different expectations about layout as a result of this type confusion."


4) CVE-2018-14325 
"In MP4v2 2.0.0, there is an integer underflow (with resultant memory corruption) when parsing MP4Atom in mp4atom.cpp."

Comment 2 Larry the Git Cow gentoo-dev 2020-08-03 00:49:40 UTC
The bug has been referenced in the following commit(s):

commit 1560154cd7f50715577cc36e52f8d03a15a80419
Author:     John Helmert III <>
AuthorDate: 2020-08-03 00:49:30 +0000
Commit:     Sam James <>
CommitDate: 2020-08-03 00:49:30 +0000

    media-libs/libmp4v2: add security patches
    Package-Manager: Portage-3.0.0, Repoman-2.3.23
    Signed-off-by: John Helmert III <>
    Signed-off-by: Sam James <>

 .../files/libmp4v2-2.0.0-CVE-2018-14054.patch      | 35 +++++++++++++
 .../files/libmp4v2-2.0.0-CVE-2018-14325.patch      | 60 ++++++++++++++++++++++
 .../files/libmp4v2-2.0.0-CVE-2018-14379.patch      | 33 ++++++++++++
 .../files/libmp4v2-2.0.0-CVE-2018-14403.patch      | 28 ++++++++++
 media-libs/libmp4v2/libmp4v2-2.0.0-r2.ebuild       | 54 +++++++++++++++++++
 5 files changed, 210 insertions(+)
Comment 3 Sam James archtester gentoo-dev Security 2020-08-15 03:37:47 UTC
amd64 done
Comment 4 Sam James archtester gentoo-dev Security 2020-08-15 04:06:55 UTC
arm done
Comment 5 Sam James archtester gentoo-dev Security 2020-08-15 04:41:03 UTC
x86 done
Comment 6 Agostino Sarubbo gentoo-dev 2020-08-16 14:48:57 UTC
sparc stable
Comment 7 Sam James archtester gentoo-dev Security 2020-08-29 12:56:21 UTC
ppc done
Comment 8 Sam James archtester gentoo-dev Security 2020-09-03 00:21:03 UTC
ppc64 stable
Comment 9 Sergei Trofimovich (RETIRED) gentoo-dev 2020-09-06 08:20:01 UTC
hppa stable
Comment 10 Larry the Git Cow gentoo-dev 2020-09-07 22:22:34 UTC
The bug has been referenced in the following commit(s):

commit 2a89a8c0b44df34d90bf96ef6541b51bfd115914
Author:     Sam James <>
AuthorDate: 2020-09-07 22:22:18 +0000
Commit:     Sam James <>
CommitDate: 2020-09-07 22:22:30 +0000

    media-libs/libmp4v2: security cleanup
    Package-Manager: Portage-3.0.4, Repoman-3.0.1
    Signed-off-by: Sam James <>

 media-libs/libmp4v2/libmp4v2-2.0.0-r1.ebuild | 50 ----------------------------
 1 file changed, 50 deletions(-)
Comment 11 Thomas Deutschmann gentoo-dev Security 2021-02-20 19:31:51 UTC
GLSA Vote: No

Repository is clean, all done!