CVE-2018-20337: Buffer Overflow

Published Dec 21, 2018
·
Updated

A flaw was found in LibRaw 0.19.1. A stack-based buffer overflow in the parsemakernote function of dcrawcommon.cpp. Crafted input will lead to a denial of service.

References: https://github.com/LibRaw/LibRaw/issues/192

Upstream Patch: https://github.com/LibRaw/LibRaw/commit/fbf60377c006eaea8d3eca3f5e4c654909dcdfd2

Other sources

There is a stack-based buffer overflow in the parsemakernote function of dcrawcommon.cpp in LibRaw 0.19.1. Crafted input will lead to a denial of service or possibly unspecified other impact.

— Launchpad

Affected Software

3 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
redhat/libraw<0.19.2
0.19.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/libraw to a version that resolves this vulnerability.

    Fixed in 0.20.2-1+deb11u1Fixed in 0.20.2-1+deb11u2Fixed in 0.20.2-2.1+deb12u1Fixed in 0.21.4-2Fixed in 0.21.5b-1
  2. Upgrade

    Upgrade redhat/LibRaw to a version that resolves this vulnerability.

    Fixed in 0.19.2

Event History

Dec 21, 2018
CVE Published
via MITRE·09:00 AM
Data Sourced
via MITRE·09:00 AM
Description
Data Sourced
via NVD·09:29 AM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via Red Hat·02:08 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is CVE-2018-20337?

CVE-2018-20337 is a vulnerability in LibRaw 0.19.1 that allows a crafted input to cause a denial of service or other unspecified impact.

2

What is the severity of CVE-2018-20337?

CVE-2018-20337 has a severity of 8.8, which is considered high.

3

How does CVE-2018-20337 affect LibRaw?

CVE-2018-20337 affects LibRaw 0.19.1 and possibly other versions.

4

How can I fix CVE-2018-20337 on Ubuntu?

You can fix CVE-2018-20337 on Ubuntu by updating to version 0.18.8-1ubuntu0.3, 0.18.13-1ubuntu0.1, or 0.19.2, depending on your Ubuntu release.

5

How can I fix CVE-2018-20337 on Debian?

For Debian, you can fix CVE-2018-20337 by updating to version 0.19.2-2, 0.19.2-2+deb10u4, 0.20.2-1+deb11u1, 0.20.2-2.1, or 0.21.1-7 of the libraw package.

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