OSV-2021-389 Bad-cast to tt_cmap_t' (aka 'struct _tt_cmap')_cairo_truetype_index_to_ucs4

Not scored Published

A bad cast in Cairo's TrueType font handling can cause a crash, potentially leading to denial of service for applications using the library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Not stated
Victim action needed
Not needed
Fix
None listed

What is OSV-2021-389?

OSV-2021-389 is a memory corruption vulnerability in poppler, published on 13 Feb 2021.

Official description

OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=30823

Crash type: Bad-cast
Crash state:
Bad-cast to tt_cmap_t' (aka 'struct _tt_cmap')_cairo_truetype_index_to_ucs4
_cairo_sub_font_glyph_lookup_unicode
_cairo_sub_font_map_glyph

Which versions are affected by OSV-2021-389?

1 open source package ship an affected version, including poppler.

PackageAffectedFixed in
poppler OSS-FuzzAll versionsNone

How do I fix OSV-2021-389?

No fix has been published for OSV-2021-389 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is OSV-2021-389 being exploited?

There is no known exploitation of OSV-2021-389 in the wild and no public exploit code.

Sources

Is OSV-2021-389 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free