# CVE-2020-18831: Buffer Overflow vulnerability in tEXtToDataBuf function in pngimage.cpp in Exiv2 0.27.1 allows remote attackers to cause a denial of servic…

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.80%, higher than 57% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-08-22T00:00:00.000Z
- Modified: 2026-06-17T02:59:29.310Z
- Also known as: PYSEC-2023-150
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: mitre

## Description

Buffer Overflow vulnerability in tEXtToDataBuf function in pngimage.cpp in Exiv2 0.27.1 allows remote attackers to cause a denial of service and other unspecified impacts via use of crafted file.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- exiv2 exiv2: 0.27.1
- exiv2 (PyPI): all versions

## Every score

- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/Exiv2/exiv2/issues/828> (exploit, advisory, issue-tracking, patch, vendor-advisory)
- <https://www.exiv2.org/download.html> (broken-link, web)

## Sources

- CVE List: [CVE-2020-18831](https://www.cve.org/CVERecord?id=CVE-2020-18831), CVE Terms of Use, modified 2024-10-04
- NVD: [CVE-2020-18831](https://nvd.nist.gov/vuln/detail/CVE-2020-18831), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2023-150](https://osv.dev/vulnerability/PYSEC-2023-150), CC-BY-4.0, modified 2025-10-09

---

Page: https://cve.day/CVE-2020-18831 · Whole record: https://cve.day/CVE-2020-18831.json · Rebuilt by cve.day 2026-11-25T22:57:58.909Z
