GlibApplication · Gnome

CVE-2023-32611

MEDIUM · 5.5 CVSS v3.1 Published 2023-09-14
Fix available
A fix is available. Upgrade to 2.74.2 or later.
See remediation →
58/100
Remediation priority · Elevated
No privileges

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
A flaw was found in GLib. GVariant deserialization is vulnerable to a slowdown issue where a crafted GVariant can cause excessive processing, leading to denial of service.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · moderate confidence

GLib's GVariant deserialization is vulnerable to algorithmic complexity attack where maliciously crafted GVariant data causes the parser to consume excessive CPU cycles, leading to denial of service. The vulnerability stems from lack of proper bounds checking or efficient parsing during the deserialization process.

MitigationApply input validation/size limits on GVariant data before deserialization, implement processing timeouts, and update GLib to a patched version if available. Applications using GVariant should validate and sanitize input data from untrusted sources.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
GlibApplication
Affected:< 2.74.2

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Local
Complexity
Low
Privileges
None
User interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify installed GLib version
    Run `pkg-config --modversion glib-2.0` or check your system's package manager for the glib2 package version. On Linux: `rpm -q glib2` or `dpkg -l libglib2.0-0`. On macOS: `brew list glib` or check via Homebrew. On Windows: check the file version of glib-2.dll in your system or application directory.
    Affected if The installed GLib version is below 2.74.2 (e.g., 2.74.0, 2.73.x, 2.72.x, etc.)
  2. Identify applications using GVariant deserialization
    Search your codebase or running processes for GVariant API usage: look for functions like g_variant_parse(), g_variant_new(), g_variant_get(), or references to the GVariant type system in application code or dependencies. Check process memory or loaded libraries for GLib/GLib-2.0 usage.
    Affected if Applications or services deserialize GVariant data from any external or untrusted source (network input, file parsing, IPC from other processes, user-uploaded content)
  3. Assess input source trust
    Review the data flow into GVariant deserialization functions. Identify if GVariant data originates from: network sockets, files from world-writable directories, command-line arguments, environment variables, or inter-process communication where the sender is untrusted.
    Affected if GVariant deserialization processes data from untrusted or attacker-controlled sources without prior validation or size limits
  4. Check for existing input validation
    Inspect code or configuration around GVariant parsing for any input validation, size limits, or timeout mechanisms applied before g_variant_parse() calls. Look for length checks, magic number validation, or schema validation.
    Affected if No input validation, size limits, or parsing timeouts are implemented on GVariant data before deserialization
  5. Audit running services with GLib dependencies
    List all running services and daemons that depend on GLib: run `ldd` on binaries in /usr/sbin or /usr/bin to find those linking against libglib-2.0.so. Check container or VM images for GLib version in their base layers.
    Affected if Production services or containers run GLib versions below 2.74.2 and accept external GVariant-formatted input

You are affected if your environment runs any GLib version below 2.74.2 AND deserializes GVariant data from untrusted sources without input validation or timeouts.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 2.74.2 or later
Fixed in 2.74.2
Interim mitigation

Apply input validation/size limits on GVariant data before deserialization, implement processing timeouts, and update GLib to a patched version if available. Applications using GVariant should validate and sanitize input data from untrusted sources.

Recommended fix High confidence

GLib 2.74.2

  1. Update your package repository metadata to ensure you have access to the latest available packages
  2. Install or upgrade GLib to version 2.74.2 or later using your system's package manager (e.g., apt-get update && apt-get install libglib2.0-0, yum update glib2, or dnf update glib2)
  3. Verify the installed GLib version matches or exceeds 2.74.2 using: rpm -q glib2 or dpkg -l | grep glib
  4. Restart any running applications that link against GLib to ensure they use the updated library
Caveat Minor version updates in GLib typically have low risk; however, test critical applications after upgrading

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Glib Scoped from the published advisory
  • Consultation4.0 h
  • Implementation8.0 h
  • Testing4.0 h
  • Review / QA3.0 h
19.0 hours of engineering $3,380
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $5,408.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2023-32611 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2023-32611 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data