# CVE-2012-1176: PyFriBidi Buffer overflow in the fribidi\_utf8\_to\_unicode function

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.0
- **CVSS:** 5.0 (v2.0, NVD) `AV:N/AC:L/Au:N/C:N/I:N/A:P`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Authentication: None; Confidentiality impact: None; Integrity impact: None; Availability impact: Partial
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 2.65% (percentile 86, 2026-11-26)
- **CWE:** CWE-119
- **Aliases:** GHSA-6476-g47x-h3c7, PYSEC-2012-11
- **Published:** 2012-08-26T20:00:00.000Z
- **Modified:** 2026-06-16T23:39:11.497Z

## Who should check

- Projects that depend on PyPI package pyfribidi (\< 0.11.0)
- Anyone running n/a (versions: see the vendor advisory)

## 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.

## Affected and fixed versions

- PyPI `pyfribidi`: affected \< 0.11.0; fixed 0.11.0 (osv)
- n/a: see vendor advisory (nvd)

## Mitigation

- Upgrade pyfribidi to 0.11.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2012-1176. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2012-1176.md
Affected: pyfribidi < 0.11.0
Fixed in: 0.11.0

Steps:
1. Search this machine and project for pyfribidi (PyPI), n/a: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2012-1176 being exploited?

There is no confirmed exploitation: CVE-2012-1176 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 2.65% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2012-1176?

Medium: CVSS 5.0 (v2.0, scored by NVD). Remote, no login needed.

### Which versions are affected by CVE-2012-1176?

pyfribidi \< 0.11.0.

### Is there a fix for CVE-2012-1176?

Yes. Fixed in 0.11.0. Upgrade pyfribidi to 0.11.0 or later.

### How do I check if I'm affected by CVE-2012-1176?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <http://lists.fedoraproject.org/pipermail/package-announce/2012-March/076038.html>
- vendor: <http://lists.fedoraproject.org/pipermail/package-announce/2012-March/075293.html>
- vendor: <http://lists.fedoraproject.org/pipermail/package-announce/2012-March/076053.html>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2012-1176>
- vendor: <https://github.com/advisories/GHSA-6476-g47x-h3c7>
- patch: <https://github.com/pediapress/pyfribidi/commit/d2860c655357975e7b32d84e6b45e98f0dcecd7a>
- other: <http://www.openwall.com/lists/oss-security/2012/03/14/9>
- other: <https://exchange.xforce.ibmcloud.com/vulnerabilities/74001>
- other: <http://groups.google.com/group/linux.debian.bugs.dist/browse_thread/thread/aacd036037217998/8d095f85f3665bff?lnk=raot>
- other: <http://www.openwall.com/lists/oss-security/2012/03/14/4>
- other: <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=663189>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=801896>
- other: <https://bugzilla.wikimedia.org/show_bug.cgi?id=35055>
- other: <http://www.securityfocus.com/bid/52451>
- other: <https://github.com/pediapress/pyfribidi/issues/2%29:>
- other: <https://github.com/pediapress/pyfribidi/issues/2>
- other: <https://github.com/pediapress/pyfribidi>
- other: <https://github.com/pypa/advisory-database/tree/main/vulns/pyfribidi/PYSEC-2012-11.yaml>
- other: <https://web.archive.org/web/20200228170815/http://www.securityfocus.com/bid/52451>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2012-1176>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-6476-g47x-h3c7> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2012-11> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2012-1176> · JSON: <https://flawdb.com/api/v1/entries/CVE-2012-1176>
