high

CVE

CVE-2026-120057, CVE-2026-120058, CVE-2026-120059, CVE-2026-120060, CVE-2026-120061, CVE-2026-120062, CVE-2026-120063, CVE-2026-120064, CVE-2026-120065, CVE-2026-120066, CVE-2026-120067, CVE-2026-120830, CVE-2026-120831, CVE-2026-120752, CVE-2026-120833, CVE-2026-120988

CWE

CWE-120, CWE-121, CWE-122, CWE-125, CWE-134, CWE-89, CWE-59, CWE-502, CWE-79

Affected Surface

  • C / PostgreSQL ODBC driver `psqlODBC` (`postgresql-interfaces/psqlodbc`) versions `< 18.00.0006` (`CVE-2026-120057` through `CVE-2026-120067` / `GHSA-qhmr-5339-q33r`, `GHSA-6rmx-9q62-4w6m`, `GHSA-44rq-72jh-x2h8`, `GHSA-4mfx-cfxx-c877`, `GHSA-hfm6-qfx8-v4xq`, `GHSA-gg8f-fx3w-rj33`, `GHSA-285r-84w3-xcxv`, `GHSA-7pq2-q7mj-ph8c`, `GHSA-9cg8-r57h-h6jj`, `GHSA-wj7r-6pj3-62g8`, and `GHSA-3r96-h2q4-6pxh`, fixed in `18.00.0006`)
  • C / Virtualization & container user-mode networking `libslirp` (`slirp/libslirp`, used by QEMU, Podman, User-Mode Linux, and VirtualBox) prior to commits `21b33a6c55` and `bad35bd3b5` (`CVE-2026-120830`, CVSS 7.4 High; and `CVE-2026-120831`, CVSS 6.5 Medium)
  • PyPI `PyMuPDF` (`pymupdf`) versions `>= 1.25.3, < 2.0.0` (`CVE-2026-120752`, CVSS 7.5 High, fixed in commit `d4298ead84` / `2.0.0`)
  • PyPI `labbench` (`usnistgov/labbench`) versions `< 0.46.1` (`CVE-2026-120833`, CVSS 7.8 High, fixed in `0.46.1`)
  • npm `billboard.js` (`naver/billboard.js`) versions `< 4.1.3` (`CVE-2026-120988` / `GHSA-g5px-mcqp-3ghp`, fixed in `4.1.3`)

TL;DR

