Every CVE Search/ Get API key

CVE-2020-18771

Exiv2 0.27.99.0 has a global buffer over-read in Exiv2::Internal::Nikon1MakerNote::print0x0088 in...

8.1 HighFix available

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

1.83%Up 1.4 points since Aug 24, 2021
90%50%10%1%

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 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
CVSS 2.0
5.8 MediumAV: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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

Affected packages
PackageAffectedFixed
exiv2
TuxCare:Ubuntu:18.04
before 0.25-3.1ubuntu0.18.04.11+tuxcare.els2
0.25-3.1ubuntu0.18.04.11+tuxcare.els2
libexiv2-14
TuxCare:Ubuntu:18.04
before 0.25-3.1ubuntu0.18.04.11+tuxcare.els2
0.25-3.1ubuntu0.18.04.11+tuxcare.els2
libexiv2-dev
TuxCare:Ubuntu:18.04
before 0.25-3.1ubuntu0.18.04.11+tuxcare.els2
0.25-3.1ubuntu0.18.04.11+tuxcare.els2
libexiv2-doc
TuxCare:Ubuntu:18.04
before 0.25-3.1ubuntu0.18.04.11+tuxcare.els2
0.25-3.1ubuntu0.18.04.11+tuxcare.els2
exiv2
Debian:12
before 0.27.2-6
0.27.2-6
exiv2
Debian:13
before 0.27.2-6
0.27.2-6
exiv2
Debian:14
before 0.27.2-6
0.27.2-6
exiv2
Debian: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
exiv2
Ubuntu: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 less
0.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
exiv2
Ubuntu: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 less
0.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
Affected packages
PackageAffectedFixed
exiv2
Ubuntu: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
exiv2
Ubuntu: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
exiv2
Ubuntu:24.04:LTS
before 0.27.6-1ubuntu0.1, plus listed versions
0.27.6-10.27.6-1build1
0.27.6-1ubuntu0.1
exiv2
Ubuntu:25.10
before 0.28.5+dfsg-1ubuntu0.1, plus listed versions
0.28.5+dfsg-1
0.28.5+dfsg-1ubuntu0.1

History

History
RecordedChangedSources
affected
affected, aliases, referencesEUVD
first indexedOSV
first indexedCVE 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

Show 13 moreShow less
MoveEnter Open