CVE-2016-5140
Heap-based buffer overflow in the opj_j2k_read_SQcd_SQcc function in j2k.c in OpenJPEG, as used...
Heap-based buffer overflow in the opj_j2k_read_SQcd_SQcc function in j2k.c in OpenJPEG, as used in PDFium in Google Chrome before 52.0.2743.116, allows remote attackers to cause a denial of service or possibly have unspecified other impact via crafted JPEG 2000 data.
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
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
Heap-based buffer overflow in the opj_j2k_read_SQcd_SQcc function in j2k.c in OpenJPEG, as used in PDFium in Google Chrome before 52.0.2743.116, allows remote attackers to cause a denial of service or possibly have unspecified other impact via crafted JPEG 2000 data.
- Record
CVE-2016-5140- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-119
- Updated
- 2026-11-02
CVE List No score
Heap-based buffer overflow in the opj_j2k_read_SQcd_SQcc function in j2k.c in OpenJPEG, as used in PDFium in Google Chrome before 52.0.2743.116, allows remote attackers to cause a denial of service or possibly have unspecified other impact via crafted JPEG 2000 data.
- Record
CVE-2016-5140- Updated
- 2026-11-02
EUVDEUVD-2016-6091 No score
Heap-based buffer overflow in the opj_j2k_read_SQcd_SQcc function in j2k.c in OpenJPEG, as used in PDFium in Google Chrome before 52.0.2743.116, allows remote attackers to cause a denial of service or possibly have unspecified other impact via crafted JPEG 2000 data.
- Record
EUVD-2016-6091- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-vg65-mqm9-pjgm
9.8
Heap-based buffer overflow in the opj_j2k_read_SQcd_SQcc function in j2k.c in OpenJPEG, as used...
Heap-based buffer overflow in the opj_j2k_read_SQcd_SQcc function in j2k.c in OpenJPEG, as used in PDFium in Google Chrome before 52.0.2743.116, allows remote attackers to cause a denial of service or possibly have unspecified other impact via crafted JPEG 2000 data.
- Record
GHSA-vg65-mqm9-pjgm- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-119
- Updated
- 2026-11-02
OSVRHSA-2016:1580
8.8
Red Hat Security Advisory: chromium-browser security update
- Record
RHSA-2016:1580- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2016-5140
9.8
Heap-based buffer overflow in the opj_j2k_read_SQcd_SQcc function in j2k.c in OpenJPEG, as used in PDFium in Google Chrome before 52.0.2743.116, allows remote attackers to cause a denial of service or possibly have unspecified other impact via crafted JPEG 2000 data.
- Record
UBUNTU-CVE-2016-5140- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 5 moreShow less
OSVMGASA-2016-0279 No score
Updated chromium-browser-stable packages fix security vulnerability
Chromium-browser-stable 52.0.2743.116 fixes security issues: two heap overflow issues in pdfium (CVE-2016-5139 and CVE-2016-5140); an address bar spoofing problem (CVE-2016-5141); a use-after-free bug (CVE-2016-5142) and a same origin bypass problem (CVE-2016-5145) in blink; two parameter sanitization failures in DevTools (CVE-2016-5143 and CVE-2016-5144); and various fixes from upstream's internal audits, fuzzing, and other initiatives (CVE-2016-5146).
- Record
MGASA-2016-0279- Updated
- 2026-11-02
OSVopenSUSE-SU-2016:1982-1 No score
Security update for Chromium
Chromium was updated to 52.0.2743.116 to fix the following security issues: (boo#992305)
- CVE-2016-5141: Address bar spoofing (boo#992314)
- CVE-2016-5142: Use-after-free in Blink (boo#992313)
- CVE-2016-5139: Heap overflow in pdfium (boo#992311)
- CVE-2016-5140: Heap overflow in pdfium (boo#992310)
- CVE-2016-5145: Same origin bypass for images in Blink (boo#992320)
- CVE-2016-5143: Parameter sanitization failure in DevTools (boo#992319)
- CVE-2016-5144: Parameter sanitization failure in DevTools (boo#992315)
- CVE-2016-5146: Various fixes from internal audits, fuzzing and other initiatives (boo#992309)
- Record
openSUSE-SU-2016:1982-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2016:1983-1 No score
Security update for Chromium
Chromium was updated to 52.0.2743.116 to fix the following security issues: (boo#992305)
- CVE-2016-5141: Address bar spoofing (boo#992314)
- CVE-2016-5142: Use-after-free in Blink (boo#992313)
- CVE-2016-5139: Heap overflow in pdfium (boo#992311)
- CVE-2016-5140: Heap overflow in pdfium (boo#992310)
- CVE-2016-5145: Same origin bypass for images in Blink (boo#992320)
- CVE-2016-5143: Parameter sanitization failure in DevTools (boo#992319)
- CVE-2016-5144: Parameter sanitization failure in DevTools (boo#992315)
- CVE-2016-5146: Various fixes from internal audits, fuzzing and other initiatives (boo#992309)
- Record
openSUSE-SU-2016:1983-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10171-1 No score
chromedriver-55.0.2883.75-3.1 on GA media
These are all security issues fixed in the chromedriver-55.0.2883.75-3.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10171-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:12948-1 No score
ungoogled-chromium-113.0.5672.92-1.1 on GA media
These are all security issues fixed in the ungoogled-chromium-113.0.5672.92-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:12948-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
chromium-browserDebian:8 From an advisory covering 8 CVEs |
before 52.0.2743.116-1~deb8u1, plus listed versions 41.0.2272.118-142.0.2311.135-142.0.2311.135-1~deb8u142.0.2311.135-242.0.2311.90-1 Show 45 moreShow less42.0.2311.90-1~deb8u142.0.2311.90-243.0.2357.124-143.0.2357.124-243.0.2357.124-343.0.2357.130-143.0.2357.65-143.0.2357.65-1~deb8u143.0.2357.81-144.0.2403.107-144.0.2403.107-244.0.2403.157-144.0.2403.89-144.0.2403.89-1~deb8u145.0.2454.101-145.0.2454.85-145.0.2454.85-1~deb8u146.0.2490.13-146.0.2490.71-146.0.2490.71-1~deb8u147.0.2526.111-147.0.2526.16-147.0.2526.73-147.0.2526.73-1~deb8u147.0.2526.80-147.0.2526.80-1~deb8u147.0.2526.80-247.0.2526.80-348.0.2564.116-148.0.2564.116-1~deb8u148.0.2564.23-148.0.2564.82-148.0.2564.82-1~deb8u148.0.2564.82-249.0.2623.108-149.0.2623.108-1~deb8u149.0.2623.108-249.0.2623.75-149.0.2623.75-1~deb8u149.0.2623.75-249.0.2623.87-149.0.2623.87-1~deb8u150.0.2661.75-150.0.2661.75-1~deb8u150.0.2661.75-2 |
52.0.2743.116-1~deb8u1 |
chromium-browser-stableMageia:5 From an advisory covering 8 CVEs |
before 52.0.2743.116-1.mga5 | 52.0.2743.116-1.mga5 |
chromium-browserRed Hat:rhel_extras:6 From an advisory covering 8 CVEs |
before 0:52.0.2743.116-1.el6 | 0:52.0.2743.116-1.el6 |
chromium-browser-debuginfoRed Hat:rhel_extras:6 From an advisory covering 8 CVEs |
before 0:52.0.2743.116-1.el6 | 0:52.0.2743.116-1.el6 |
chromium-browserUbuntu:14.04:LTS |
before 52.0.2743.116-0ubuntu0.14.04.1.1134, plus listed versions 29.0.1547.65-0ubuntu231.0.1650.63-0ubuntu1~20131204.132.0.1700.107-0ubuntu1~20140204.977.133.0.1750.152-0ubuntu1~pkg995.134.0.1847.116-0ubuntu2 Show 21 moreShow less36.0.1985.125-0ubuntu1.14.04.0~pkg102937.0.2062.94-0ubuntu0.14.04.1~pkg104237.0.2062.120-0ubuntu0.14.04.1~pkg104938.0.2125.111-0ubuntu0.14.04.1.106139.0.2171.65-0ubuntu0.14.04.1.106440.0.2214.94-0ubuntu0.14.04.1.106840.0.2214.111-0ubuntu0.14.04.1.106941.0.2272.76-0ubuntu0.14.04.1.107643.0.2357.81-0ubuntu0.14.04.1.108943.0.2357.130-0ubuntu0.14.04.1.109244.0.2403.89-0ubuntu0.14.04.1.109545.0.2454.85-0ubuntu0.14.04.1.109745.0.2454.101-0ubuntu0.14.04.1.109947.0.2526.73-0ubuntu0.14.04.1.110647.0.2526.106-0ubuntu0.14.04.1.110748.0.2564.82-0ubuntu0.14.04.1.110848.0.2564.116-0ubuntu0.14.04.1.111149.0.2623.87-0ubuntu0.14.04.1.111249.0.2623.108-0ubuntu0.14.04.1.111350.0.2661.102-0ubuntu0.14.04.1.111751.0.2704.79-0ubuntu0.14.04.1.1121 |
52.0.2743.116-0ubuntu0.14.04.1.1134 |
chromium-browserUbuntu:16.04:LTS |
before 52.0.2743.116-0ubuntu0.16.04.1.1250, plus listed versions 45.0.2454.101-0ubuntu1.120147.0.2526.73-0ubuntu1.121847.0.2526.106-0ubuntu1.122148.0.2564.82-0ubuntu1.122248.0.2564.116-0ubuntu1.1229 Show 4 moreShow less49.0.2623.87-0ubuntu1.123249.0.2623.108-0ubuntu1.123350.0.2661.102-0ubuntu0.16.04.1.123751.0.2704.79-0ubuntu0.16.04.1.1242 |
52.0.2743.116-0ubuntu0.16.04.1.1250 |
chromiumSUSE:Package Hub 12 From an advisory covering 8 CVEs |
before 52.0.2743.116-92.1 | 52.0.2743.116-92.1 |
chromiumopenSUSE:Tumbleweed From an advisory covering 719 CVEs |
before 55.0.2883.75-3.1 | 55.0.2883.75-3.1 |
chromiumopenSUSE:Tumbleweed From an advisory covering 2310 CVEs |
before 113.0.5672.92-1.1 | 113.0.5672.92-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2016-5140 is a critical vulnerability (CVSS 9.8) in Google Chrome, published August 7, 2016. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.85%, the 79th percentile. Fixed in chromium-browser 52.0.2743.116-0ubuntu0.14.04.1.1134.
References
securityfocus.com/bid/92276
crbug.com/619405
lists.opensuse.org/opensuse-security-announce/2016-08/msg00006.html
rhn.redhat.com/errata/RHSA-2016-1580.html
codereview.chromium.org/2071773002
securitytracker.com/id/1036547
Show 194 moreShow less
security.gentoo.org/glsa/201610-09
googlechromereleases.blogspot.com/2016/08/stable-channel-update-for-desktop.html
lists.opensuse.org/opensuse-security-announce/2016-08/msg00005.html
debian.org/security/2016/dsa-3645
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4KMX62M7UNRLWO4FEQ6YIMPMTKXXJV6A
nvd.nist.gov/vuln/detail/CVE-2016-5140
lists.fedoraproject.org/archives/list/[email protected]/message/4KMX62M7UNRLWO4FEQ6YIMPMTKXXJV6A
github.com/advisories/GHSA-vg65-mqm9-pjgm
advisories.mageia.org/MGASA-2016-0279.html
bugs.mageia.org/show_bug.cgi?id=19134
access.redhat.com/errata/RHSA-2016:1580
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=1363980
bugzilla.redhat.com/show_bug.cgi?id=1363981
bugzilla.redhat.com/show_bug.cgi?id=1363982
bugzilla.redhat.com/show_bug.cgi?id=1363983
bugzilla.redhat.com/show_bug.cgi?id=1363984
bugzilla.redhat.com/show_bug.cgi?id=1363985
bugzilla.redhat.com/show_bug.cgi?id=1363986
bugzilla.redhat.com/show_bug.cgi?id=1363987
security.access.redhat.com/data/csaf/v2/advisories/2016/rhsa-2016_1580.json
access.redhat.com/security/cve/CVE-2016-5139
cve.org/CVERecord?id=CVE-2016-5139
nvd.nist.gov/vuln/detail/CVE-2016-5139
access.redhat.com/security/cve/CVE-2016-5140
cve.org/CVERecord?id=CVE-2016-5140
access.redhat.com/security/cve/CVE-2016-5141
cve.org/CVERecord?id=CVE-2016-5141
nvd.nist.gov/vuln/detail/CVE-2016-5141
access.redhat.com/security/cve/CVE-2016-5142
cve.org/CVERecord?id=CVE-2016-5142
nvd.nist.gov/vuln/detail/CVE-2016-5142
access.redhat.com/security/cve/CVE-2016-5143
cve.org/CVERecord?id=CVE-2016-5143
nvd.nist.gov/vuln/detail/CVE-2016-5143
access.redhat.com/security/cve/CVE-2016-5144
cve.org/CVERecord?id=CVE-2016-5144
nvd.nist.gov/vuln/detail/CVE-2016-5144
access.redhat.com/security/cve/CVE-2016-5145
cve.org/CVERecord?id=CVE-2016-5145
nvd.nist.gov/vuln/detail/CVE-2016-5145
access.redhat.com/security/cve/CVE-2016-5146
cve.org/CVERecord?id=CVE-2016-5146
nvd.nist.gov/vuln/detail/CVE-2016-5146
ubuntu.com/security/CVE-2016-5140
lists.opensuse.org/archives/list/[email protected]/thread/NYQEG22WWDWBWP62EHVKSBZ23VETP5RQ
bugzilla.suse.com/992305
bugzilla.suse.com/992309
bugzilla.suse.com/992310
bugzilla.suse.com/992311
bugzilla.suse.com/992313
bugzilla.suse.com/992314
bugzilla.suse.com/992315
bugzilla.suse.com/992319
bugzilla.suse.com/992320
suse.com/security/cve/CVE-2016-5139
suse.com/security/cve/CVE-2016-5140
suse.com/security/cve/CVE-2016-5141
suse.com/security/cve/CVE-2016-5142
suse.com/security/cve/CVE-2016-5143
suse.com/security/cve/CVE-2016-5144
suse.com/security/cve/CVE-2016-5145
suse.com/security/cve/CVE-2016-5146
lists.opensuse.org/archives/list/[email protected]/thread/VDI2SYR4SQQNIUDTWH6BXSMO56JTMRWJ
suse.com/security/cve/CVE-2011-3015
suse.com/security/cve/CVE-2011-3016
suse.com/security/cve/CVE-2011-3017
suse.com/security/cve/CVE-2011-3018
suse.com/security/cve/CVE-2011-3019
suse.com/security/cve/CVE-2011-3020
suse.com/security/cve/CVE-2011-3021
suse.com/security/cve/CVE-2011-3022
suse.com/security/cve/CVE-2011-3023
suse.com/security/cve/CVE-2011-3024
suse.com/security/cve/CVE-2011-3025
suse.com/security/cve/CVE-2011-3026
suse.com/security/cve/CVE-2011-3027
suse.com/security/cve/CVE-2011-3031
suse.com/security/cve/CVE-2011-3032
suse.com/security/cve/CVE-2011-3033
suse.com/security/cve/CVE-2011-3034
suse.com/security/cve/CVE-2011-3035
suse.com/security/cve/CVE-2011-3036
suse.com/security/cve/CVE-2011-3037
suse.com/security/cve/CVE-2011-3038
suse.com/security/cve/CVE-2011-3039
suse.com/security/cve/CVE-2011-3040
suse.com/security/cve/CVE-2011-3041
suse.com/security/cve/CVE-2011-3042
suse.com/security/cve/CVE-2011-3043
suse.com/security/cve/CVE-2011-3044
suse.com/security/cve/CVE-2011-3045
suse.com/security/cve/CVE-2011-3046
suse.com/security/cve/CVE-2011-3047
suse.com/security/cve/CVE-2011-3049
suse.com/security/cve/CVE-2011-3050
suse.com/security/cve/CVE-2011-3051
suse.com/security/cve/CVE-2011-3052
suse.com/security/cve/CVE-2011-3053
suse.com/security/cve/CVE-2011-3054
suse.com/security/cve/CVE-2011-3055
suse.com/security/cve/CVE-2011-3056
suse.com/security/cve/CVE-2011-3057
suse.com/security/cve/CVE-2011-3058
suse.com/security/cve/CVE-2011-3059
suse.com/security/cve/CVE-2011-3060
suse.com/security/cve/CVE-2011-3061
suse.com/security/cve/CVE-2011-3062
suse.com/security/cve/CVE-2011-3063
suse.com/security/cve/CVE-2011-3064
suse.com/security/cve/CVE-2011-3065
suse.com/security/cve/CVE-2011-3066
suse.com/security/cve/CVE-2011-3067
suse.com/security/cve/CVE-2011-3068
suse.com/security/cve/CVE-2011-3069
suse.com/security/cve/CVE-2011-3070
suse.com/security/cve/CVE-2011-3071
suse.com/security/cve/CVE-2011-3072
suse.com/security/cve/CVE-2011-3073
suse.com/security/cve/CVE-2011-3074
suse.com/security/cve/CVE-2011-3075
suse.com/security/cve/CVE-2011-3076
suse.com/security/cve/CVE-2011-3077
suse.com/security/cve/CVE-2011-3078
suse.com/security/cve/CVE-2011-3079
suse.com/security/cve/CVE-2011-3080
suse.com/security/cve/CVE-2011-3081
suse.com/security/cve/CVE-2011-3083
suse.com/security/cve/CVE-2011-3084
suse.com/security/cve/CVE-2011-3085
suse.com/security/cve/CVE-2011-3086
suse.com/security/cve/CVE-2011-3087
suse.com/security/cve/CVE-2011-3088
suse.com/security/cve/CVE-2011-3089
suse.com/security/cve/CVE-2011-3090
suse.com/security/cve/CVE-2011-3091
suse.com/security/cve/CVE-2011-3092
suse.com/security/cve/CVE-2011-3093
suse.com/security/cve/CVE-2011-3094
suse.com/security/cve/CVE-2011-3095
suse.com/security/cve/CVE-2011-3096
suse.com/security/cve/CVE-2011-3098
suse.com/security/cve/CVE-2011-3100
suse.com/security/cve/CVE-2011-3101
suse.com/security/cve/CVE-2011-3102
suse.com/security/cve/CVE-2011-3903
suse.com/security/cve/CVE-2011-3904
suse.com/security/cve/CVE-2011-3905
suse.com/security/cve/CVE-2011-3906
suse.com/security/cve/CVE-2011-3907
suse.com/security/cve/CVE-2011-3908
suse.com/security/cve/CVE-2011-3909
suse.com/security/cve/CVE-2011-3910
suse.com/security/cve/CVE-2011-3911
suse.com/security/cve/CVE-2011-3912
suse.com/security/cve/CVE-2011-3914
suse.com/security/cve/CVE-2011-3915
suse.com/security/cve/CVE-2011-3916
suse.com/security/cve/CVE-2011-3917
suse.com/security/cve/CVE-2011-3919
suse.com/security/cve/CVE-2011-3921
suse.com/security/cve/CVE-2011-3922
suse.com/security/cve/CVE-2011-3924
suse.com/security/cve/CVE-2011-3925
suse.com/security/cve/CVE-2011-3926
suse.com/security/cve/CVE-2011-3927
suse.com/security/cve/CVE-2011-3928
suse.com/security/cve/CVE-2011-3953
suse.com/security/cve/CVE-2011-3954
suse.com/security/cve/CVE-2011-3955
suse.com/security/cve/CVE-2011-3956
suse.com/security/cve/CVE-2011-3957
suse.com/security/cve/CVE-2011-3958
suse.com/security/cve/CVE-2011-3959
suse.com/security/cve/CVE-2011-3960
suse.com/security/cve/CVE-2011-3961
suse.com/security/cve/CVE-2011-3962
suse.com/security/cve/CVE-2011-3963
suse.com/security/cve/CVE-2011-3964
suse.com/security/cve/CVE-2011-3965
suse.com/security/cve/CVE-2011-3966
suse.com/security/cve/CVE-2011-3967
suse.com/security/cve/CVE-2011-3968
suse.com/security/cve/CVE-2011-3969
suse.com/security/cve/CVE-2011-3970
suse.com/security/cve/CVE-2011-3971
suse.com/security/cve/CVE-2011-3972
suse.com/security/cve/CVE-2012-1521
suse.com/security/cve/CVE-2012-2807
suse.com/security/cve/CVE-2012-2815
suse.com/security/cve/CVE-2012-2816
suse.com/security/cve/CVE-2012-2817
suse.com/security/cve/CVE-2012-2818
suse.com/security/cve/CVE-2012-2819
Left out here: 12 versions and 2,194 references. The JSON record has them.