Between 19:18 UTC on 2 November and 08:17 UTC on 3 November 2026, NVD and GitHub published 16 vulnerabilities across five widely used open-source libraries:

  1. PostgreSQL psqlODBC < 18.00.0006 (11 CVEs: CVE-2026-120057 through CVE-2026-120067, five rated CVSS 7.5 High): A comprehensive security review of PostgreSQL’s official C ODBC driver uncovered 11 memory-corruption, format-string, SQL-injection, and symlink-following flaws across both server-facing and application-facing boundaries. On the server/network side (or from an unprivileged database user able to create a view or table), CC_send_function() copied loread large-object replies into the caller’s buffer using the server-supplied length without checking the buffer size (CVE-2026-120057); QR_from_PGresult() reused a cursor’s tuple cache when a subsequent FETCH returned more columns than the first fetch (CVE-2026-120058); updatable cursors placed a server-supplied auto-increment column name directly into a printf format string (CVE-2026-120059) and unescaped double-quoted SQL statements (CVE-2026-120065), and copied hidden ctid/oid columns into a 32-byte stack buffer (tidoidbuf) that even a plain SQL view defining SELECT repeat('x', 200) AS ctid could overflow (CVE-2026-120067). On the application side, processParameters() wrote {fn ...} ODBC escape argument offsets into an uninitialized 16-entry stack array without bounds checking (CVE-2026-120061), PGAPI_SpecialColumns() spliced raw table and schema names into catalog SQL (CVE-2026-120062), identifierEscape() overflowed 128-byte stack buffers by up to 2 bytes (CVE-2026-120063), and SQLBindCol / SQLColAttribute / SQLSetPos lacked index bounds checks (CVE-2026-120064). Fixed in psqlODBC 18.00.0006.
  2. libslirp icmp_forward_error() heap out-of-bounds read (CVE-2026-120830, CVSS 7.4 High) and if_output() session queue corruption (CVE-2026-120831, CVSS 6.5 Medium): In libslirp (the user-mode TCP/IP stack used by QEMU, Podman slirp4netns, and rootless container runtimes), icmp_forward_error() in src/ip_icmp.c sized the quoted original IPv4 packet in an ICMP error reply from the packet’s IP header ip_len field (s_ip_len = msrc->m_len was not enforced) rather than the actual mbuf length msrc->m_len. A guest VM or container sending a truncated IPv4 packet whose ip_len header claimed a larger length caused libslirp to copy up to ICMP_MAXDATALEN bytes of adjacent host heap memory after msrc->m_data into the ICMP reply returned to the guest. Separately, if_output() in src/if.c unlinked ifm->m_nextpkt instead of the session queue head when demoting a session from if_fastq to if_batchq, corrupting the circular doubly linked packet list.
  3. PyMuPDF 1.25.3 through < 2.0.0 stack buffer overflow (CVE-2026-120752, CVSS 7.5 High) and NIST labbench < 0.46.1 automatic pickle execution (CVE-2026-120833, CVSS 7.8 High): In PyMuPDF (src/extra.i), JM_set_annot_callout_line() declared fz_point points[3] on the stack and looped for (int i = 0; i < count; i++) without checking that count <= 3, allowing a caller passing a 4+ element callout sequence to Page.add_freetext_annot() to overflow the stack. In NIST’s labbench (< 0.46.1), labbench.read() and read_relational() automatically dispatched any path ending in .p or .pickle to pandas.read_pickle(); 0.46.1 refuses to unpickle unless LABBENCH_AUTOLOAD_PICKLE=1 is set.
  4. NAVER billboard.js < 4.1.3 split-tag XSS bypass in HTML legend templates (CVE-2026-120988 / GHSA-g5px-mcqp-3ghp): The sanitizer added for CVE-2026-1513 (src/module/sanitize.ts) only matched closed <...> tags (/<\/?[^>]*>|[^<>\s]+>/g) and ran on each series item individually before concatenating them with html += content and writing wrapper.html(html). Splitting an HTML tag across two series names (such as ["<img src=x onerror=...", 100] and [" >", 200]) bypassed per-item sanitization and assembled a live <img onerror=...> element in the DOM. Fixed in billboard.js 4.1.3.

What to do now: Upgrade psqlODBC to >= 18.00.0006, apply vendor/distro updates for libslirp containing commits 21b33a6c55 and bad35bd3b5, upgrade PyMuPDF to >= 2.0.0 (or validate len(callout) in (2, 3) before calling add_freetext_annot), upgrade labbench to >= 0.46.1, and upgrade billboard.js to >= 4.1.3.

Affected packages and projects

EcosystemPackage / ProjectCVE / GHSASeverityAffected versionsFixed versionVulnerable location
C / PostgreSQLpsqlODBC (postgresql-interfaces/psqlodbc)CVE-2026-120057..120067 (11 CVEs)CVSS 7.5 High (5), 7.1 High (1), 6.8..5.3 Medium (5)< 18.00.0006 (120062 affects 17.00.0006..18.00.0005)18.00.0006connection.c, qresult.c, parse.c, convert.c, info.c, bind.c, results.c, mylog.c
C / Virtualizationlibslirp (slirp/libslirp)CVE-2026-120830, CVE-2026-120831CVSS 7.4 High / 6.5 MediumPrior to commits 21b33a6c55 and bad35bd3b5Commits 21b33a6c55 and bad35bd3b5icmp_forward_error() in src/ip_icmp.c and if_output() in src/if.c
PyPIPyMuPDF (pymupdf)CVE-2026-120752CVSS 7.5 High>= 1.25.3, < 2.0.02.0.0 (commit d4298ead84)JM_set_annot_callout_line(), set_pixel(), and ll_JM_color_count() in src/extra.i
PyPIlabbench (usnistgov/labbench)CVE-2026-120833CVSS 7.8 High< 0.46.10.46.1read() and read_relational() in src/labbench/_data.py
npmbillboard.jsCVE-2026-120988 (GHSA-g5px-mcqp-3ghp)Medium / High< 4.1.34.1.3sanitize() in src/module/sanitize.ts, src/ChartInternal/internals/legend.ts, and src/config/resolver/canvas.ts

