CVE-2012-1176 PyFriBidi Buffer overflow in the fribidi_utf8_to_unicode function

Medium 5.0 Published Updated

Remote attackers can crash applications using PyFriBidi by sending a malformed 4-byte UTF-8 sequence, causing a buffer overflow.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2012-1176?

CVE-2012-1176 is a medium-severity memory corruption vulnerability in n/a, published on 26 Aug 2012. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Buffer overflow in the fribidi_utf8_to_unicode function in PyFriBidi before 0.11.0 allows remote attackers to cause a denial of service (application crash) via a 4-byte utf-8 sequence.

Weakness: CWE-119

Which versions are affected by CVE-2012-1176?

3 open source packages ship an affected version, including pyfribidi. It affects 1 product.

PackageAffectedFixed in
pyfribidi PyPIAll versions0.11.0
pyfribidi PyPIAll versions0.11.0
pyfribidi PyPIAll versions0.11.0

Products include Fribidi Pyfribidi.

How do I fix CVE-2012-1176?

Upgrade pyfribidi to 0.11.0 or later.

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

Is CVE-2012-1176 being exploited?

There is no known exploitation of CVE-2012-1176 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2012-1176, GHSA-6476-g47x-h3c7, PYSEC-2012-11.

Is CVE-2012-1176 in your software?

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

Check your SBOMs for free