CVE-2016-9398
The jpc_floorlog2 function in jpc_math.c in JasPer before 1.900.17 allows remote attackers to...
CVE-2016-9398 is a high vulnerability (CVSS 7.5) in Jasper Project Jasper, published January 8, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 5.98%, the 93rd percentile. Fixed in jasper 1.900.23-1.mga5.
The jpc_floorlog2 function in jpc_math.c in JasPer before 1.900.17 allows remote attackers to cause a denial of service (assertion failure) via unspecified vectors.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.5
The jpc_floorlog2 function in jpc_math.c in JasPer before 1.900.17 allows remote attackers to cause a denial of service (assertion failure) via unspecified vectors.
- Record
CVE-2016-9398- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:N/A:P - Weakness
- CWE-617
- Updated
- 2026-11-02
CVE List No score
The jpc_floorlog2 function in jpc_math.c in JasPer before 1.900.17 allows remote attackers to cause a denial of service (assertion failure) via unspecified vectors.
- Record
CVE-2016-9398- Updated
- 2026-11-02
EUVDEUVD-2016-10208 No score
The jpc_floorlog2 function in jpc_math.c in JasPer before 1.900.17 allows remote attackers to cause a denial of service (assertion failure) via unspecified vectors.
- Record
EUVD-2016-10208- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-98gc-chhf-m9gv
7.5
The jpc_floorlog2 function in jpc_math.c in JasPer before 1.900.17 allows remote attackers to...
The jpc_floorlog2 function in jpc_math.c in JasPer before 1.900.17 allows remote attackers to cause a denial of service (assertion failure) via unspecified vectors.
- Record
GHSA-98gc-chhf-m9gv- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-617
- Updated
- 2026-11-02
OSV
7.5
The jpc_floorlog2 function in jpc_math.c in JasPer before 1.900.17 allows remote attackers to cause a denial of service (assertion failure) via unspecified vectors.
- Record
CVE-2016-9398- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2016-9398
7.5
The jpc_floorlog2 function in jpc_math.c in JasPer before 1.900.17 allows remote attackers to cause a denial of service (assertion failure) via unspecified vectors.
- Record
UBUNTU-CVE-2016-9398- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 9 moreShow less
OSVMGASA-2017-0474 No score
Updated jasper packages fix security vulnerabilities
The jasper package has been updated and patched to fix several security issues.
- Record
MGASA-2017-0474- Updated
- 2026-11-02
OSVMGASA-2019-0167 No score
Updated jasper packages fix security vulnerabilities
Updated jasper packages fix security vulnerabilities:
The jpc_floorlog2 function in jpc_math.c in JasPer before 1.900.17 allows remote attackers to cause a denial of service (assertion failure) via unspecified vectors (CVE-2016-9398).
A denial of service in jp2_decode (CVE-2018-19542).
A denial of service in jas_image_readcmpt (CVE-2018-19539).
- Record
MGASA-2019-0167- Updated
- 2026-11-02
OSVopenSUSE-SU-2020:1517-1 No score
Security update for jasper
This update for jasper fixes the following issues:
- CVE-2016-9398: Improved patch for already fixed issue (bsc#1010979).
- CVE-2016-9399: Fix assert in calcstepsizes (bsc#1010980).
- CVE-2017-5499: Validate component depth bit (bsc#1020451).
- CVE-2017-5503: Check bounds in jas_seq2d_bindsub() (bsc#1020456).
- CVE-2017-5504: Check bounds in jas_seq2d_bindsub() (bsc#1020458).
- CVE-2017-5505: Check bounds in jas_seq2d_bindsub() (bsc#1020460).
- CVE-2017-14132: Fix heap base overflow in by checking components (bsc#1057152).
- CVE-2018-9252: Fix reachable assertion in jpc_abstorelstepsize (bsc#1088278).
- CVE-2018-18873: Fix null pointer deref in ras_putdatastd (bsc#1114498).
- CVE-2018-19139: Fix mem leaks by registering jpc_unk_destroyparms (bsc#1115637).
- CVE-2018-19543, bsc#1045450 CVE-2017-9782: Fix numchans mixup (bsc#1117328).
- CVE-2018-20570: Fix heap based buffer over-read in jp2_encode (bsc#1120807).
- CVE-2018-20622: Fix memory leak in jas_malloc.c (bsc#1120805).
This update was imported from the SUSE:SLE-15:Update update project.
- Record
openSUSE-SU-2020:1517-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2020:1523-1 No score
Security update for jasper
This update for jasper fixes the following issues:
- CVE-2016-9398: Improved patch for already fixed issue (bsc#1010979).
- CVE-2016-9399: Fix assert in calcstepsizes (bsc#1010980).
- CVE-2017-5499: Validate component depth bit (bsc#1020451).
- CVE-2017-5503: Check bounds in jas_seq2d_bindsub() (bsc#1020456).
- CVE-2017-5504: Check bounds in jas_seq2d_bindsub() (bsc#1020458).
- CVE-2017-5505: Check bounds in jas_seq2d_bindsub() (bsc#1020460).
- CVE-2017-14132: Fix heap base overflow in by checking components (bsc#1057152).
- CVE-2018-9252: Fix reachable assertion in jpc_abstorelstepsize (bsc#1088278).
- CVE-2018-18873: Fix null pointer deref in ras_putdatastd (bsc#1114498).
- CVE-2018-19139: Fix mem leaks by registering jpc_unk_destroyparms (bsc#1115637).
- CVE-2018-19543, bsc#1045450 CVE-2017-9782: Fix numchans mixup (bsc#1117328).
- CVE-2018-20570: Fix heap based buffer over-read in jp2_encode (bsc#1120807).
- CVE-2018-20622: Fix memory leak in jas_malloc.c (bsc#1120805).
This update was imported from the SUSE:SLE-15:Update update project.
- Record
openSUSE-SU-2020:1523-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10281-1 No score
jasper-1.900.14-3.1 on GA media
These are all security issues fixed in the jasper-1.900.14-3.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10281-1- Updated
- 2026-11-02
OSVSUSE-SU-2017:0084-1 No score
Security update for jasper
This update for jasper fixes the following issues:
- CVE-2016-8654: Heap-based buffer overflow in QMFB code in JPC codec. (bsc#1012530)
- CVE-2016-9395: Invalid jasper files could lead to abort of the library caused by attacker provided image. (bsc#1010977)
- CVE-2016-9398: Invalid jasper files could lead to abort of the library caused by attacker provided image. (bsc#1010979)
- CVE-2016-9560: Stack-based buffer overflow in jpc_tsfb_getbands2. (bsc#1011830)
- CVE-2016-9591: Use-after-free on heap in jas_matrix_destroy. (bsc#1015993)
- Record
SUSE-SU-2017:0084-1- Updated
- 2026-11-02
OSVSUSE-SU-2017:0946-1 No score
Security update for jasper
This update for jasper fixes the following issues:
Security issues fixed:
- CVE-2016-8654: Heap-based buffer overflow in QMFB code in JPC codec (bsc#1012530)
- CVE-2016-9395: Missing sanity checks on the data in a SIZ marker segment (bsc#1010977).
- CVE-2016-9398: jpc_math.c:94: int jpc_floorlog2(int): Assertion 'x > 0' failed. (bsc#1010979)
- CVE-2016-9560: stack-based buffer overflow in jpc_tsfb_getbands2 (jpc_tsfb.c) (bsc#1011830)
- CVE-2016-9583: Out of bounds heap read in jpc_pi_nextpcrl() (bsc#1015400)
- CVE-2016-9591: Use-after-free on heap in jas_matrix_destroy (bsc#1015993)
- CVE-2016-9600: Null Pointer Dereference due to missing check for UNKNOWN color space in JP2 encoder (bsc#1018088)
- CVE-2016-10251: Use of uninitialized value in jpc_pi_nextcprl (jpc_t2cod.c) (bsc#1029497)
- CVE-2017-5498: left-shift undefined behaviour (bsc#1020353)
- CVE-2017-6850: NULL pointer dereference in jp2_cdef_destroy (jp2_cod.c) (bsc#1021868)
- Record
SUSE-SU-2017:0946-1- Updated
- 2026-11-02
OSVSUSE-SU-2020:2689-1 No score
Security update for jasper
This update for jasper fixes the following issues:
- CVE-2016-9398: Improved patch for already fixed issue (bsc#1010979).
- CVE-2016-9399: Fix assert in calcstepsizes (bsc#1010980).
- CVE-2017-5499: Validate component depth bit (bsc#1020451).
- CVE-2017-5503: Check bounds in jas_seq2d_bindsub() (bsc#1020456).
- CVE-2017-5504: Check bounds in jas_seq2d_bindsub() (bsc#1020458).
- CVE-2017-5505: Check bounds in jas_seq2d_bindsub() (bsc#1020460).
- CVE-2017-14132: Fix heap base overflow in by checking components (bsc#1057152).
- CVE-2018-9252: Fix reachable assertion in jpc_abstorelstepsize (bsc#1088278).
- CVE-2018-18873: Fix null pointer deref in ras_putdatastd (bsc#1114498).
- CVE-2018-19139: Fix mem leaks by registering jpc_unk_destroyparms (bsc#1115637).
- CVE-2018-19543, bsc#1045450 CVE-2017-9782: Fix numchans mixup (bsc#1117328).
- CVE-2018-20570: Fix heap based buffer over-read in jp2_encode (bsc#1120807).
- CVE-2018-20622: Fix memory leak in jas_malloc.c (bsc#1120805).
- Record
SUSE-SU-2020:2689-1- Updated
- 2026-11-02
OSVSUSE-SU-2020:2690-1 No score
Security update for jasper
This update for jasper fixes the following issues:
- CVE-2016-9398: Improved patch for already fixed issue (bsc#1010979).
- CVE-2016-9399: Fix assert in calcstepsizes (bsc#1010980).
- CVE-2016-9397: Fix assert in jpc_dequantize (bsc#1010786).
- CVE-2016-9557: Fix signed integer overflow (bsc#1011829).
- CVE-2017-5499: Validate component depth bit (bsc#1020451).
- CVE-2017-5503: Check bounds in jas_seq2d_bindsub() (bsc#1020456).
- CVE-2017-5504: Check bounds in jas_seq2d_bindsub() (bsc#1020458).
- CVE-2017-5505: Check bounds in jas_seq2d_bindsub() (bsc#1020460).
- CVE-2017-14132: Fix heap base overflow in by checking components (bsc#1057152).
- CVE-2018-9154: Fixed a potential denial of service in jpc_dec_process_sot() (bsc#1092115).
- CVE-2018-9252: Fix reachable assertion in jpc_abstorelstepsize (bsc#1088278).
- CVE-2018-18873: Fix null pointer deref in ras_putdatastd (bsc#1114498).
- CVE-2018-19139: Fix mem leaks by registering jpc_unk_destroyparms (bsc#1115637).
- CVE-2018-19543, bsc#1045450 CVE-2017-9782: Fix numchans mixup (bsc#1117328).
- CVE-2018-20570: Fix heap based buffer over-read in jp2_encode (bsc#1120807).
- CVE-2018-20622: Fix memory leak in jas_malloc.c (bsc#1120805).
- Record
SUSE-SU-2020:2690-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
jasperMageia:5 |
before 1.900.23-1.mga5 | 1.900.23-1.mga5 |
jasperMageia:6 |
before 1.900.23-5.2.mga6 | 1.900.23-5.2.mga6 |
jasperSUSE:Linux Enterprise Desktop 12 SP1 |
before 1.900.14-184.1 | 1.900.14-184.1 |
jasperSUSE:Linux Enterprise Desktop 12 SP2 |
before 1.900.14-184.1 | 1.900.14-184.1 |
jasperSUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 |
before 1.900.14-184.1 | 1.900.14-184.1 |
jasperSUSE:Linux Enterprise Software Development Kit 12 SP1 |
before 1.900.14-184.1 | 1.900.14-184.1 |
jasperSUSE:Linux Enterprise Software Development Kit 12 SP2 |
before 1.900.14-184.1 | 1.900.14-184.1 |
jasperSUSE:Linux Enterprise Server 12 SP1 |
before 1.900.14-184.1 | 1.900.14-184.1 |
jasperSUSE:Linux Enterprise Server for SAP Applications 12 SP1 |
before 1.900.14-184.1 | 1.900.14-184.1 |
jasperSUSE:Linux Enterprise Server 12 SP2 |
before 1.900.14-184.1 | 1.900.14-184.1 |
Show 16 moreShow less
| Package | Affected | Fixed |
|---|---|---|
jasperSUSE:Linux Enterprise Server for SAP Applications 12 SP2 |
before 1.900.14-184.1 | 1.900.14-184.1 |
jasperSUSE:Linux Enterprise Software Development Kit 11 SP4 |
before 1.900.14-134.32.1 | 1.900.14-134.32.1 |
jasperSUSE:Linux Enterprise Server 11 SP4 |
before 1.900.14-134.32.1 | 1.900.14-134.32.1 |
jasperSUSE:Linux Enterprise Server for SAP Applications 11 SP4 |
before 1.900.14-134.32.1 | 1.900.14-134.32.1 |
jasperSUSE:Linux Enterprise Module for Basesystem 15 SP1 |
before 2.0.14-3.16.1 | 2.0.14-3.16.1 |
jasperSUSE:Linux Enterprise Module for Basesystem 15 SP2 |
before 2.0.14-3.16.1 | 2.0.14-3.16.1 |
jasperSUSE:Linux Enterprise Module for Desktop Applications 15 SP1 |
before 2.0.14-3.16.1 | 2.0.14-3.16.1 |
jasperSUSE:Linux Enterprise Module for Desktop Applications 15 SP2 |
before 2.0.14-3.16.1 | 2.0.14-3.16.1 |
jasperSUSE:Linux Enterprise Module for Package Hub 15 SP1 |
before 2.0.14-3.16.1 | 2.0.14-3.16.1 |
jasperSUSE:Linux Enterprise Software Development Kit 12 SP5 |
before 1.900.14-195.22.1 | 1.900.14-195.22.1 |
jasperSUSE:Linux Enterprise Server 12 SP5 |
before 1.900.14-195.22.1 | 1.900.14-195.22.1 |
jasperSUSE:Linux Enterprise Server for SAP Applications 12 SP5 |
before 1.900.14-195.22.1 | 1.900.14-195.22.1 |
jasperUbuntu:16.04:LTS |
All versions, plus listed versions 1.900.1-debian1-2.41.900.1-debian1-2.4ubuntu11.900.1-debian1-2.4ubuntu1.11.900.1-debian1-2.4ubuntu1.21.900.1-debian1-2.4ubuntu1.3 |
None known |
jasperopenSUSE:Leap 15.1 |
before 2.0.14-lp151.4.9.1 | 2.0.14-lp151.4.9.1 |
jasperopenSUSE:Leap 15.2 |
before 2.0.14-lp152.7.3.1 | 2.0.14-lp152.7.3.1 |
jasperopenSUSE:Tumbleweed |
before 1.900.14-3.1 | 1.900.14-3.1 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |
References
blogs.gentoo.org/ago/2016/11/16/jasper-multiple-assertion-failure
bugzilla.redhat.com/show_bug.cgi?id=1396980
lists.opensuse.org/opensuse-security-announce/2017-01/msg00008.html
openwall.com/lists/oss-security/2016/11/17/1
lists.opensuse.org/opensuse-security-announce/2017-01/msg00009.html
securityfocus.com/bid/94382
Show 107 moreShow less
lists.opensuse.org/opensuse-security-announce/2020-09/msg00082.html
lists.opensuse.org/opensuse-security-announce/2020-09/msg00085.html
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UPOVZTSIQPW2H4AFLMI3LHJEZGBVEQET
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/N4ALB4SXHURLVWKAOKYRNJXPABW3M22M
nvd.nist.gov/vuln/detail/CVE-2016-9398
lists.fedoraproject.org/archives/list/[email protected]/message/N4ALB4SXHURLVWKAOKYRNJXPABW3M22M
lists.fedoraproject.org/archives/list/[email protected]/message/UPOVZTSIQPW2H4AFLMI3LHJEZGBVEQET
github.com/advisories/GHSA-98gc-chhf-m9gv
advisories.mageia.org/MGASA-2017-0474.html
bugs.mageia.org/show_bug.cgi?id=19605
github.com/mdadams/jasper/releases
lists.fedoraproject.org/archives/list/[email protected]/thread/THLEZURI4D24PRM7SMASC5I25IAWXXTM
lists.opensuse.org/opensuse-updates/2016-11/msg00010.html
lists.opensuse.org/opensuse-updates/2016-11/msg00018.html
lists.opensuse.org/opensuse-security-announce/2017-04/msg00010.html
lists.opensuse.org/opensuse-updates/2017-07/msg00092.html
lists.fedoraproject.org/archives/list/[email protected]/thread/U5NEJQFBVKG6PRJ5EZ7UIP7ZXOIHDPJF
advisories.mageia.org/MGASA-2019-0167.html
bugs.mageia.org/show_bug.cgi?id=24760
lists.opensuse.org/opensuse-updates/2019-05/msg00017.html
suse.com/support/update/announcement/2017/suse-su-20170084-1
bugzilla.suse.com/1010977
bugzilla.suse.com/1010979
bugzilla.suse.com/1011830
bugzilla.suse.com/1012530
bugzilla.suse.com/1015993
suse.com/security/cve/CVE-2016-8654
suse.com/security/cve/CVE-2016-9395
suse.com/security/cve/CVE-2016-9398
suse.com/security/cve/CVE-2016-9560
suse.com/security/cve/CVE-2016-9591
suse.com/support/update/announcement/2017/suse-su-20170946-1
bugzilla.suse.com/1015400
bugzilla.suse.com/1018088
bugzilla.suse.com/1020353
bugzilla.suse.com/1021868
bugzilla.suse.com/1029497
suse.com/security/cve/CVE-2016-10251
suse.com/security/cve/CVE-2016-9583
suse.com/security/cve/CVE-2016-9600
suse.com/security/cve/CVE-2017-5498
suse.com/security/cve/CVE-2017-6850
suse.com/support/update/announcement/2020/suse-su-20202689-1
bugzilla.suse.com/1010980
bugzilla.suse.com/1020451
bugzilla.suse.com/1020456
bugzilla.suse.com/1020458
bugzilla.suse.com/1020460
bugzilla.suse.com/1045450
bugzilla.suse.com/1057152
bugzilla.suse.com/1088278
bugzilla.suse.com/1114498
bugzilla.suse.com/1115637
bugzilla.suse.com/1117328
bugzilla.suse.com/1120805
bugzilla.suse.com/1120807
suse.com/security/cve/CVE-2016-9399
suse.com/security/cve/CVE-2017-14132
suse.com/security/cve/CVE-2017-5499
suse.com/security/cve/CVE-2017-5503
suse.com/security/cve/CVE-2017-5504
suse.com/security/cve/CVE-2017-5505
suse.com/security/cve/CVE-2017-9782
suse.com/security/cve/CVE-2018-18873
suse.com/security/cve/CVE-2018-19139
suse.com/security/cve/CVE-2018-19543
suse.com/security/cve/CVE-2018-20570
suse.com/security/cve/CVE-2018-20622
suse.com/security/cve/CVE-2018-9252
suse.com/support/update/announcement/2020/suse-su-20202690-1
bugzilla.suse.com/1010786
bugzilla.suse.com/1011829
bugzilla.suse.com/1092115
suse.com/security/cve/CVE-2016-9397
suse.com/security/cve/CVE-2016-9557
suse.com/security/cve/CVE-2018-9154
ubuntu.com/security/CVE-2016-9398
github.com/asarubbo/poc/blob/master/00023-jasper-assert-jpc_floorlog2
cve.org/CVERecord?id=CVE-2016-9398
lists.opensuse.org/archives/list/[email protected]/thread/ZNYUBLSX2ZSBGFVNDEMDDHDZ2UPLCJR2
lists.opensuse.org/archives/list/[email protected]/thread/XELIATUTDCJHZIDKI34SIWLYOQXNSG3Q
suse.com/security/cve/CVE-2008-3522
suse.com/security/cve/CVE-2011-4516
suse.com/security/cve/CVE-2011-4517
suse.com/security/cve/CVE-2014-8137
suse.com/security/cve/CVE-2014-8138
suse.com/security/cve/CVE-2014-8157
suse.com/security/cve/CVE-2014-8158
suse.com/security/cve/CVE-2014-9029
suse.com/security/cve/CVE-2015-5203
suse.com/security/cve/CVE-2015-5221
suse.com/security/cve/CVE-2016-1577
suse.com/security/cve/CVE-2016-1867
suse.com/security/cve/CVE-2016-2089
suse.com/security/cve/CVE-2016-2116
suse.com/security/cve/CVE-2016-8690
suse.com/security/cve/CVE-2016-8691
suse.com/security/cve/CVE-2016-8692
suse.com/security/cve/CVE-2016-8693
suse.com/security/cve/CVE-2016-8880
suse.com/security/cve/CVE-2016-8881
suse.com/security/cve/CVE-2016-8882
suse.com/security/cve/CVE-2016-8883
suse.com/security/cve/CVE-2016-8884
suse.com/security/cve/CVE-2016-8885
suse.com/security/cve/CVE-2016-8886
suse.com/security/cve/CVE-2016-8887