Technical analysis

1. psqlODBC 18.00.0006 (CVE-2026-120057 through CVE-2026-120067): 11 memory-corruption, format-string, and SQL-injection bugs

Commit 79f4631db2 and commit 99467f09bb in psqlODBC 18.00.0006 fix 11 distinct CVEs across the driver:

CVEGHSACVSSVulnerable functionTechnical root cause
CVE-2026-120057GHSA-qhmr-5339-q33r7.5 HighCC_send_function() (connection.c), odbc_lo_read() (lobj.c)Fast-path loread copied *actual_result_len bytes from the server reply directly into result_buf (memcpy(result_buf, value, *actual_result_len)) without passing or clamping to result_buf_len.
CVE-2026-120058GHSA-6rmx-9q62-4w6m7.5 HighQR_from_PGresult() (qresult.c)With UseDeclareFetch=1, the tuple cache is sized from the column count of the first FETCH, but later FETCH replies updated num_fields without checking that it matched, overrunning backend_tuples (or underflowing unsigned num_fields -= num_key_fields).
CVE-2026-120059GHSA-44rq-72jh-x2h86.8 Mediumparse_statement() (parse.c)For updatable cursors on tables without OIDs, the driver placed an auto-increment int4 column’s name into ti->bestqual (SPRINTF_FIXED(query, "\"%s\" = %%d", SAFE_NAME(ti->bestitem))) and later passed bestqual as the format string to appendPQExpBuffer(&buf, bestqual, oid) without doubling % directives in the column name.
CVE-2026-120060GHSA-4mfx-cfxx-c8775.9 MediumPGAPI_BulkOperations(), PGAPI_Statistics(), convert_from_pgbinary()Trusted server-supplied cached_rows in an unsigned size subtraction (size_of_rowset - cached_rows), trusted fields_vector[0] (colcnt) above INDEX_KEYS_STORAGE_COUNT, and read 3 bytes after \ on truncated octal bytea escapes.
CVE-2026-120061GHSA-hfm6-qfx8-v4xq7.5 HighprocessParameters() & COPY_INTO_BUF (convert.c)Wrote {fn ...} escape argument offsets into a 16-entry SQLLEN param_pos[16][2] stack array with no upper bound and without initializing unused slots to -1, and COPY_INTO_BUF wrote 1 byte past a 128-byte stack buffer on {d}, {t}, {ts}, or {escape} bodies.
CVE-2026-120062GHSA-gg8f-fx3w-rj337.5 HighPGAPI_SpecialColumns() -> findPrimaryOrUnique() (info.c)Spliced raw szTableName and szSchemaName into c.relname='%s' and n.nspname='%s' catalog queries instead of passing the already escaped escTableName and escSchemaName (17.00.0006..18.00.0005).
CVE-2026-120063GHSA-285r-84w3-xcxv5.9 MediumidentifierEscape() (info.c)Loop condition outlen < bufsize - 1 did not reserve space for a doubled quote plus the closing " and NUL terminator, writing up to 2 bytes (" and \0) past a 128-byte stack buffer.
CVE-2026-120064GHSA-7pq2-q7mj-ph8c7.5 HighPGAPI_BindCol(), reset_a_column_binding(), PGAPI_ColAttributes(), PGAPI_SetPos()icol > SHRT_MAX wrapped SQLSMALLINT binding counts negative; negative SQL_DESC_COUNT indexed before bindings[]; Int2 col_idx wrapped negative on large icol; and SQL_ADD in SQLSetPos did not check s.irow <= rowsetSize.
CVE-2026-120065GHSA-9cg8-r57h-h6jj7.1 Highparse_statement() (parse.c)Stored the server-reported auto-increment int4 column name in ti->bestitem without doubling embedded " characters, allowing a table author to inject SQL into positioned SELECT, UPDATE, and DELETE queries.
CVE-2026-120066GHSA-wj7r-6pj3-62g85.3 Mediumlogs_on_off() (mylog.c)Opened debug/comm logs under /tmp with default permissions and without O_NOFOLLOW or ownership checks.
CVE-2026-120067GHSA-3r96-h2q4-6pxh5.9 MediumQR_read_tuples_from_pgres() (qresult.c)Updatable cursors (enabled by default) append hidden ctid and oid columns and copy each value into a 32-byte stack buffer (char tidoidbuf[32]) using the server-sent PQgetlength without a bounds check. Even without a hostile server, any database user who creates a view with its own column named ctid returning >= 32 bytes overflows tidoidbuf when an application queries the view with an updatable cursor.

