pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Harden some allocations against integer wraparound
3+ messages / 1 participants
[nested] [flat]

* pgsql: Harden some allocations against integer wraparound
@ 2026-11-09 14:21  Noah Misch <noah@leadboat.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Noah Misch @ 2026-11-09 14:21 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Harden some allocations against integer wraparound

This isn't closing any specific security bug, but attacks are perhaps
conceivable due to various forms of type confusion or data corruption.
Tighten that up a bit.  More is undoubtely possible.

Author: Álvaro Herrera <alvherre@kurilemu.de>
Security: CVE-2026-120139
Backpatch-through: 14

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4a95f56c04df0d22f15464d834f23bd730d10e59
Author: Álvaro Herrera <alvherre@kurilemu.de>

Modified Files
--------------
src/backend/access/common/detoast.c           |  9 +++++++
src/backend/access/common/toast_compression.c | 37 ++++++++++++++++++++++++---
src/backend/utils/adt/array_userfuncs.c       |  6 +++++
src/include/access/tableam.h                  |  6 +++++
src/include/varatt.h                          |  5 ++--
5 files changed, 57 insertions(+), 6 deletions(-)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: Harden some allocations against integer wraparound
@ 2026-11-09 14:21  Noah Misch <noah@leadboat.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Noah Misch @ 2026-11-09 14:21 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Harden some allocations against integer wraparound

This isn't closing any specific security bug, but attacks are perhaps
conceivable due to various forms of type confusion or data corruption.
Tighten that up a bit.  More is undoubtely possible.

Author: Álvaro Herrera <alvherre@kurilemu.de>
Security: CVE-2026-120139
Backpatch-through: 14

Branch
------
REL_19_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/839b1a04ecca525d08f0348035bb941420061162
Author: Álvaro Herrera <alvherre@kurilemu.de>

Modified Files
--------------
src/backend/access/common/detoast.c           |  9 +++++++
src/backend/access/common/toast_compression.c | 37 ++++++++++++++++++++++++---
src/backend/utils/adt/array_userfuncs.c       |  6 +++++
src/include/access/tableam.h                  |  6 +++++
src/include/varatt.h                          |  5 ++--
5 files changed, 57 insertions(+), 6 deletions(-)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: Harden some allocations against integer wraparound
@ 2026-11-09 14:22  Noah Misch <noah@leadboat.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Noah Misch @ 2026-11-09 14:22 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Harden some allocations against integer wraparound

This isn't closing any specific security bug, but attacks are perhaps
conceivable due to various forms of type confusion or data corruption.
Tighten that up a bit.  More is undoubtely possible.

Author: Álvaro Herrera <alvherre@kurilemu.de>
Security: CVE-2026-120139
Backpatch-through: 14

Branch
------
REL_18_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/f1b226dee1cbbc74b5df45185a5e94a547a38e4a
Author: Álvaro Herrera <alvherre@kurilemu.de>

Modified Files
--------------
src/backend/access/common/detoast.c           |  9 +++++++
src/backend/access/common/toast_compression.c | 37 ++++++++++++++++++++++++---
src/backend/utils/adt/array_userfuncs.c       |  6 +++++
src/include/access/tableam.h                  |  6 +++++
src/include/varatt.h                          |  5 ++--
5 files changed, 57 insertions(+), 6 deletions(-)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2026-11-09 14:22 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-11-09 14:21 pgsql: Harden some allocations against integer wraparound Noah Misch <noah@leadboat.com>
2026-11-09 14:21 pgsql: Harden some allocations against integer wraparound Noah Misch <noah@leadboat.com>
2026-11-09 14:22 pgsql: Harden some allocations against integer wraparound Noah Misch <noah@leadboat.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox