CVE-2018-20365: Buffer Overflow

Published Dec 22, 2018
·
Updated

Last updated 11 July 2025

Other sources

LibRaw::raw2image() in librawcxx.cpp has a heap-based buffer overflow.

Launchpad

Affected Software

2 affected componentsFixes available
Libraw Libraw<=0.19.1
debian/libraw
0.20.2-1+deb11u10.20.2-1+deb11u20.20.2-2.1+deb12u10.21.4-20.21.5b-1

Event History

Dec 22, 2018
CVE Published
via MITRE·05:00 PM
Data Sourced
via MITRE·05:00 PM
Description
Data Sourced
via NVD·05:29 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·10:58 PM
Description
Feb 20, 2026
Data Sourced
via Ubuntu·07:01 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Debian·07:02 PM
DescriptionAffected Software

Frequently Asked Questions

1

What is CVE-2018-20365?

CVE-2018-20365 is a vulnerability in LibRaw::raw2image() in libraw_cxx.cpp that allows for a heap-based buffer overflow.

2

How severe is CVE-2018-20365?

CVE-2018-20365 has a severity of 6.5 (Medium).

3

Which software is affected by CVE-2018-20365?

Libraw version 0.19.2-2, 0.19.2-2+deb10u4, 0.20.2-1+deb11u1, 0.20.2-2.1, and 0.21.1-7 are affected on Debian. libraw version 0.18.8-1ubuntu0.3, 0.18.13-1ubuntu0.1, 0.19.2-2, and 0.17.1-1ubuntu0.5 are affected on Ubuntu. The vulnerability affects Libraw version up to and including 0.19.1 on all platforms.

4

How do I fix CVE-2018-20365 on Debian?

Apply the following remedies on Debian: libraw version 0.19.2-2 or later.

5

How do I fix CVE-2018-20365 on Ubuntu?

Apply the following remedies on Ubuntu: libraw version 0.18.8-1ubuntu0.3, 0.18.13-1ubuntu0.1, 0.19.2-2, or 0.17.1-1ubuntu0.5.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203