CVE-2020-18771
Exiv2 0.27.99.0 has a global buffer over-read in Exiv2::Internal::Nikon1MakerNote::print0x0088 in...
Exiv2 0.27.99.0 has a global buffer over-read in Exiv2::Internal::Nikon1MakerNote::print0x0088 in nikonmn_int.cpp which can result in an information leak.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
8.1
Exiv2 0.27.99.0 has a global buffer over-read in Exiv2::Internal::Nikon1MakerNote::print0x0088 in nikonmn_int.cpp which can result in an information leak.
- Record
CVE-2020-18771- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H - CVSS 2.0
- 5.8 Medium
AV:N/AC:M/Au:N/C:P/I:N/A:P - Weakness
- CWE-125
- Updated
- 2026-11-02
CVE List No score
Exiv2 0.27.99.0 has a global buffer over-read in Exiv2::Internal::Nikon1MakerNote::print0x0088 in nikonmn_int.cpp which can result in an information leak.
- Record
CVE-2020-18771- Updated
- 2026-11-02
EUVDEUVD-2021-0075 No score
Exiv2 0.27.99.0 has a global buffer over-read in Exiv2::Internal::Nikon1MakerNote::print0x0088 in nikonmn_int.cpp which can result in an information leak.
- Record
EUVD-2021-0075- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-q7h8-cc9p-3543
8.1
Exiv2 0.27.99.0 has a global buffer over-read in Exiv2::Internal::Nikon1MakerNote::print0x0088 in...
Exiv2 0.27.99.0 has a global buffer over-read in Exiv2::Internal::Nikon1MakerNote::print0x0088 in nikonmn_int.cpp which can result in an information leak.
- Record
GHSA-q7h8-cc9p-3543- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H - Weakness
- CWE-125
- Updated
- 2026-11-02
OSV
8.1
Exiv2 0.27.99.0 has a global buffer over-read in Exiv2::Internal::Nikon1MakerNote::print0x0088 in nikonmn_int.cpp which can result in an information leak.
- Record
CVE-2020-18771- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2020-18771
8.1
Exiv2 0.27.99.0 has a global buffer over-read in Exiv2::Internal::Nikon1MakerNote::print0x0088 in nikonmn_int.cpp which can result in an information leak.
- Record
DEBIAN-CVE-2020-18771- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H - Updated
- 2026-11-02
Show 4 moreShow less
OSVPYSEC-2021-882
8.1
Exiv2 0.27.99.0 has a global buffer over-read in Exiv2::Internal::Nikon1MakerNote::print0x0088 in nikonmn_int.cpp which can result in an information leak.
- Record
PYSEC-2021-882- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2020-18771
8.1
Exiv2 0.27.99.0 has a global buffer over-read in Exiv2::Internal::Nikon1MakerNote::print0x0088 in nikonmn_int.cpp which can result in an information leak.
- Record
UBUNTU-CVE-2020-18771- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H - Updated
- 2026-11-02
OSVCLSA-2026-1787932207 No score
Fix CVE(s): CVE-2020-18771, CVE-2026-25884, CVE-2026-27596
- SECURITY UPDATE: out-of-bounds read in the Nikon MakerNote printer
- debian/patches/CVE-2020-18771.patch: bound the nikonFocusarea[] index in Nikon1MakerNote::print0x0088() with EXV_COUNTOF(), so a crafted MakerNote cannot make the printer read a pointer from past the end of the table (upstream 5e6c2855ce, via Debian DLA-3265-1).
- CVE-2020-18771
- SECURITY UPDATE: out-of-bounds read in the native preview loader
- debian/patches/CVE-2026-27596.patch: require sizeData >= 28 in LoaderNative::getData() before subtracting 28, so a Photoshop preview IRB declaring a shorter payload cannot wrap the length to nearly 4 GB (upstream 2cb728a850).
- CVE-2026-27596
- Record
CLSA-2026-1787932207- Updated
- 2026-11-02
OSVUSN-8103-1 No score
exiv2 vulnerabilities
It was discovered that Exiv2 did not correctly handle reading certain buffers. An attacker could possibly use this issue to leak sensitive information. This issue only affected Ubuntu 16.04 LTS and Ubuntu 18.04 LTS. (CVE-2020-18771)
Wen Cheng discovered that Exiv2 did not correctly handle certain memory allocation. If a user or system were tricked into opening a specially crafted file, an attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 16.04 LTS and Ubuntu 18.04 LTS. (CVE-2020-18899)
It was discovered that Exiv2 did not correctly handle writing certain metadata. If a user or system were tricked into opening a specially crafted file, an attacker could possibly use this issue to cause a denial of service. (CVE-2025-54080)
It was discovered that Exiv2 did not correctly handle parsing certain metadata. If a user or system were tricked into opening a specially crafted file, an attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 24.04 LTS and Ubuntu 25.10. (CVE-2025-55304)
It was discovered that Exiv2 did not correctly handle parsing certain images. If a user or system were tricked into opening a specially crafted file, an attacker could possibly use this issue to cause a denial of service. (CVE-2026-25884)
It was discovered that Exiv2 did not correctly handle previewing certain images. An attacker could possibly use this issue to cause a denial of service. (CVE-2026-27596)
It was discovered that Exiv2 did not correctly handle certain integer arithmetic. An attacker could possibly use this issue to cause a denial of service. (CVE-2026-27631)
- Record
USN-8103-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
exiv2TuxCare:Ubuntu:18.04 |
before 0.25-3.1ubuntu0.18.04.11+tuxcare.els2 | 0.25-3.1ubuntu0.18.04.11+tuxcare.els2 |
libexiv2-14TuxCare:Ubuntu:18.04 |
before 0.25-3.1ubuntu0.18.04.11+tuxcare.els2 | 0.25-3.1ubuntu0.18.04.11+tuxcare.els2 |
libexiv2-devTuxCare:Ubuntu:18.04 |
before 0.25-3.1ubuntu0.18.04.11+tuxcare.els2 | 0.25-3.1ubuntu0.18.04.11+tuxcare.els2 |
libexiv2-docTuxCare:Ubuntu:18.04 |
before 0.25-3.1ubuntu0.18.04.11+tuxcare.els2 | 0.25-3.1ubuntu0.18.04.11+tuxcare.els2 |
exiv2Debian:12 |
before 0.27.2-6 | 0.27.2-6 |
exiv2Debian:13 |
before 0.27.2-6 | 0.27.2-6 |
exiv2Debian:14 |
before 0.27.2-6 | 0.27.2-6 |
exiv2Debian:10 |
before 0.25-4+deb10u4, plus listed versions 0.25-40.25-4+deb10u10.25-4+deb10u20.25-4+deb10u3 |
0.25-4+deb10u4 |
exiv2Ubuntu:Pro:16.04:LTS |
before 0.25-2.1ubuntu16.04.7+esm5, plus listed versions 0.25-1ubuntu10.25-2.10.25-2.1ubuntu16.04.10.25-2.1ubuntu16.04.20.25-2.1ubuntu16.04.3 Show 7 moreShow less0.25-2.1ubuntu16.04.40.25-2.1ubuntu16.04.50.25-2.1ubuntu16.04.60.25-2.1ubuntu16.04.7+esm10.25-2.1ubuntu16.04.7+esm20.25-2.1ubuntu16.04.7+esm30.25-2.1ubuntu16.04.7+esm4 |
0.25-2.1ubuntu16.04.7+esm5 |
exiv2Ubuntu:Pro:18.04:LTS |
before 0.25-3.1ubuntu0.18.04.11+esm1, plus listed versions 0.25-3.10.25-3.1ubuntu0.18.04.10.25-3.1ubuntu0.18.04.20.25-3.1ubuntu0.18.04.30.25-3.1ubuntu0.18.04.4 Show 5 moreShow less0.25-3.1ubuntu0.18.04.50.25-3.1ubuntu0.18.04.70.25-3.1ubuntu0.18.04.90.25-3.1ubuntu0.18.04.100.25-3.1ubuntu0.18.04.11 |
0.25-3.1ubuntu0.18.04.11+esm1 |
Show 4 moreShow less
| Package | Affected | Fixed |
|---|---|---|
exiv2Ubuntu:Pro:20.04:LTS |
before 0.27.2-8ubuntu2.7+esm1, plus listed versions 0.25-4ubuntu20.25-4ubuntu30.27.2-8ubuntu20.27.2-8ubuntu2.20.27.2-8ubuntu2.40.27.2-8ubuntu2.50.27.2-8ubuntu2.60.27.2-8ubuntu2.7 |
0.27.2-8ubuntu2.7+esm1 |
exiv2Ubuntu:22.04:LTS |
before 0.27.5-3ubuntu1.1, plus listed versions 0.27.3-3ubuntu40.27.3-3.1ubuntu10.27.5-1ubuntu10.27.5-3ubuntu1 |
0.27.5-3ubuntu1.1 |
exiv2Ubuntu:24.04:LTS |
before 0.27.6-1ubuntu0.1, plus listed versions 0.27.6-10.27.6-1build1 |
0.27.6-1ubuntu0.1 |
exiv2Ubuntu:25.10 |
before 0.28.5+dfsg-1ubuntu0.1, plus listed versions 0.28.5+dfsg-1 |
0.28.5+dfsg-1ubuntu0.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected | ||
| affected, aliases, references | EUVD | |
| first indexed | OSV | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2020-18771 is a high vulnerability (CVSS 8.1) in Exiv2, published August 23, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.83%, the 78th percentile. Fixed in exiv2 0.25-3.1ubuntu0.18.04.11+tuxcare.els2.
References
github.com/Exiv2/exiv2/issues/756
cwe.mitre.org/data/definitions/126.html
lists.debian.org/debian-lts-announce/2023/01/msg00004.html
security.gentoo.org/glsa/202312-06
nvd.nist.gov/vuln/detail/CVE-2020-18771
github.com/advisories/GHSA-q7h8-cc9p-3543
Show 13 moreShow less
errata.tuxcare.com/els_os/ubuntu18.04els/CLSA-2026-1787932207.html
nvd.nist.gov/vuln/detail/CVE-2026-25884
nvd.nist.gov/vuln/detail/CVE-2026-27596
security-tracker.debian.org/tracker/CVE-2020-18771
ubuntu.com/security/CVE-2020-18771
cve.org/CVERecord?id=CVE-2020-18771
ubuntu.com/security/notices/USN-8103-1
ubuntu.com/security/CVE-2020-18899
ubuntu.com/security/CVE-2025-54080
ubuntu.com/security/CVE-2025-55304
ubuntu.com/security/CVE-2026-25884
ubuntu.com/security/CVE-2026-27596
ubuntu.com/security/CVE-2026-27631