vulns.co
/
GKData.io MCP and API Buy me a coffee

PostgreSQL · Memory safety and parser contracts

PostgreSQL cryptographic parsing omitted a buffer-capacity check

PostgreSQL's pgcrypto extension did not check that a buffer was large enough before copying key data into it. The vendor confirms possible code execution as the database's operating-system account, requiring permission to install the extension or supply ciphertext to an existing installation. The organizer awarded Team Xint Code USD 30,000 for this individual ZeroDay.cloud 2025 entry.

Read the original writeupUSD 30,000 competition award · Reviewed 2026-10-02

Root cause

Cryptographic message parsing used a derived key length to copy data into a fixed-capacity destination without verifying that the destination was large enough.

Demonstrated impact

The PostgreSQL advisory confirms possible code execution under the database operating-system account. The vendor CVE record limits the prerequisite to permission to install the extension or supply ciphertext to an existing installation.

What to check for

  • Validate derived lengths against destination capacity before copying data.
  • Review extension permissions and least-privilege database process identities.
  • Use vendor release evidence to verify remediation rather than replaying an exploit.

Award and evidence

USD 30,000Competition Award · Organizer Confirmed
How the award was verified, and what the record does not establish

One entry award, excluding the team’s other database entries. The results use $; USD denomination is contextualized by the organizer’s current rules, which concern 2026 rather than an archived 2025 rules snapshot. No conversion or cash-settlement claim is made.

  • The event demonstration is distinct from the February 12, 2026 vendor advisory and May research article.
  • The source identifies Team Xint Code; no allocation to named individual recipients is established.
  • The article shows May 4 without a year; 2026 is inferred from its explicitly dated remediation timeline.
  • Exact award decision and funds-transfer dates are not reported; December 16 is the dated organizer announcement.
  • Current rules establish program US-dollar notation but are not an archived snapshot of the 2025 rules.

Timeline

Published
2026-05-04inferred · Displayed May 4; year inferred from the completed 2026 remediation timeline.
Public Disclosure
2025-12-10explicit · Public competition demonstration. Subsequent CVE/advisory publication and full technical article are separate events.
Fixed
2026-02-12explicit · Vendor patch release, not proof of deployment by every customer.
Award Announced
2025-12-16explicit · Dated organizer recap announces the exact entry award; decision and transfer dates remain unknown.

Related cases

All 10 cases in Memory safety and parser contracts

Sources

  1. CVE-2026-2005: PostgreSQL pgcrypto heap buffer overflow leading to RCETeam Xint Code / ZeroDay.cloud · reviewed 2026-10-02
  2. ZeroDay.cloud 2025 individual competition resultsNir Ohfeld / Wiz Research · reviewed 2026-10-02
  3. ZeroDay.cloud vulnerability trackerWiz / ZeroDay.cloud · reviewed 2026-10-02
  4. ZeroDay.cloud current rules: US-dollar denominationWiz · reviewed 2026-10-02
  5. PostgreSQL CVE-2026-2005 security advisoryPostgreSQL · reviewed 2026-10-02
  6. CVE-2026-2005 CNA recordPostgreSQL CNA / CVE Program · reviewed 2026-10-02

Record reviewed 2026-10-02. Snapshot af2809c308fc. Open the complete JSON contract.

Library synced 2026-11-18 · cases last reviewed 2026-10-05

af2809c308fc · JSON exports & schemas · CC BY 4.0 content / MIT software