Here is the keyset stack-overflow fix in qresult.c (CVE-2026-120067, commit 99467f09bb) and the SQLSpecialColumns SQL-injection fix in info.c (CVE-2026-120062, commit 79f4631db2):

--- a/qresult.c
+++ b/qresult.c
@@ -1404,7 +1404,15 @@ QR_read_tuples_from_pgres(QResultClass *self, PGresult **pgres)
 				len = PQgetlength(*pgres, rowno, field_lf);
 				value = PQgetvalue(*pgres, rowno, field_lf);
 				if (field_lf >= effective_cols)
+				{
+					if (len < 0 || len >= (int) sizeof(tidoidbuf))
+					{
+						QR_set_rstatus(self, PORES_FATAL_ERROR);
+						QR_set_message(self, "Oversized keyset (ctid/oid) field from server");
+						return FALSE;
+					}
 					buffer = tidoidbuf;
+				}
--- a/info.c
+++ b/info.c
@@ -2923,7 +2944,7 @@
-findPrimaryOrUnique(ConnectionClass *conn, StatementClass * stmt, const SQLCHAR * szTableName, const SQLCHAR *szTableQualifier, const SQLCHAR * szSchemaName, bool primaryOrUnique) {
+findPrimaryOrUnique(ConnectionClass *conn, StatementClass * stmt, const char *escTableName, const char *escSchemaName, bool primaryOrUnique) {
...
-	appendPQExpBuffer(&columns_query, "WHERE i.indisprimary and a.attnum > 0 and c.relname='%s'" , szTableName );
+	appendPQExpBuffer(&columns_query, "WHERE i.indisprimary and a.attnum > 0 and c.relname='%s'" , escTableName ? escTableName : "" );

2. libslirp (CVE-2026-120830 and CVE-2026-120831): guest-to-host heap overread in icmp_forward_error() and queue corruption in if_output()

When libslirp generates an ICMP error packet (such as Time Exceeded or Destination Unreachable) in response to an IPv4 packet msrc from a guest VM or container, icmp_forward_error() in src/ip_icmp.c quotes the original IPv4 header plus the first 8 bytes of payload. Before commit 21b33a6c55 (CVE-2026-120830), s_ip_len was computed from the IPv4 header’s ip_len field and clamped only to ICMP_MAXDATALEN, never to the actual number of bytes received in msrc->m_len:

--- a/src/ip_icmp.c
+++ b/src/ip_icmp.c
@@ -557,6 +557,9 @@ void icmp_forward_error(struct mbuf *msrc, uint8_t type, uint8_t code, int minsi
     else if (s_ip_len > ICMP_MAXDATALEN) /* maximum size */
         s_ip_len = ICMP_MAXDATALEN;
 
+    if (s_ip_len > msrc->m_len)
+        s_ip_len = msrc->m_len;
+
     m->m_len = ICMP_MINLEN + s_ip_len; /* 8 bytes ICMP header */

If a guest sent a short IPv4 packet whose ip_len header field was inflated up to ICMP_MAXDATALEN and triggered an ICMP error (for example with ip_ttl = 1), icmp_forward_error() copied s_ip_len - msrc->m_len bytes past the end of msrc->m_data on the host heap and sent them back to the guest inside the ICMP error payload.

Separately, in src/if.c (CVE-2026-120831, commit bad35bd3b5), when a socket on the fast queue (if_fastq) accumulated >= 6 queued packets, if_output() tried to move that session’s packet chain to the batch queue (if_batchq) by calling slirp_remque(ifm->m_nextpkt) and slirp_insque(ifm->m_nextpkt, &slirp->if_batchq) instead of walking m_prevpkt back to the session queue head head, corrupting the queue pointers and crashing the host networking process.

3. PyMuPDF 2.0 (CVE-2026-120752), NIST labbench 0.46.1 (CVE-2026-120833), and billboard.js 4.1.3 (CVE-2026-120988)

  • PyMuPDF (CVE-2026-120752): In src/extra.i, JM_set_annot_callout_line() copied count = (int) PySequence_Size(callout) points into a fixed 3-element stack array fz_point points[3] with no upper bound. Commit d4298ead84 throws std::runtime_error(MSG_BAD_ARG_POINTS) when count > sizeof(points)/sizeof(points[0]) and also replaces an assert(n <= sizeof(oldpix)) in ll_JM_color_count() and an unchecked unsigned char c[5] in set_pixel() with runtime std::range_error guards.
  • NIST labbench (CVE-2026-120833): In src/labbench/_data.py, read() and read_relational() inferred the file format from the path suffix and called pd.read_pickle() on any .p or .pickle file. Commit ac9b9b18cb (0.46.1) wraps pd.read_pickle() in a gate that raises RuntimeError unless LABBENCH_AUTOLOAD_PICKLE is explicitly enabled.
  • billboard.js (CVE-2026-120988 / GHSA-g5px-mcqp-3ghp): In src/ChartInternal/internals/legend.ts and src/config/resolver/canvas.ts, custom HTML legend templates called sanitize() on each series item and then concatenated them (html += content) before passing html to wrapper.html(html). Because sanitize() only matched complete <...> tags, an unterminated <img src=x onerror=... in the first series ID survived sanitize() and was closed by > in the second series ID. Commit 0e9431eb1a (4.1.3) escapes trailing unterminated <[^>]*$ sequences in sanitize() and runs sanitize(html) a second time on the concatenated legend string.

Detection and remediation

# 1. Check installed psqlODBC driver version on Linux/macOS
odbcinst -q -d
dpkg -l | rg "odbc-postgresql|psqlodbc" 2>/dev/null
rpm -qa | rg "postgresql-odbc|psqlodbc" 2>/dev/null

# 2. Check libslirp, PyMuPDF, labbench, and billboard.js versions
dpkg -l | rg "libslirp" 2>/dev/null
pip show PyMuPDF labbench 2>/dev/null
rg -n '"billboard\.js"' package.json package-lock.json pnpm-lock.yaml yarn.lock 2>/dev/null

If your application uses psqlODBC and cannot immediately upgrade to 18.00.0006, set UpdatableCursors=0 and UseDeclareFetch=0 in your DSN or connection string, disable Debug and CommLog in production, and require sslmode=verify-full for all PostgreSQL connections.

Timeline

  • 16 October 2026 (02:15 to 03:00 UTC): NAVER merges commit 0e9431eb1a and releases billboard.js 4.1.3.
  • 2 November 2026 (15:04 to 18:01 UTC): PostgreSQL psqlODBC maintainers merge commits 99467f09bb and 79f4631db2 and release psqlODBC 18.00.0006.
  • 2 November 2026 (19:18 to 23:17 UTC): NVD publishes CVE-2026-120057 through CVE-2026-120067 for psqlODBC and CVE-2026-120752 for PyMuPDF.
  • 3 November 2026 (00:17 to 08:17 UTC): NVD publishes CVE-2026-120830 and CVE-2026-120831 for libslirp, CVE-2026-120833 for labbench, and CVE-2026-120988 (GHSA-g5px-mcqp-3ghp) for billboard.js.

From research to remediation

Check whether this pattern exists in your codebase

Turn this research into a remediation workflow. Scan dependencies and package manifests for similar supply-chain risk, then prioritize fixes with reachability context.

References