CVE-2020-12268: jbig2_image_compose in jbig2_image.c in Artifex jbig2dec before 0.18 has a heap-based buffer overflow.
Noroxi assessment
Priority: Plan (action score 40/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 2.7% (FIRST EPSS); higher than 86.3% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: jbig2dec (Alpine:v3.10) 0.16-r1; jbig2dec (Alpine:v3.12) 0.18-r0; jbig2dec (Alpine:v3.9) 0.15-r1.
Add it to your regular patch cycle. Upgrade to jbig2dec (Alpine:v3.10) 0.16-r1; jbig2dec (Alpine:v3.12) 0.18-r0; jbig2dec (Alpine:v3.9) 0.15-r1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
- Published
- Apr 26, 2020
- Updated
- Jun 16, 2026
- EPSS
- 2.7% · 86th percentile
- CWE
- CWE-787
Report tools
Action score
40
Add it to your regular patch cycle.
- CVSS
- 39 / 40 · 9.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 2.7%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| artifex | jbig2dec | cpe:2.3:a:artifex:jbig2dec |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| opensuse | leap | cpe:2.3:o:opensuse:leap |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- artifex jbig2decbefore 0.18
- debian debian linux9.0
- opensuse leap15.1
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Alpine:v3.10 | jbig2dec | before 0.16-r1 | 0.16-r1 |
| Alpine:v3.12 | jbig2dec | before 0.18-r0 | 0.18-r0 |
| Alpine:v3.9 | jbig2dec | before 0.15-r1 | 0.15-r1 |
| Debian:12 | jbig2dec | before 0.18-1 | 0.18-1 |
| Debian:9 | jbig2dec | before 0.13-4.1+deb9u1 | 0.13-4.1+deb9u1 |
| openSUSE:Leap 15.1 | ghostscript | before 9.52-lp151.3.12.1 | 9.52-lp151.3.12.1 |
| openSUSE:Leap 15.1 | ghostscript-mini | before 9.52-lp151.3.12.1 | 9.52-lp151.3.12.1 |
| openSUSE:Leap 15.1 | libspectre | before 0.2.8-lp151.3.3.1 | 0.2.8-lp151.3.3.1 |
| Red Hat:enterprise_linux:8::appstream | jbig2dec | before 0:0.14-4.el8_2 | 0:0.14-4.el8_2 |
| Red Hat:enterprise_linux:8::appstream | jbig2dec-debuginfo | before 0:0.14-4.el8_2 | 0:0.14-4.el8_2 |
| Red Hat:enterprise_linux:8::appstream | jbig2dec-debugsource | before 0:0.14-4.el8_2 | 0:0.14-4.el8_2 |
| Red Hat:enterprise_linux:8::appstream | jbig2dec-libs | before 0:0.14-4.el8_2 | 0:0.14-4.el8_2 |
| Red Hat:enterprise_linux:8::appstream | jbig2dec-libs-debuginfo | before 0:0.14-4.el8_2 | 0:0.14-4.el8_2 |
| Red Hat:rhel_e4s:8.0::appstream | jbig2dec | before 0:0.14-4.el8_0 | 0:0.14-4.el8_0 |
| Red Hat:rhel_e4s:8.0::appstream | jbig2dec-debuginfo | before 0:0.14-4.el8_0 | 0:0.14-4.el8_0 |
| Red Hat:rhel_e4s:8.0::appstream | jbig2dec-debugsource | before 0:0.14-4.el8_0 | 0:0.14-4.el8_0 |
| Red Hat:rhel_e4s:8.0::appstream | jbig2dec-libs | before 0:0.14-4.el8_0 | 0:0.14-4.el8_0 |
| Red Hat:rhel_e4s:8.0::appstream | jbig2dec-libs-debuginfo | before 0:0.14-4.el8_0 | 0:0.14-4.el8_0 |
| Red Hat:rhel_eus:8.1::appstream | jbig2dec | before 0:0.14-4.el8_1 | 0:0.14-4.el8_1 |
| Red Hat:rhel_eus:8.1::appstream | jbig2dec-debuginfo | before 0:0.14-4.el8_1 | 0:0.14-4.el8_1 |
| Red Hat:rhel_eus:8.1::appstream | jbig2dec-debugsource | before 0:0.14-4.el8_1 | 0:0.14-4.el8_1 |
| Red Hat:rhel_eus:8.1::appstream | jbig2dec-libs | before 0:0.14-4.el8_1 | 0:0.14-4.el8_1 |
| Red Hat:rhel_eus:8.1::appstream | jbig2dec-libs-debuginfo | before 0:0.14-4.el8_1 | 0:0.14-4.el8_1 |
| SUSE:HPE Helion OpenStack 8 | ghostscript | before 9.52-23.34.1 | 9.52-23.34.1 |
+3
Same product
artifex: all recordsOther highest-scoring records for the same primary product.
- CVE-2017-7975Artifex jbig2dec 0.13, as used in Ghostscript, allows out-of-bounds writes because of an integer overflow in the jbig2_build_huffman_table…32Monitor
- CVE-2017-7976Artifex jbig2dec 0.13 allows out-of-bounds writes and reads because of an integer overflow in the jbig2_image_compose function in…28Monitor
- CVE-2017-7885Artifex jbig2dec 0.13 has a heap-based buffer over-read leading to denial of service (application crash) or disclosure of sensitive…28Monitor
Published before and after this one in the same product
- ← EarlierCVE-2017-9216May 24, 2017 · libjbig2dec.a in Artifex jbig2dec 0.13, as used in MuPDF and Ghostscript, has a NULL pointer dereference in the jbig2_huffman_get function…27Monitor
- Later →CVE-2023-46361Oct 31, 2023 · Artifex Software jbig2dec v0.20 was discovered to contain a SEGV vulnerability via jbig2_error at /jbig2dec/jbig2.c.26Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| alpine:jbig2dec | 0.16-r1 · Alpine:v3.10 | Package registry (OSV) |
| debian:jbig2dec | 0.18-1 · Debian:12 | Package registry (OSV) |
| opensuse:ghostscript | 9.52-lp151.3.12.1 · openSUSE:Leap 15.1 | Package registry (OSV) |
| opensuse:ghostscript-mini | 9.52-lp151.3.12.1 · openSUSE:Leap 15.1 | Package registry (OSV) |
| opensuse:libspectre | 0.2.8-lp151.3.3.1 · openSUSE:Leap 15.1 | Package registry (OSV) |
| red hat:jbig2dec | 0:0.14-4.el8_2 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:jbig2dec-debuginfo | 0:0.14-4.el8_2 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:jbig2dec-debugsource | 0:0.14-4.el8_2 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:jbig2dec-libs | 0:0.14-4.el8_2 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:jbig2dec-libs-debuginfo | 0:0.14-4.el8_2 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| suse:ghostscript | 9.52-23.34.1 · SUSE:HPE Helion OpenStack 8 | Package registry (OSV) |
| suse:libspectre | 0.2.7-12.10.1 · SUSE:HPE Helion OpenStack 8 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Not on record for this CVE: EPSS history · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-787 · Out-of-bounds WriteCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (3 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.